mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Store main thread id.
This commit is contained in:
@@ -42,6 +42,7 @@ static Profiler* s_instance = nullptr;
|
||||
|
||||
Profiler::Profiler()
|
||||
: m_timeBegin( GetTime() )
|
||||
, m_mainThread( GetThreadHandle() )
|
||||
, m_shutdown( false )
|
||||
, m_id( 0 )
|
||||
, m_stream( LZ4_createStream() )
|
||||
|
||||
Reference in New Issue
Block a user