mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Display group average and median times.
This commit is contained in:
parent
2d3ce1bf25
commit
c3c48117d4
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user