mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Cosmetics.
This commit is contained in:
@@ -12776,12 +12776,12 @@ void View::DrawStatistics()
|
||||
if( start >= min && end <= max )
|
||||
{
|
||||
const auto zt = end - start;
|
||||
if ( m_statAccumulationMode == AccumulationMode::SelfOnly)
|
||||
if( m_statAccumulationMode == AccumulationMode::SelfOnly )
|
||||
{
|
||||
total += zt - GetZoneChildTimeFast( z );
|
||||
cnt++;
|
||||
}
|
||||
else if ( m_statAccumulationMode == AccumulationMode::AllChildren || !IsZoneReentry(z) )
|
||||
else if( m_statAccumulationMode == AccumulationMode::AllChildren || !IsZoneReentry( z ) )
|
||||
{
|
||||
total += zt;
|
||||
cnt++;
|
||||
@@ -12823,12 +12823,12 @@ void View::DrawStatistics()
|
||||
if( start >= min && end <= max )
|
||||
{
|
||||
const auto zt = end - start;
|
||||
if ( m_statAccumulationMode == AccumulationMode::SelfOnly)
|
||||
if( m_statAccumulationMode == AccumulationMode::SelfOnly )
|
||||
{
|
||||
total += zt - GetZoneChildTimeFast( z );
|
||||
cnt++;
|
||||
}
|
||||
else if ( m_statAccumulationMode == AccumulationMode::AllChildren || !IsZoneReentry(z) )
|
||||
else if( m_statAccumulationMode == AccumulationMode::AllChildren || !IsZoneReentry( z ) )
|
||||
{
|
||||
total += zt;
|
||||
cnt++;
|
||||
|
||||
Reference in New Issue
Block a user