mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-23 22:54:35 +00:00
Display thread zone counts.
This commit is contained in:
parent
429b44ca54
commit
f73e8aaa59
@ -2132,11 +2132,12 @@ void View::DrawZones()
|
|||||||
|
|
||||||
ImGui::BeginTooltip();
|
ImGui::BeginTooltip();
|
||||||
ImGui::Text( "%s", GetThreadString( v->id ) );
|
ImGui::Text( "%s", GetThreadString( v->id ) );
|
||||||
ImGui::Separator();
|
|
||||||
if( !v->timeline.empty() )
|
if( !v->timeline.empty() )
|
||||||
{
|
{
|
||||||
|
ImGui::Separator();
|
||||||
ImGui::Text( "Appeared at %s", TimeToString( v->timeline.front()->start - m_frames[0] ) );
|
ImGui::Text( "Appeared at %s", TimeToString( v->timeline.front()->start - m_frames[0] ) );
|
||||||
ImGui::Text( "Top-level zones: %zu", v->timeline.size() );
|
ImGui::Text( "Zone count: %s", RealToString( v->count, true ) );
|
||||||
|
ImGui::Text( "Top-level zones: %s", RealToString( v->timeline.size(), true ) );
|
||||||
}
|
}
|
||||||
ImGui::EndTooltip();
|
ImGui::EndTooltip();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user