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

Function StopNamedTraceSession

PresentData/PresentMonTraceSession.cpp:631–637  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

629}
630
631ULONG StopNamedTraceSession(wchar_t const* sessionName)
632{
633 TraceProperties sessionProps = {};
634 sessionProps.Wnode.BufferSize = (ULONG) sizeof(TraceProperties);
635 sessionProps.LoggerNameOffset = offsetof(TraceProperties, mSessionName);
636 return ControlTraceW((TRACEHANDLE) 0, sessionName, &sessionProps, EVENT_TRACE_CONTROL_STOP);
637}
638
639double PMTraceSession::TimestampDeltaToMilliSeconds(uint64_t timestampDelta) const
640{

Callers 3

wmainFunction · 0.85
StartTraceSessionMethod · 0.85
StartEtwSessionMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected