mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 22:44:34 +00:00
Display trace loading time.
This commit is contained in:
parent
77c9a8c407
commit
dabdf1360f
@ -312,6 +312,9 @@ View::View( FileRead& f, ImFont* fixedWidth, SetTitleCallback stcb )
|
|||||||
assert( s_instance == nullptr );
|
assert( s_instance == nullptr );
|
||||||
s_instance = this;
|
s_instance = this;
|
||||||
|
|
||||||
|
m_notificationTime = 4;
|
||||||
|
m_notificationText = std::string( "Trace loaded in " ) + TimeToString( m_worker.GetLoadTime() );
|
||||||
|
|
||||||
InitTextEditor();
|
InitTextEditor();
|
||||||
SetViewToLastFrames();
|
SetViewToLastFrames();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user