mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 14:44:34 +00:00
No cost propagation when symbol is narrowed down to a single function.
This commit is contained in:
parent
d0d6b8fd8e
commit
ba34596b91
@ -1792,7 +1792,7 @@ static uint32_t GetGoodnessColor( float inRatio )
|
||||
void SourceView::RenderSymbolSourceView( const AddrStatData& as, Worker& worker, const View& view )
|
||||
{
|
||||
const auto scale = GetScale();
|
||||
if( m_cost == CostType::SampleCount && ( as.ipTotalAsm.local + as.ipTotalAsm.ext ) > 0 || ( view.m_statRange.active && worker.GetSamplesForSymbol( m_baseAddr ) ) )
|
||||
if( m_cost == CostType::SampleCount && !m_calcInlineStats && ( as.ipTotalAsm.local + as.ipTotalAsm.ext ) > 0 || ( view.m_statRange.active && worker.GetSamplesForSymbol( m_baseAddr ) ) )
|
||||
{
|
||||
const auto samplesReady = worker.AreSymbolSamplesReady();
|
||||
if( !samplesReady )
|
||||
|
Loading…
Reference in New Issue
Block a user