finding out the processor frequency
Scott Wood
scottwood at freescale.com
Fri Sep 7 04:43:08 EST 2007
On Thu, Sep 06, 2007 at 02:24:30PM -0400, Leisner, Martin wrote:
> What exactly do we mean by "timebase"?
>
> There a symbol in arch/powerpc/time.c:ppc_proc_freq which looks like the
> processor frequency (derived from the dts). But its not exported.
>
> There's also ppc_tb_freq.
The timebase is the rate at which the timebase and decrementer registers
tick. It is not the same as the CPU core frequency.
-Scott
More information about the Linuxppc-embedded
mailing list