mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Save callstack index in memory events.
This commit is contained in:
parent
e03493f082
commit
2940230fcf
@ -2407,7 +2407,7 @@ void Worker::Write( FileWrite& f )
|
|||||||
f.Write( &sz, sizeof( sz ) );
|
f.Write( &sz, sizeof( sz ) );
|
||||||
for( auto& mem : m_data.memory.data )
|
for( auto& mem : m_data.memory.data )
|
||||||
{
|
{
|
||||||
f.Write( &mem, sizeof( MemEvent::ptr ) + sizeof( MemEvent::size ) + sizeof( MemEvent::timeAlloc ) + sizeof( MemEvent::timeFree ) );
|
f.Write( &mem, sizeof( MemEvent::ptr ) + sizeof( MemEvent::size ) + sizeof( MemEvent::timeAlloc ) + sizeof( MemEvent::timeFree ) + sizeof( MemEvent::callstack ) );
|
||||||
uint64_t t[2];
|
uint64_t t[2];
|
||||||
t[0] = DecompressThread( mem.threadAlloc );
|
t[0] = DecompressThread( mem.threadAlloc );
|
||||||
t[1] = DecompressThread( mem.threadFree );
|
t[1] = DecompressThread( mem.threadFree );
|
||||||
|
Loading…
Reference in New Issue
Block a user