mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Don't display hw samples as time in files list.
This commit is contained in:
@@ -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 )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user