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:
parent
b4c25e56c1
commit
4471329661
@ -5759,6 +5759,7 @@ void View::DrawCompare()
|
|||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
#endif
|
#endif
|
||||||
TextFocused( "Total time (ext.):", TimeToString( zoneData1.total * adj1 ) );
|
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 ) );
|
TextFocused( "Max counts:", cumulateTime ? TimeToString( maxVal ) : RealToString( floor( maxVal ), true ) );
|
||||||
|
|
||||||
#ifdef TRACY_EXTENDED_FONT
|
#ifdef TRACY_EXTENDED_FONT
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user