Callstack ptr in server data structures.

Will be probably reduced to 32-bit index later on.
This commit is contained in:
Bartosz Taudul 2018-06-19 18:52:10 +02:00
parent d0d3545988
commit 59dc55002b
2 changed files with 2 additions and 0 deletions

View File

@ -147,6 +147,7 @@ struct MemEvent
uint64_t size; uint64_t size;
int64_t timeAlloc; int64_t timeAlloc;
int64_t timeFree; int64_t timeFree;
uint64_t callstack;
// All above is read/saved as-is. // All above is read/saved as-is.
uint16_t threadAlloc; uint16_t threadAlloc;

View File

@ -1937,6 +1937,7 @@ void Worker::ProcessMemAlloc( const QueueMemAlloc& ev )
mem.threadAlloc = CompressThread( ev.thread ); mem.threadAlloc = CompressThread( ev.thread );
mem.timeFree = -1; mem.timeFree = -1;
mem.threadFree = 0; mem.threadFree = 0;
mem.callstack = 0;
const auto low = m_data.memory.low; const auto low = m_data.memory.low;
const auto high = m_data.memory.high; const auto high = m_data.memory.high;