PopCaptureTimeOnProcZero
UINT64 __fastcall PopCaptureTimeOnProcZero(){
struct _KEVENT Event;
struct _KDPC Dpc;
UINT64 SystemArgument1;
SystemArgument1 = 0i64;
memset(&Event, 0, sizeof(Event));
memset((INT64)&Dpc, 0i64);
KeInitializeEvent(&Event, SynchronizationEvent, 0);
KeInitializeDpc(&Dpc, PopTimestampTargetProcessor, 0i64);
Dpc.Importance = 2;
if( !Dpc.DpcData )
Dpc.Number = 1280;
KeInsertQueueDpc(&Dpc, &SystemArgument1, &Event);
KeWaitForSingleObject(&Event, Executive, 0, 0, 0i64);
return SystemArgument1;
}Referenced by:
PopDiagComputeEarlyHiberStats
PopDiagTraceHiberStats
PopTransitionSystemPowerStateEx