mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Windows callstack inspection plumbing.
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
#include "../common/TracySocket.hpp"
|
||||
#include "../common/TracySystem.hpp"
|
||||
#include "tracy_rpmalloc.hpp"
|
||||
#include "TracyCallstack.hpp"
|
||||
#include "TracyScoped.hpp"
|
||||
#include "TracyProfiler.hpp"
|
||||
#include "TracyThread.hpp"
|
||||
@@ -214,6 +215,10 @@ Profiler::Profiler()
|
||||
new(s_thread) Thread( LaunchWorker, this );
|
||||
SetThreadName( s_thread->Handle(), "Tracy Profiler" );
|
||||
|
||||
#ifdef TRACY_HAS_CALLSTACK
|
||||
InitCallstack();
|
||||
#endif
|
||||
|
||||
m_timeBegin.store( GetTime(), std::memory_order_relaxed );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user