mirror of
https://github.com/wolfpld/tracy
synced 2025-04-29 20:33:52 +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;
|
as.ipTotalSrc = as.ipTotalAsm;
|
||||||
}
|
}
|
||||||
|
if( m_hwSamplesRelative )
|
||||||
|
{
|
||||||
|
CountHwStats( as, worker, view );
|
||||||
|
}
|
||||||
const auto slzReady = worker.AreSourceLocationZonesReady();
|
const auto slzReady = worker.AreSourceLocationZonesReady();
|
||||||
if( ( as.ipTotalAsm.local + as.ipTotalAsm.ext ) > 0 || ( view.m_statRange.active && worker.GetSamplesForSymbol( m_baseAddr ) ) )
|
if( ( as.ipTotalAsm.local + as.ipTotalAsm.ext ) > 0 || ( view.m_statRange.active && worker.GetSamplesForSymbol( m_baseAddr ) ) )
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user