[GD-Windows] Get exact CPU frequency
Brought to you by:
vexxed72
From: Grisha S. <_g...@tu...> - 2002-07-15 19:02:37
|
How can I get exact CPU frequency? I need it for timer which uses RDTSC instruction. Currently I read '~MHz' value from HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\0, but it not exact - after 2 min running difference between my timer and GetTickCount is 15 ms. |