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

Method Reset

IntelPresentMon/PresentMonAPIWrapper/Session.cpp:50–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48 }
49
50 void Session::Reset() noexcept
51 {
52 pIntrospectionRootCache_.reset();
53 if (!Empty()) {
54 // TODO: report error here noexcept
55 pmCloseSession(handle_);
56 }
57 Clear_();
58 }
59
60 bool Session::Empty() const
61 {

Callers 11

TEST_METHODFunction · 0.45
TEST_METHODFunction · 0.45
UpdateTrackingMethod · 0.45
StopTraceSessionMethod · 0.45
UpdateTrackingMethod · 0.45
StopEtwSessionMethod · 0.45

Calls 1

pmCloseSessionFunction · 0.50

Tested by 2

TEST_METHODFunction · 0.36
TEST_METHODFunction · 0.36