mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Fix skipping memory data.
This commit is contained in:
parent
5429f04614
commit
7673028dba
@ -1198,7 +1198,7 @@ Worker::Worker( FileRead& f, EventType::Type eventMask )
|
|||||||
|
|
||||||
if( fileVer >= FileVersion( 0, 5, 2 ) )
|
if( fileVer >= FileVersion( 0, 5, 2 ) )
|
||||||
{
|
{
|
||||||
f.Skip( sz * ( sizeof( MemEvent::ptr ) + + sizeof( MemEvent::size ) + sizeof( MemEvent::csAlloc ) + sizeof( MemEvent::csFree ) + sizeof( MemEvent::_time_thread_alloc ) + sizeof( MemEvent::_time_thread_free ) ) );
|
f.Skip( sz * ( sizeof( MemEvent::ptr ) + sizeof( MemEvent::size ) + sizeof( MemEvent::csAlloc ) + sizeof( MemEvent::csFree ) + sizeof( int64_t ) * 2 + sizeof( uint16_t ) * 2 ) );
|
||||||
}
|
}
|
||||||
else if( fileVer >= FileVersion( 0, 4, 4 ) )
|
else if( fileVer >= FileVersion( 0, 4, 4 ) )
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user