discussion forum
message
| Name: |
unknown |
| Date: |
March 21, 2004 at 02:59:37 |
| Subject: |
Re: Finding CPU frequency |
| In Reply To: |
Re: Finding CPU frequency by unknown on March 20, 2004 at 17:56:46 |
| Text: |
|| 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. | | Only if you sleep for n seconds. But if you do some chummy calculations, | possibly involving all registers and being not-too-well cachable, it will | wake up the dead, not to mention SpeedStep.While this should help in most cases, it's not guaranteed to prevent a really aggressive power management implementation from trying to change the processor frequency. |
post a followup message
(Be nice... or be blocked. Be technical... or be erased.)
currently posted followup messages
(You may have to press the RELOAD button of your browser.)
|