mirror of
https://github.com/wolfpld/tracy.git
synced 2024-09-20 13:52:18 +00:00
Display number of top-level zones.
This commit is contained in:
parent
4ba40016ce
commit
b6079f8c9a
@ -2027,6 +2027,7 @@ void View::DrawZones()
|
|||||||
ImGui::BeginTooltip();
|
ImGui::BeginTooltip();
|
||||||
ImGui::Text( "%s", buf );
|
ImGui::Text( "%s", buf );
|
||||||
ImGui::Separator();
|
ImGui::Separator();
|
||||||
|
ImGui::Text( "Thread: %s", GetThreadString( v->thread ) );
|
||||||
if( !v->timeline.empty() )
|
if( !v->timeline.empty() )
|
||||||
{
|
{
|
||||||
const auto t = v->timeline.front()->gpuStart;
|
const auto t = v->timeline.front()->gpuStart;
|
||||||
@ -2035,7 +2036,7 @@ void View::DrawZones()
|
|||||||
ImGui::Text( "Appeared at %s", TimeToString( t - m_frames[0] ) );
|
ImGui::Text( "Appeared at %s", TimeToString( t - m_frames[0] ) );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ImGui::Text( "Thread: %s", GetThreadString( v->thread ) );
|
ImGui::Text( "Top-level zones: %zu", v->timeline.size() );
|
||||||
ImGui::Text( "Query accuracy bits: %i", v->accuracyBits );
|
ImGui::Text( "Query accuracy bits: %i", v->accuracyBits );
|
||||||
ImGui::EndTooltip();
|
ImGui::EndTooltip();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user