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

Method Consume

IntelPresentMon/PresentMonAPIWrapper/FrameQuery.cpp:38–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36 }
37
38 void FrameQuery::Consume(const ProcessTracker& tracker, uint8_t* pBlobs, uint32_t& numBlobsInOut)
39 {
40 if (auto sta = pmConsumeFrames(hQuery_, tracker.GetPid(), pBlobs, &numBlobsInOut);
41 sta != PM_STATUS_SUCCESS) {
42 throw ApiErrorException{ sta, "consume frame call failed" };
43 }
44 }
45
46 void FrameQuery::Consume(const ProcessTracker& tracker, BlobContainer& blobs)
47 {

Callers 4

TEST_METHODFunction · 0.45
RunTestCaseV2Function · 0.45
TEST_METHODFunction · 0.45
GenCsvFunction · 0.45

Calls 5

ConsumeFunction · 0.85
CheckHandleMethod · 0.80
GetFirstMethod · 0.80
pmConsumeFramesFunction · 0.50
GetPidMethod · 0.45

Tested by 3

TEST_METHODFunction · 0.36
RunTestCaseV2Function · 0.36
TEST_METHODFunction · 0.36