[lkml]   [2001]   [Sep]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: how to get cpu_khz?
> > calculated at boot time (that's where /proc/cpuinfo gets its data) and
> > that variable doesn't appear to be exported to the rest of the kernel,
> > either that or I'm just missing something, which I would rather be the
> > case at this point.
> >
> Ask Alan to export it by default. If no-go, export it in your
> configuration.

Processor speed from cpu_khz is not a constant, it varies per processor
on split multiplier SMP and it varies on certain kinds of power management.
For delays we have udelay(). That has a chance of supporting speed changes
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:03    [W:0.028 / U:1.284 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site