PopQpcTimeInMs
UINT64 __stdcall PopQpcTimeInMs(_LARGE_INTEGER *StartTime, _LARGE_INTEGER *EndTime){
LONGLONG QuadPart;
unsigned int v3;
unsigned __int64 v4;
ULONGLONG pullResult;
QuadPart = EndTime->QuadPart;
v3 = 0;
pullResult = 0i64;
if( QuadPart )
{
if( RtlULongLongMult(QuadPart - StartTime->QuadPart, 0x3E8ui64, &pullResult) < 0 )
return(unsigned int)(v4 / (PopQpcFrequency / 0x3E8));
else
return(unsigned int)(pullResult / PopQpcFrequency);
}
return v3;
}Referenced by:
PopDiagTraceHiberStats
PopDiagTracePerfTrackData
PopPowerTransitionTimesInMs
PopTransitionSystemPowerStateEx
PopWriteBsdPoInfo