[Bug 19960] NtQuerySystemInformation( SystemProcessorPerformanceInformation returns stale and incorrect values

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Apr 18 02:14:45 CDT 2011


http://bugs.winehq.org/show_bug.cgi?id=19960

ray at rh-software.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|FIXED                       |WORKSFORME

--- Comment #19 from ray at rh-software.com 2011-04-18 02:14:44 CDT ---
(In reply to comment #18)
> Closing bugs fixed in 1.3.18.

I have just looked at the changes made by the patch that fixes this and issues 
still exist for the #ifdef __APPLE__ code. I don't have an apple system, so I
can't test this, but I am 100% sure the current code is incorrect.

I think the following changes are needed to fix this:

1) RtlReAllocateHeap() to specify HEAP_ZERO_MEMORY
2) add the nice time to the user time
3) add the idle time to the kernel time
4) convert from ticks to 100ns units

I could create a patch, but as I can't compile or test it I feel this is
inappropiate.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list