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

Method RegisterDevice

PresentData/GpuTrace.cpp:88–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86}
87
88void GpuTrace::RegisterDevice(uint64_t hDevice, uint64_t pDxgAdapter)
89{
90 // Sometimes there are duplicate start events
91 DebugAssert(mDevices.find(hDevice) == mDevices.end() || mDevices.find(hDevice)->second == pDxgAdapter);
92
93 mDevices.emplace(hDevice, pDxgAdapter);
94}
95
96void GpuTrace::UnregisterDevice(uint64_t hDevice)
97{

Callers 1

HandleDXGKEventMethod · 0.80

Calls 1

endMethod · 0.45

Tested by

no test coverage detected