From dabdf1360ff745c0a8b3e8485f2edfeafec7ddff Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sun, 6 Jan 2019 19:20:17 +0100 Subject: [PATCH] Display trace loading time. --- server/TracyView.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index a5c2499e..03a8924b 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -312,6 +312,9 @@ View::View( FileRead& f, ImFont* fixedWidth, SetTitleCallback stcb ) assert( s_instance == nullptr ); s_instance = this; + m_notificationTime = 4; + m_notificationText = std::string( "Trace loaded in " ) + TimeToString( m_worker.GetLoadTime() ); + InitTextEditor(); SetViewToLastFrames(); }