[lkml]   [1997]   [Nov]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: CPU Speed
> 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;

It seems pretty accurate (on a quiescent box).


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