mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Store profiling start time.
This commit is contained in:
@@ -19,7 +19,8 @@ static inline int64_t GetTime()
|
||||
static Profiler* s_instance = nullptr;
|
||||
|
||||
Profiler::Profiler()
|
||||
: m_shutdown( false )
|
||||
: m_timeBegin( GetTime() )
|
||||
, m_shutdown( false )
|
||||
, m_id( 0 )
|
||||
{
|
||||
assert( PointerCheckA == PointerCheckB );
|
||||
|
||||
Reference in New Issue
Block a user