MCPcopy Create free account
hub / github.com/GameTechDev/PresentMon / HandleWin7DxgkVSyncDPC

Method HandleWin7DxgkVSyncDPC

PresentData/PresentMonTraceConsumer.cpp:1491–1499  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1489}
1490
1491void PMTraceConsumer::HandleWin7DxgkVSyncDPC(EVENT_RECORD* pEventRecord)
1492{
1493 using namespace Microsoft_Windows_DxgKrnl::Win7;
1494
1495 auto pVSyncDPCEvent = reinterpret_cast<DXGKETW_SCHEDULER_VSYNC_DPC*>(pEventRecord->UserData);
1496
1497 // Windows 7 does not support MultiPlaneOverlay.
1498 HandleDxgkSyncDPC(pEventRecord->EventHeader.TimeStamp.QuadPart, (uint32_t)(pVSyncDPCEvent->FlipFenceId.QuadPart >> 32u));
1499}
1500
1501void PMTraceConsumer::HandleWin7DxgkMMIOFlip(EVENT_RECORD* pEventRecord)
1502{

Callers 1

EventRecordCallbackFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected