KiClockTimerOneShotReady
char __fastcall KiClockTimerOneShotReady(__int64 a1){
char v1;
v1 = 1;
if( KiClockTimerHighLatency )
{
if( KiClockTimerOneShotStartTime )
{
if( (unsigned __int64)(KiClockTimerOneShotEndTime - KiClockTimerOneShotStartTime) < 0x2710 )
++KiDynamicTickCancellations;
KiClockTimerOneShotStartTime = 0i64;
}
if( a1 - KiClockTimerOneShotEndTime < (unsigned __int64)KeMaximumIncrement )
{
if( (unsigned int)KiDynamicTickCancellations > 3 )
return 0;
}
else
{
KiDynamicTickCancellations = 0;
}
}
return v1;
}Referenced by:
KePrepareClockTimerForIdle