Re: clock speed

Balaji Srinivasan (
Wed, 11 Jun 1997 09:30:13 -0600 (CDT)

--------Geert Uytterhoeven wrote----------
> On Wed, 11 Jun 1997 wrote:
> > Is there any way to, from user space, find out the system clock speed?
> > That is, reliably and without having to do a nanosleep and watch the
> > cycle counter.
> Parse /proc/cpuinfo. You can derive an estimation for the CPU clock speed
> based on CPU type, stepping and bogomips.
> On Linux/m68k, /proc/cpuinfo even gives you that estimation automatically.
> Greetings,
> Geert
with the utime patch you get that information directly from /proc/cpuinfo
utime patch is for the ondemand microsecond resolution timers....
its available at

Also, The updated utime patch for 2.1.x kernels should be available soon
(in a weeks time) Details about this would be posted later

Balaji Srinivasan
Voice: (913)-864-4776(W) email:
(913)-841-3555(H) WWW :