| 86 | } |
| 87 | |
| 88 | void 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 | |
| 96 | void GpuTrace::UnregisterDevice(uint64_t hDevice) |
| 97 | { |