mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-14 04:01:48 +00:00
Do not limit inline propagation to sample count cost.
This commit is contained in:
parent
564534c703
commit
306ef02aa2
@ -1782,7 +1782,7 @@ static uint32_t GetGoodnessColor( float inRatio )
|
|||||||
void SourceView::RenderSymbolSourceView( const AddrStatData& as, Worker& worker, const View& view )
|
void SourceView::RenderSymbolSourceView( const AddrStatData& as, Worker& worker, const View& view )
|
||||||
{
|
{
|
||||||
const auto scale = GetScale();
|
const auto scale = GetScale();
|
||||||
if( m_cost == CostType::SampleCount && !m_calcInlineStats && ( as.ipTotalAsm.local + as.ipTotalAsm.ext ) > 0 || ( view.m_statRange.active && worker.GetSamplesForSymbol( m_baseAddr ) ) )
|
if( !m_calcInlineStats && ( as.ipTotalAsm.local + as.ipTotalAsm.ext ) > 0 || ( view.m_statRange.active && worker.GetSamplesForSymbol( m_baseAddr ) ) )
|
||||||
{
|
{
|
||||||
const auto samplesReady = worker.AreSymbolSamplesReady();
|
const auto samplesReady = worker.AreSymbolSamplesReady();
|
||||||
if( !samplesReady )
|
if( !samplesReady )
|
||||||
|
Loading…
Reference in New Issue
Block a user