mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-27 00:04:35 +00:00
Count hw stats, if relative mode is set.
This commit is contained in:
parent
fbf2c87a20
commit
83b159b43b
@ -1233,6 +1233,10 @@ void SourceView::RenderSymbolView( Worker& worker, View& view )
|
||||
{
|
||||
as.ipTotalSrc = as.ipTotalAsm;
|
||||
}
|
||||
if( m_hwSamplesRelative )
|
||||
{
|
||||
CountHwStats( as, worker, view );
|
||||
}
|
||||
const auto slzReady = worker.AreSourceLocationZonesReady();
|
||||
if( ( as.ipTotalAsm.local + as.ipTotalAsm.ext ) > 0 || ( view.m_statRange.active && worker.GetSamplesForSymbol( m_baseAddr ) ) )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user