mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-27 00:04:35 +00: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 );
|
lockmap.threadList.emplace_back( t );
|
||||||
}
|
}
|
||||||
f.Read( &tsz, sizeof( tsz ) );
|
f.Read( &tsz, sizeof( tsz ) );
|
||||||
|
lockmap.timeline.reserve( tsz );
|
||||||
for( uint64_t i=0; i<tsz; i++ )
|
for( uint64_t i=0; i<tsz; i++ )
|
||||||
{
|
{
|
||||||
auto lev = m_slab.Alloc<LockEvent>();
|
auto lev = m_slab.Alloc<LockEvent>();
|
||||||
|
Loading…
Reference in New Issue
Block a user