PoTraceSystemTimerResolutionKernel
VOID __stdcall PoTraceSystemTimerResolutionKernel(UINT64 DesiredTime, UINT64 Tag){
char v2;
const _EVENT_DESCRIPTOR *v3;
REGHANDLE v4;
_EVENT_DATA_DESCRIPTOR UserData;
int *v6;
int v7;
int v8;
int v9;
int v10;
v10 = Tag;
v9 = DesiredTime;
v3 = (const _EVENT_DESCRIPTOR *)POP_ETW_EVENT_KERNEL_STRS_INTERNAL;
if( !v2 )
v3 = &POP_ETW_EVENT_KERNEL_STRS;
if( PopDiagHandleRegistered )
{
v4 = PopDiagHandle;
if( EtwEventEnabled(PopDiagHandle, v3) )
{
UserData.Reserved = 0;
v8 = 0;
UserData.Ptr = (unsigned __int64)&v9;
UserData.Size = 4;
v6 = &v10;
v7 = 4;
EtwWriteEx(v4, v3, 0i64, 0, 0, 0, 2u, &UserData);
}
}
}Referenced by:
ExSetTimerResolution
KiCheckForTimerExpiration
KiSetClockInterval
KiSetVirtualHeteroClockIntervalRequest