Re: CPU Speed

Mark Hemment (markhe@nextd.demon.co.uk)
Fri, 7 Nov 1997 20:03:11 +0000 (GMT)


> I am trying to get a value for the CPU speed (Hz) that is accurate to
> less than 0.1%.

For ideas, look at lmbench's mhz.c;
http://reality.sgi.com/employees/lm_engr/lmbench/lmbench.html

It seems pretty accurate (on a quiescent box).

markhe