[lkml]   [1999]   [Jan]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: using the pentium cycle counter on MP's
> is the cycle counter on any one processor guaranteed to be within a
> certain distance of the value on all the other processors, or does a
> restart leave them pretty much randomly staggered by a few
> microseconds or more ?

They appear to be locked on current intel hardware. There isnt a written
guarantee of that anywhere I can find.

> does linux do anything to prevent the use of the cycle counters from
> being used as extremely accurate real time clocks (i'm thinking of the
> idle stuff - does this in anyway stop the cycle counter from
> advancing ?)

Not on intel chips. There are some 'funnies' with idle time and other
processors which do even more serious power optimisation on idle. Finally
APM may change the clock or stop it

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

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