discussion forum



message

Name: unknown
Date: March 20, 2004 at 15:54:56
Subject: Re: Finding CPU frequency
In Reply To: Re: Finding CPU frequency by
RJ on March 20, 2004 at 08:03:44
Text: | I found a way of finding the CPU clock frequency and its generic.
| I used the Windows DDK KeQueryPerformanceCounter api function for
| the reference time. KeQueryPerformanceCounter gives the time in seconds
| and using the RDTSC counter I was able to estimate the processor
| operating frequency.

So you wait n seconds and use the TSC to count clocks? If so, then keep
in mind that this method won't work if the processor in question has a
TSC which increments at the current core clock frequency, and that core
clock frequency changes during your measurement interval, e.g. because
of a SpeedStep-like power management.




post a followup message
(Be nice... or be blocked. Be technical... or be erased.)

Name: optional link title:
eMail: optional link URL:
Subject: optional image URL:
  Insert line breaks by hand when only about one inch remains at the right side. Otherwise your message will be unreadable.
Text:
 

  Note: The above eMail form fields may look unaligned if you are using a browser other than Netscape Navigator version 3.0.



currently posted followup messages
(You may have to press the RELOAD button of your browser.)




main page