ntdll: Change NtQuerySystemInformation to return 100ns ticks for SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION info class (try 2)
Louis Lenders
xerox_xerox2000 at yahoo.co.uk
Thu Dec 9 15:52:33 CST 2010
Cosmetic change from previous patch: i guess the name SEC_TO_TICKSPERSEC is rather misleading , i changed the name to USER_HZ_TO_TICKSPERSEC
/proc/stat measures the times
in units of USER_HZ, whereas Windows uses 100ns ticks.
This should fix http://bugs.winehq.org/show_bug.cgi?id=23847
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-ntdll-Change-NtQuerySystemInformation-to-return-100ns-.txt
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20101209/a06ce162/attachment.txt>
More information about the wine-patches
mailing list