mirror of
https://github.com/wolfpld/tracy
synced 2025-04-29 04:23:51 +00:00
Add fiber labels to places with thread information.
This commit is contained in:
parent
e5c44afdcb
commit
0718330016
@ -3470,6 +3470,11 @@ void View::DrawZones()
|
||||
ImGui::SameLine();
|
||||
TextColoredUnformatted( ImVec4( 1.f, 0.2f, 0.2f, 1.f ), ICON_FA_SKULL " Crashed" );
|
||||
}
|
||||
if( v->isFiber )
|
||||
{
|
||||
ImGui::SameLine();
|
||||
TextColoredUnformatted( ImVec4( 0.2f, 0.6f, 0.2f, 1.f ), "Fiber" );
|
||||
}
|
||||
|
||||
const auto ctx = m_worker.GetContextSwitchData( v->id );
|
||||
|
||||
@ -9196,6 +9201,11 @@ void View::DrawOptions()
|
||||
}
|
||||
}
|
||||
}
|
||||
if( t->isFiber )
|
||||
{
|
||||
ImGui::SameLine();
|
||||
TextColoredUnformatted( ImVec4( 0.2f, 0.6f, 0.2f, 1.f ), "Fiber" );
|
||||
}
|
||||
ImGui::SameLine();
|
||||
ImGui::TextDisabled( "%s top level zones", RealToString( t->timeline.size() ) );
|
||||
idx++;
|
||||
|
Loading…
x
Reference in New Issue
Block a user