diff --git a/dlls/ntdll/nt.c b/dlls/ntdll/nt.c index bc01a4f3d5e..5cc487777e5 100644 --- a/dlls/ntdll/nt.c +++ b/dlls/ntdll/nt.c @@ -1136,6 +1136,10 @@ void fill_cpu_info(void) ret = sysctlbyname("hw.ncpu", &num, &len, NULL, 0); if (!ret) NtCurrentTeb()->Peb->NumberOfProcessors = num; + + len = sizeof(num); + if (!sysctlbyname("dev.cpu.0.freq", &num, &len, NULL, 0)) + cpuHz = num * 1000 * 1000; } #elif defined(__sun) {