Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_METHOD
Function · 0.45
TEST_METHOD
Function · 0.45
UpdateTracking
Method · 0.45
StopTraceSession
Method · 0.45
HandleTerminatedProcess
Method · 0.45
StopProvidersAndResetConsumer
Method · 0.45
UpdateTracking
Method · 0.45
StopEtwSession
Method · 0.45
FlushFrameLatencyStatsWindow_
Method · 0.45
ResetFrameLatencyStats_
Method · 0.45
HandleTerminatedProcess
Method · 0.45
Calls
1
pmCloseSession
Function · 0.50
Tested by
2
TEST_METHOD
Function · 0.36
TEST_METHOD
Function · 0.36