> -----Original Message----- > From: ext hongbo.zh...@freescale.com > [mailto:hongbo.zh...@freescale.com] > Sent: Tuesday, August 11, 2015 10:34 AM > To: lng-odp@lists.linaro.org > Cc: mike.hol...@linaro.org; stuart.has...@arm.com; Savolainen, Petri > (Nokia - FI/Espoo); petri.savolai...@linaro.org; Hongbo Zhang > Subject: [API-NEXT PATCH v4 03/10] linux-generic: sysinfo: move CPU HZ > API to cpu.h > > From: Hongbo Zhang <hongbo.zh...@linaro.org> > > This patch moves odp_sys_cpu_hz() to cpu.h and accordingly rename > it to odp_cpu_hz(). All the calling functions are also updated. > > New CPU HZ APIs for AMP system will be added into this cpu.h too. > > Signed-off-by: Hongbo Zhang <hongbo.zh...@linaro.org> > --- > > /** > + * CPU frequency in Hz > + * > + * @return CPU frequency in Hz > + */ > +uint64_t odp_cpu_hz(void); > + > +/** > * @} > */
I'd change the documentation already in this patch to mention that it's "the current frequency of this CPU" -Petri _______________________________________________ lng-odp mailing list lng-odp@lists.linaro.org https://lists.linaro.org/mailman/listinfo/lng-odp