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:
parent
52708268fe
commit
80e1b0c2cf
@ -1637,6 +1637,8 @@ void SourceView::RenderSymbolSourceView( const AddrStat& iptotal, const unordere
|
|||||||
auto fit = fileCounts.find( v.first );
|
auto fit = fileCounts.find( v.first );
|
||||||
assert( fit != fileCounts.end() );
|
assert( fit != fileCounts.end() );
|
||||||
if( fit->second.local + fit->second.ext != 0 )
|
if( fit->second.local + fit->second.ext != 0 )
|
||||||
|
{
|
||||||
|
if( m_cost == 0 )
|
||||||
{
|
{
|
||||||
if( m_childCalls )
|
if( m_childCalls )
|
||||||
{
|
{
|
||||||
@ -1661,6 +1663,11 @@ void SourceView::RenderSymbolSourceView( const AddrStat& iptotal, const unordere
|
|||||||
}
|
}
|
||||||
ImGui::EndTooltip();
|
ImGui::EndTooltip();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
ImGui::TextUnformatted( RealToString( fit->second.local ) );
|
||||||
|
}
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
if( m_childCalls )
|
if( m_childCalls )
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user