Don't display hw samples as time in files list.

This commit is contained in:
Bartosz Taudul 2021-06-20 00:14:19 +02:00
parent 52708268fe
commit 80e1b0c2cf
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -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 )
{