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

Function StartOutputThread

PresentMon/OutputThread.cpp:649–654  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

647
648
649void StartOutputThread(PMTraceSession const& pmSession)
650{
651 InitializeCriticalSection(&gRecordingToggleCS);
652 gQuit = false;
653 gThread = std::thread(Output, &pmSession); // Doesn't work to pass a reference, it makes a copy
654}
655
656void StopOutputThread()
657{

Callers 3

wmainFunction · 0.85
StartTraceSessionMethod · 0.85
StartEtwSessionMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected