Display trace loading time.

This commit is contained in:
Bartosz Taudul 2019-01-06 19:20:17 +01:00
parent 77c9a8c407
commit dabdf1360f

View File

@ -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();
} }