diff options
author | Bartosz Taudul <wolf@nereid.pl> | 2021-10-10 17:14:17 +0300 |
---|---|---|
committer | Bartosz Taudul <wolf@nereid.pl> | 2021-10-10 17:14:17 +0300 |
commit | 5ccf3699196e576b44cd3e54dc845763846d7c0b (patch) | |
tree | 24264b64a673aae105e7a9fd136defa558da0323 /common | |
parent | a421083e580c125a2438f04f8e39546a8a5a446d (diff) |
Implement callstack serialization.
Diffstat (limited to 'common')
-rw-r--r-- | common/TracyQueue.hpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/common/TracyQueue.hpp b/common/TracyQueue.hpp index b6f24013..629292e8 100644 --- a/common/TracyQueue.hpp +++ b/common/TracyQueue.hpp @@ -453,12 +453,22 @@ struct QueueCallstackFat uint64_t ptr; }; +struct QueueCallstackFatThread : public QueueCallstackFat +{ + uint32_t thread; +}; + struct QueueCallstackAllocFat { uint64_t ptr; uint64_t nativePtr; }; +struct QueueCallstackAllocFatThread : public QueueCallstackAllocFat +{ + uint32_t thread; +}; + struct QueueCallstackSample { int64_t time; @@ -633,7 +643,9 @@ struct QueueItem QueueMemFree memFree; QueueMemNamePayload memName; QueueCallstackFat callstackFat; + QueueCallstackFatThread callstackFatThread; QueueCallstackAllocFat callstackAllocFat; + QueueCallstackAllocFatThread callstackAllocFatThread; QueueCallstackSample callstackSample; QueueCallstackSampleFat callstackSampleFat; QueueCallstackFrameSize callstackFrameSize; |