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

Method GetDefaultGpuDeviceId

IntelPresentMon/Core/source/kernel/Kernel.cpp:105–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103 }
104
105 uint32_t Kernel::GetDefaultGpuDeviceId() const
106 {
107 HandleMarshalledException_();
108 std::lock_guard g{ mtx };
109 if (!pm) {
110 return 0;
111 }
112 return pm->GetDefaultGpuDeviceId();
113 }
114
115 std::vector<pmon::AdapterInfo> Kernel::EnumerateAdapters() const
116 {

Callers 1

Execute_Method · 0.45

Calls

no outgoing calls

Tested by 1

Execute_Method · 0.36