Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wolfpld/tracy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorBartosz Taudul <wolf@nereid.pl>2021-10-10 17:14:17 +0300
committerBartosz Taudul <wolf@nereid.pl>2021-10-10 17:14:17 +0300
commit5ccf3699196e576b44cd3e54dc845763846d7c0b (patch)
tree24264b64a673aae105e7a9fd136defa558da0323 /common
parenta421083e580c125a2438f04f8e39546a8a5a446d (diff)
Implement callstack serialization.
Diffstat (limited to 'common')
-rw-r--r--common/TracyQueue.hpp12
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;