[PATCH] Fix SystemProcessorPerformanceInformation to include DPC and Interrupt times

Alexandre Julliard julliard at winehq.org
Tue Apr 19 07:28:42 CDT 2011


"Ray Hinchliffe (RH)" <ray at rh-software.com> writes:

> 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..

Separate changes should be separate patches.

> @@ -1241,8 +1241,9 @@ typedef struct _SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION {
>      LARGE_INTEGER IdleTime;
>      LARGE_INTEGER KernelTime;
>      LARGE_INTEGER UserTime;
> -    LARGE_INTEGER Reserved1[2];
> -    ULONG Reserved2;
> +    LARGE_INTEGER DpcTime;
> +    LARGE_INTEGER IntTime;
> +    ULONG IntCount;

You can't change the public definition.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list