Click to See Complete Forum and Search --> : Get MHz of processor


LeaGer
February 6th, 2003, 03:07 AM
hello,

can someone tell me how i get the MHz of the processor under Windows 98.
Does it give a function i can call?

Bengi
February 6th, 2003, 05:28 PM
you will probably need to make it in assembly and use fpu instructions for somehow more accurate
but insted u can also check where microsoft saves ur cpu mhz information somewhere inside the registry.

galathaea
February 6th, 2003, 05:58 PM
One place it is found is in the registry under
HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\0
in the ~MHz key (a DWORD).