mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Check for exclusive samples in inlined symbols list.
This commit is contained in:
parent
4eb78f5c86
commit
e376866436
@ -11900,16 +11900,20 @@ void View::DrawStatistics()
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
ImGui::PushID( idx++ );
|
const auto sn = iv.symAddr == v.symAddr ? "[self time]" : name;
|
||||||
if( iv.symAddr == v.symAddr )
|
if( iv.excl == 0 )
|
||||||
{
|
{
|
||||||
TextDisabledUnformatted( "[self time]" );
|
ImGui::TextUnformatted( sn );
|
||||||
}
|
}
|
||||||
else if( ImGui::Selectable( name, m_sampleParents.symAddr == iv.symAddr, ImGuiSelectableFlags_SpanAllColumns ) )
|
else
|
||||||
|
{
|
||||||
|
ImGui::PushID( idx++ );
|
||||||
|
if( ImGui::Selectable( sn, m_sampleParents.symAddr == iv.symAddr, ImGuiSelectableFlags_SpanAllColumns ) )
|
||||||
{
|
{
|
||||||
ShowSampleParents( iv.symAddr );
|
ShowSampleParents( iv.symAddr );
|
||||||
}
|
}
|
||||||
ImGui::PopID();
|
ImGui::PopID();
|
||||||
|
}
|
||||||
ImGui::NextColumn();
|
ImGui::NextColumn();
|
||||||
float indentVal = 0.f;
|
float indentVal = 0.f;
|
||||||
if( m_statBuzzAnim.Match( iv.symAddr ) )
|
if( m_statBuzzAnim.Match( iv.symAddr ) )
|
||||||
|
Loading…
Reference in New Issue
Block a user