> -----Original Message----- > From: ext [email protected] > [mailto:[email protected]] > Sent: Tuesday, August 11, 2015 10:34 AM > To: [email protected] > Cc: [email protected]; [email protected]; Savolainen, Petri > (Nokia - FI/Espoo); [email protected]; Hongbo Zhang > Subject: [API-NEXT PATCH v4 03/10] linux-generic: sysinfo: move CPU HZ > API to cpu.h > > From: Hongbo Zhang <[email protected]> > > 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 <[email protected]> > --- > > /** > + * 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 [email protected] https://lists.linaro.org/mailman/listinfo/lng-odp
