mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Reserve lockmap timeline.
This commit is contained in:
parent
081087b9ce
commit
b578554223
@ -302,6 +302,7 @@ View::View( FileRead& f )
|
||||
lockmap.threadList.emplace_back( t );
|
||||
}
|
||||
f.Read( &tsz, sizeof( tsz ) );
|
||||
lockmap.timeline.reserve( tsz );
|
||||
for( uint64_t i=0; i<tsz; i++ )
|
||||
{
|
||||
auto lev = m_slab.Alloc<LockEvent>();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user