PoTraceSystemTimerResolutionKernel
VOID __stdcall PoTraceSystemTimerResolutionKernel(UINT64 DesiredTime, UINT64 Tag){
EVENT_DESCRIPTOR *v2;
EVENT_DESCRIPTOR *v3;
UINT64 v4;
UINT64 UserDataCount;
EVENT_DATA_DESCRIPTOR UserData;
int *v7;
int v8;
int v9;
int v10;
int v11;
v11 = Tag;
v10 = DesiredTime;
v3 = (EVENT_DESCRIPTOR *)POP_ETW_EVENT_KERNEL_STRS_INTERNAL;
if( !(_BYTE)v2 )
v3 = (EVENT_DESCRIPTOR *)&POP_ETW_EVENT_KERNEL_STRS;
if( PopDiagHandleRegistered )
{
v4 = PopDiagHandle;
if( EtwEventEnabled(PopDiagHandle, v3, v2) )
{
UserData.Reserved = 0;
v9 = 0;
UserData.Ptr = (unsigned __int64)&v10;
UserData.Size = 4;
v7 = &v11;
v8 = 4;
LODWORD(UserDataCount) = 2;
EtwWriteEx(v4, v3, 0i64, 0i64, 0i64, 0i64, UserDataCount, &UserData);
}
}
}Referenced by:
ExSetTimerResolution
KiCheckForTimerExpiration
KiSetClockInterval
KiSetVirtualHeteroClockIntervalRequest