From 447132966132068dd17681905e4715cb69789f22 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sat, 8 Sep 2018 20:23:49 +0200 Subject: [PATCH] Display time savings in the compare traces menu. --- server/TracyView.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 3a6f36b4..b9ed99d2 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -5759,6 +5759,7 @@ void View::DrawCompare() ImGui::SameLine(); #endif TextFocused( "Total time (ext.):", TimeToString( zoneData1.total * adj1 ) ); + TextFocused( "Savings:", TimeToString( zoneData1.total * adj1 - zoneData0.total * adj0 ) ); TextFocused( "Max counts:", cumulateTime ? TimeToString( maxVal ) : RealToString( floor( maxVal ), true ) ); #ifdef TRACY_EXTENDED_FONT