PopDiagTraceCsDeepSleepWatchdog
VOID __stdcall PopDiagTraceCsDeepSleepWatchdog(
UINT64 ResiliencyPhaseNoActivatorsNoDeepSleepMs,
UINT64 NonActivatedCpuTimeMs,
UINT64 DurationThisPeriodMs,
UINT8 OnAc,
UINT8 ActionsTaken,
UINT8 PowerSettingPending){
int v6;
UINT64 v7;
UINT64 UserDataCount;
int v9;
int v10;
struct _EVENT_DATA_DESCRIPTOR UserData;
int *v12;
int v13;
int v14;
int *v15;
int v16;
int v17;
int *v18;
int v19;
int v20;
UINT8 *p_ActionsTaken;
int v22;
int v23;
int *v24;
int v25;
int v26;
int v27;
int v28;
int v29;
v29 = DurationThisPeriodMs;
v28 = NonActivatedCpuTimeMs;
v27 = ResiliencyPhaseNoActivatorsNoDeepSleepMs;
v6 = OnAc;
if( PopDiagHandleRegistered )
{
v7 = PopDiagHandle;
if( EtwEventEnabled(
PopDiagHandle,
(EVENT_DESCRIPTOR *)&POP_ETW_EVENT_CS_DEEP_SLEEP_WATCHDOG,
(EVENT_DESCRIPTOR *)DurationThisPeriodMs) )
{
UserData.Reserved = 0;
v14 = 0;
v17 = 0;
v20 = 0;
v23 = 0;
v26 = 0;
UserData.Ptr = (unsigned __int64)&v27;
v12 = &v28;
v15 = &v29;
v18 = &v9;
p_ActionsTaken = &ActionsTaken;
v10 = PowerSettingPending;
v24 = &v10;
LODWORD(UserDataCount) = 6;
UserData.Size = 4;
v13 = 4;
v16 = 4;
v19 = 4;
v22 = 4;
v25 = 4;
v9 = v6;
EtwWriteEx(
v7,
(EVENT_DESCRIPTOR *)&POP_ETW_EVENT_CS_DEEP_SLEEP_WATCHDOG,
0i64,
0i64,
0i64,
0i64,
UserDataCount,
&UserData);
}
}
}Referenced by:
PopDeepSleepWatchdogTakeAction