1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Also retrieve external thread names.

This commit is contained in:
Bartosz Taudul
2019-08-16 19:49:16 +02:00
parent 134a8c5d2a
commit e975c4d7bf
6 changed files with 62 additions and 14 deletions
+2
View File
@@ -67,6 +67,7 @@ enum class QueueType : uint8_t
FrameName,
FrameImageData,
ExternalName,
ExternalThreadName,
NUM_TYPES
};
@@ -426,6 +427,7 @@ static const size_t QueueDataSize[] = {
sizeof( QueueHeader ) + sizeof( QueueStringTransfer ), // frame name
sizeof( QueueHeader ) + sizeof( QueueStringTransfer ), // frame image data
sizeof( QueueHeader ) + sizeof( QueueStringTransfer ), // external name
sizeof( QueueHeader ) + sizeof( QueueStringTransfer ), // external thread name
};
static_assert( QueueItemSize == 32, "Queue item size not 32 bytes" );