1
0
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:
Bartosz Taudul
2018-06-19 01:17:19 +02:00
parent 7a23f677dd
commit 4a01eb7fc4
4 changed files with 144 additions and 0 deletions
+5
View File
@@ -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 );
}