hi,
Have everyone a c++ code to caculate the CPU speed ?
Thanks.
Printable View
hi,
Have everyone a c++ code to caculate the CPU speed ?
Thanks.
There is no need to calculate it (at least with NT, Win95/98 I don't know). See Registry
HKEY_LOCAL_MACHINE / HARDWARE / DESCRIPTION / System / CentralProcessor / ~MHz.
Good Luck - Ralf
Thanks Ralf,
But with win 95 or win 98 , this information isn't in HKEY_LOCAL_MACHINE / HARDWARE / DESCRIPTION / System / CentralProcessor / ~MHz.
I want to caculate this.
You can find sample codes from the home pages of the processor manufacturers (www.intel.com, www.amd.com, ...), they are (mostly) in assembly though.