CPU detection work

Alexandre Julliard julliard at winehq.org
Wed Jul 9 12:39:08 CDT 2003


Mike Hearn <mike at theoretic.com> writes:

> ChangeLog:
> - Move performance frequency code to misc/cpu.c
> - New function, get_cpu_speed()
> - Make MHz registry key and QueryPerformanceFrequency use it

I was hoping you would merge the CPU speed detection with the rest of
the CPU info code, there's really no reason to parse /proc/cpuinfo
twice. Also the value that QueryPerformanceFrequency returns needs to
match the behavior of QueryPerformanceCounter, you can't simply divide
it by 1000.

-- 
Alexandre Julliard
julliard at winehq.com



More information about the wine-devel mailing list