ntdll: Change NtQuerySystemInformation to return 100ns ticks for SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION info class (try 4)

Louis Lenders xerox_xerox2000 at yahoo.co.uk
Sun Dec 12 16:19:42 CST 2010


Change from try 3: improved macro as per Juan's suggestion, and made user_hz a static variable 

 /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/20101212/65cf797a/attachment.txt>


More information about the wine-patches mailing list