From a835e0f1210fede48af660d49d34d1587e925eaa Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sun, 24 Sep 2017 16:45:22 +0200 Subject: [PATCH] Display execution time minus profiling delay. --- server/TracyView.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 328aeee9..e84a2346 100755 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -1058,6 +1058,7 @@ int View::DrawZoneLevel( const Vector& vec, bool hover, double pxns, con ImGui::Text( "%s", func ); ImGui::Text( "%s:%i", GetString( srcFile.filename ), srcFile.line ); ImGui::Text( "Execution time: %s", TimeToString( end - ev.start ) ); + ImGui::Text( "Without profiling: %s", TimeToString( end - ev.start - m_delay ) ); ImGui::EndTooltip(); }