mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Add thread color box to CPU data on timeline.
This commit is contained in:
parent
a7e3324eba
commit
9c86102bad
@ -4435,6 +4435,8 @@ int View::DrawCpuData( int offset, double pxns, const ImVec2& wpos, bool hover,
|
||||
TextFocused( "Thread:", m_worker.GetThreadName( thread ) );
|
||||
ImGui::SameLine();
|
||||
ImGui::TextDisabled( "(%s)", RealToString( thread, true ) );
|
||||
ImGui::SameLine();
|
||||
SmallColorBox( GetThreadColor( thread, 0 ) );
|
||||
m_drawThreadMigrations = thread;
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user