mirror of
https://github.com/wolfpld/tracy.git
synced 2026-08-21 10:38:24 +00:00
Callstack is already zero-initialized.
This commit is contained in:
@@ -3379,7 +3379,6 @@ void Worker::ProcessZoneBeginImpl( ZoneEvent* zone, const QueueZoneBegin& ev )
|
||||
zone->SetStart( start );
|
||||
zone->SetEnd( -1 );
|
||||
zone->SetSrcLoc( ShrinkSourceLocation( ev.srcloc ) );
|
||||
zone->callstack.SetVal( 0 );
|
||||
zone->SetChild( -1 );
|
||||
|
||||
m_data.lastTime = std::max( m_data.lastTime, start );
|
||||
@@ -3414,7 +3413,6 @@ void Worker::ProcessZoneBeginAllocSrcLocImpl( ZoneEvent* zone, const QueueZoneBe
|
||||
zone->SetStart( start );
|
||||
zone->SetEnd( -1 );
|
||||
zone->SetSrcLoc( it->second );
|
||||
zone->callstack.SetVal( 0 );
|
||||
zone->SetChild( -1 );
|
||||
|
||||
m_data.lastTime = std::max( m_data.lastTime, start );
|
||||
|
||||
Reference in New Issue
Block a user