On Mar 11, 2:01 am, Augustine <[email protected]> wrote: > On Mar 10, 11:13 am, Dave Hart <[email protected]> wrote: > > > > > Since my last > > release, the most significant change is to read the processor cycle > > counter using the RDTSC instruction directly when it is equivalent to > > QueryPerformanceCounter. > > Just keep in mind that Windows' power management will change the > frequency of a processor, thereby making the count returned by RDTSC > have a variable rate on some processors (namely Intel's Pentium4 and > AMD's Athlon and Opteron).
I suspect those systems' HALs don't use RDTSC for QueryPerformanceCounter, so RDTSC won't be used. Only if they're found to be beating at the same rate (possibly with an offset) does RDTSC get substituted. Cheers, Dave Hart _______________________________________________ questions mailing list [email protected] https://lists.ntp.org/mailman/listinfo/questions
