mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-26 16:04:34 +00:00
Don't display hw samples as time in files list.
This commit is contained in:
parent
52708268fe
commit
80e1b0c2cf
@ -1637,6 +1637,8 @@ void SourceView::RenderSymbolSourceView( const AddrStat& iptotal, const unordere
|
||||
auto fit = fileCounts.find( v.first );
|
||||
assert( fit != fileCounts.end() );
|
||||
if( fit->second.local + fit->second.ext != 0 )
|
||||
{
|
||||
if( m_cost == 0 )
|
||||
{
|
||||
if( m_childCalls )
|
||||
{
|
||||
@ -1661,6 +1663,11 @@ void SourceView::RenderSymbolSourceView( const AddrStat& iptotal, const unordere
|
||||
}
|
||||
ImGui::EndTooltip();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
ImGui::TextUnformatted( RealToString( fit->second.local ) );
|
||||
}
|
||||
ImGui::SameLine();
|
||||
if( m_childCalls )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user