From c3c48117d4f0b087eeb5f31ad87d1425364ded98 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sun, 2 Sep 2018 12:48:15 +0200 Subject: [PATCH] Display group average and median times. --- server/TracyView.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index d5d31d1a..d9a0c9a9 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -4869,10 +4869,20 @@ void View::DrawFindZone() if( m_findZone.selGroup != m_findZone.Unselected ) { TextFocused( "Zone group time:", TimeToString( m_findZone.groups[m_findZone.selGroup].time ) ); + TextFocused( "Group average:", TimeToString( m_findZone.selAverage ) ); + ImGui::SameLine(); + ImGui::Spacing(); + ImGui::SameLine(); + TextFocused( "Group median:", TimeToString( m_findZone.selMedian ) ); } else { TextFocused( "Zone group time:", "none" ); + TextFocused( "Group average:", "none" ); + ImGui::SameLine(); + ImGui::Spacing(); + ImGui::SameLine(); + TextFocused( "Group median:", "none" ); } ImGui::ColorButton( "c1", ImVec4( 0xFF/255.f, 0x44/255.f, 0x44/255.f, 1.f ), ImGuiColorEditFlags_NoTooltip );