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

Method Session

IntelPresentMon/PresentMonAPIWrapper/Session.cpp:10–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8namespace pmapi
9{
10 Session::Session()
11 {
12 if (auto sta = pmOpenSession(&handle_); sta != PM_STATUS_SUCCESS) {
13 throw ApiErrorException{ sta, "error opening session" };
14 }
15 Initialize_();
16 }
17
18 Session::Session(EmptyTag) noexcept {}
19

Callers

nothing calls this directly

Calls 2

pmOpenSessionWithPipeFunction · 0.85
pmOpenSessionFunction · 0.50

Tested by

no test coverage detected