mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +00:00
Add overview of frame target colors.
This commit is contained in:
parent
740155f5e3
commit
9b5d0747eb
@ -34,6 +34,19 @@ void View::DrawOptions()
|
||||
ImGui::SameLine();
|
||||
TextDisabledUnformatted( TimeToString( 1000*1000*1000 / tmp ) );
|
||||
ImGui::PopStyleVar();
|
||||
SmallColorBox( 0xFF2222DD );
|
||||
ImGui::SameLine();
|
||||
ImGui::Text( "< %i <", tmp / 2 );
|
||||
ImGui::SameLine();
|
||||
SmallColorBox( 0xFF22DDDD );
|
||||
ImGui::SameLine();
|
||||
ImGui::Text( "< %i <", tmp );
|
||||
ImGui::SameLine();
|
||||
SmallColorBox( 0xFF22DD22 );
|
||||
ImGui::SameLine();
|
||||
ImGui::Text( "< %i <", tmp * 2 );
|
||||
ImGui::SameLine();
|
||||
SmallColorBox( 0xFFDD9900 );
|
||||
ImGui::Unindent();
|
||||
if( m_worker.HasContextSwitches() )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user