mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-29 16:54:35 +00:00
Count read zones.
This commit is contained in:
parent
06949e2f99
commit
f387a16e61
@ -1660,6 +1660,7 @@ void View::ReadTimeline( FileRead& f, Vector<Event*>& vec, Event* parent, const
|
|||||||
for( uint64_t i=0; i<sz; i++ )
|
for( uint64_t i=0; i<sz; i++ )
|
||||||
{
|
{
|
||||||
auto zone = m_slab.Alloc<Event>();
|
auto zone = m_slab.Alloc<Event>();
|
||||||
|
m_zonesCnt++;
|
||||||
vec.push_back( zone );
|
vec.push_back( zone );
|
||||||
|
|
||||||
f.Read( &zone->start, sizeof( zone->start ) );
|
f.Read( &zone->start, sizeof( zone->start ) );
|
||||||
|
Loading…
Reference in New Issue
Block a user