Click to See Complete Forum and Search --> : CPU speed


May 19th, 1999, 08:04 AM
hi,

Have everyone a c++ code to caculate the CPU speed ?

Thanks.

Ralf Herrmann
May 20th, 1999, 03:18 AM
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

May 20th, 1999, 03:57 AM
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.

Rauli Ikonen
May 23rd, 1999, 04:06 PM
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.