mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Store main thread id.
This commit is contained in:
parent
a41db80ff2
commit
2faa1abb21
@ -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() )
|
||||
|
@ -42,6 +42,7 @@ private:
|
||||
bool HandleServerQuery();
|
||||
|
||||
int64_t m_timeBegin;
|
||||
uint64_t m_mainThread;
|
||||
std::thread m_thread;
|
||||
std::atomic<bool> m_shutdown;
|
||||
std::atomic<uint64_t> m_id;
|
||||
|
Loading…
Reference in New Issue
Block a user