diff --git a/server/TracySourceView.cpp b/server/TracySourceView.cpp index efcfe25f..285546eb 100644 --- a/server/TracySourceView.cpp +++ b/server/TracySourceView.cpp @@ -1224,13 +1224,16 @@ void SourceView::RenderSymbolView( Worker& worker, View& view ) } } GatherAdditionalIpStats( m_symAddr, iptotalSrc, iptotalAsm, ipcountSrc, ipcountAsm, ipmaxSrc, ipmaxAsm, worker, limitView, view ); - iptotalSrc = iptotalAsm; } } else { GatherIpHwStats( iptotalSrc, iptotalAsm, ipcountSrc, ipcountAsm, ipmaxSrc, ipmaxAsm, worker, limitView, view ); } + if( !m_calcInlineStats ) + { + iptotalSrc = iptotalAsm; + } const auto slzReady = worker.AreSourceLocationZonesReady(); if( ( iptotalAsm.local + iptotalAsm.ext ) > 0 || ( view.m_statRange.active && worker.GetSamplesForSymbol( m_baseAddr ) ) ) {