mirror of
https://github.com/wolfpld/tracy
synced 2025-05-01 13:13:53 +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();
|
ImGui::SameLine();
|
||||||
TextDisabledUnformatted( TimeToString( 1000*1000*1000 / tmp ) );
|
TextDisabledUnformatted( TimeToString( 1000*1000*1000 / tmp ) );
|
||||||
ImGui::PopStyleVar();
|
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();
|
ImGui::Unindent();
|
||||||
if( m_worker.HasContextSwitches() )
|
if( m_worker.HasContextSwitches() )
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user