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

Function pmFreeFrameQuery

IntelPresentMon/PresentMonAPI2/PresentMonAPI.cpp:498–508  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

496}
497
498PRESENTMON_API2_EXPORT PM_STATUS pmFreeFrameQuery(PM_FRAME_QUERY_HANDLE handle)
499{
500 try {
501 pmlog_dbg("pmFreeFrameQuery").pmwatch(handle);
502 auto& mid = LookupMiddleware_(handle);
503 RemoveHandleMapping_(handle);
504 mid.FreeFrameEventQuery(handle);
505 return PM_STATUS_SUCCESS;
506 }
507 pmcatch_report_diag(true);
508}
509
510PRESENTMON_API2_EXPORT PM_STATUS pmGetApiVersion(PM_VERSION* pVersion)
511{

Callers 1

ResetMethod · 0.50

Calls 2

RemoveHandleMapping_Function · 0.85
FreeFrameEventQueryMethod · 0.80

Tested by

no test coverage detected