The windows implementation of iware::cpu::frequency does basically QueryPerformanceFrequency() * 1000 -- which returns completely bogus values.
On my machine, QueryPerformanceFrequency returns e.g. 10 MHz, so this reports 10 GHz...
Finding accurate values may be hard, but would it be preferable to return a guesstimate from HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\0\~MHz (e.g. 3696 on my machine)?
The windows implementation of
iware::cpu::frequency
does basicallyQueryPerformanceFrequency() * 1000
-- which returns completely bogus values. On my machine,QueryPerformanceFrequency
returns e.g. 10 MHz, so this reports 10 GHz...Finding accurate values may be hard, but would it be preferable to return a guesstimate from
HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\0\~MHz
(e.g. 3696 on my machine)?