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

Method Poll

IntelPresentMon/PresentMonAPIWrapper/DynamicQuery.cpp:37–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35 }
36
37 void DynamicQuery::Poll(const ProcessTracker& tracker, uint8_t* pBlob, uint32_t& numSwapChains) const
38 {
39 if (auto sta = pmPollDynamicQuery(hQuery_, tracker.GetPid(), pBlob, &numSwapChains);
40 sta != PM_STATUS_SUCCESS) {
41 throw ApiErrorException{ sta, "dynamic poll call failed" };
42 }
43 }
44
45 void DynamicQuery::PollWithTimestamp(const ProcessTracker& tracker, uint8_t* pBlob, uint32_t& numSwapChains, uint64_t nowTimestamp) const
46 {

Callers

nothing calls this directly

Calls 4

pmPollDynamicQueryFunction · 0.85
CheckHandleMethod · 0.80
GetFirstMethod · 0.80
GetPidMethod · 0.45

Tested by

no test coverage detected