mirror of
https://github.com/wolfpld/tracy
synced 2025-04-29 12:23:53 +00:00
Account for case with no local samples (external only).
This commit is contained in:
parent
b217e00dd9
commit
22a8c53e8b
@ -1115,7 +1115,7 @@ void SourceView::RenderSymbolView( const Worker& worker, View& view )
|
|||||||
}
|
}
|
||||||
iptotalSrc = iptotalAsm;
|
iptotalSrc = iptotalAsm;
|
||||||
}
|
}
|
||||||
if( iptotalAsm.local > 0 || ( view.m_statRange.active && worker.GetSamplesForSymbol( m_baseAddr ) ) )
|
if( ( iptotalAsm.local + iptotalAsm.ext ) > 0 || ( view.m_statRange.active && worker.GetSamplesForSymbol( m_baseAddr ) ) )
|
||||||
{
|
{
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
ImGui::Spacing();
|
ImGui::Spacing();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user