1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Display time savings in the compare traces menu.

This commit is contained in:
Bartosz Taudul 2018-09-08 20:23:49 +02:00
parent b4c25e56c1
commit 4471329661

View File

@ -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