[PATCH] Fix SystemProcessorPerformanceInformation to include DPC and Interrupt times

Ray Hinchliffe (RH) ray at rh-software.com
Mon Apr 18 05:59:33 CDT 2011


Dear Sirs,

 

When I started I indented to just add the DPC and Interrupt times, but when
I looked at the code I noticed some other bugs so I a slightly bigger
change. The summary of changes is.

 

1)     When possible report DPC and Interrupt times

2)    Fix _APPLE_ to return times in 100ns units and zero the unset members

3)    Change the failure code to return 100ns values

4)    Expunge unnecessary use of RtlAllocateHeap() etc..

 

The attached text-one.txt file shows the code working on Linux and test-two
shows the failure code working.

 

Regards,

Ray

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20110418/e1c8620b/attachment-0001.htm>


More information about the wine-patches mailing list