From 58cf97ef5d2af83ee93164566c77267a8ac28b8e Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sat, 11 Apr 2020 22:14:56 +0200 Subject: [PATCH] Display wall time in addition to sample counts. --- server/TracySourceView.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/server/TracySourceView.cpp b/server/TracySourceView.cpp index d99b3e6c..1f8a2c79 100644 --- a/server/TracySourceView.cpp +++ b/server/TracySourceView.cpp @@ -495,6 +495,10 @@ void SourceView::RenderSymbolView( const Worker& worker ) } if( iptotalAsm > 0 ) { + ImGui::SameLine(); + ImGui::Spacing(); + ImGui::SameLine(); + TextFocused( ICON_FA_STOPWATCH " Time:", TimeToString( iptotalAsm * worker.GetSamplingPeriod() ) ); ImGui::SameLine(); ImGui::Spacing(); ImGui::SameLine();