VOID __stdcall PoGetProcessorIdleAccounting(UINT64 *TotalTransitions){
_PROC_IDLE_ACCOUNTING *IdleAccounting;
IdleAccounting = KeGetCurrentPrcb()->PowerState.IdleAccounting;
if( TotalTransitions )
{
if( IdleAccounting )
*TotalTransitions = IdleAccounting->TotalTransitions;
else
*TotalTransitions = 0i64;
}
}