PpmIdleStartCsVetoAccounting
VOID __stdcall PpmIdleStartCsVetoAccounting(){
unsigned __int8 v0;
__int64 v1;
__int64 v2;
unsigned __int64 i;
_PPM_VETO_ACCOUNTING *v4;
unsigned int j;
__int64 v6;
if( PpmPlatformStates && *(_DWORD *)(PpmPlatformStates + 4) )
{
v0 = KeAcquireSpinLockRaiseToDpc((UINT64 *)&stru_140C23628 + 122);
v1 = PpmPlatformStates;
v2 = 0i64;
for( i = v0; (unsigned int)v2 < *(_DWORD *)PpmPlatformStates; v2 = (unsigned int)(v2 + 1) )
{
v4 = (_PPM_VETO_ACCOUNTING *)(384 * v2 + v1 + 80);
for( j = 0; j < v4->PreallocatedVetoCount; v4->PreallocatedVetoList[v6].CsActiveTime = 0i64 )
v6 = j++;
PpmIdleCsVetoAccountingUpdateBlock(v4, 4u, 1u);
v1 = PpmPlatformStates;
}
KxReleaseSpinLock((UINT64 *)&stru_140C23628 + 122);
__writecr8(i);
}
}Referenced by:
PopCaptureSleepStudyStatistics