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

Custom per-zone name transfer.

This commit is contained in:
Bartosz Taudul
2018-06-29 16:01:31 +02:00
parent ac89c6de33
commit b29d60056a
5 changed files with 49 additions and 1 deletions
+2
View File
@@ -9,6 +9,7 @@ namespace tracy
enum class QueueType : uint8_t
{
ZoneText,
ZoneName,
Message,
ZoneBeginAllocSrcLoc,
CallstackMemory,
@@ -273,6 +274,7 @@ enum { QueueItemSize = sizeof( QueueItem ) };
static const size_t QueueDataSize[] = {
sizeof( QueueHeader ) + sizeof( QueueZoneText ),
sizeof( QueueHeader ) + sizeof( QueueZoneText ), // zone name
sizeof( QueueHeader ) + sizeof( QueueMessage ),
sizeof( QueueHeader ) + sizeof( QueueZoneBegin ), // allocated source location
sizeof( QueueHeader ) + sizeof( QueueCallstackMemory ),