discussion forum
message
| Name: |
unknown |
| Date: |
March 20, 2004 at 17:56:46 |
| Subject: |
Re: Finding CPU frequency |
| In Reply To: |
Re: Finding CPU frequency by unknown on March 20, 2004 at 15:54:56 |
| 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. |
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.)
|