PopStatsMarkPowerRequestInactive
VOID __fastcall PopStatsMarkPowerRequestInactive(INT64 a1){
INT64 v2;
INT64 StopWatchByRequestType;
PopAcquireRwLockExclusive(&PowerReqestStatsLock);
v2 = *(_QWORD *)(a1 + 144);
if( v2 )
{
StopWatchByRequestType = PopGetStopWatchByRequestType(v2, 3i64);
if( StopWatchByRequestType )
PoPauseStopWatch(StopWatchByRequestType);
}
PopLogPowerRequestAction((INT8 *)"PowerRequest Clear", a1);
PopReleaseRwLock((UINT64)&PowerReqestStatsLock);
}Referenced by:
PopUpdatePowerRequestProcessWakeCounter