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

Send lean callstack allocs.

This commit is contained in:
Bartosz Taudul
2020-05-10 19:56:36 +02:00
parent 5a774c82cc
commit 09388f3c99
4 changed files with 10 additions and 6 deletions
+3 -1
View File
@@ -24,6 +24,7 @@ enum class QueueType : uint8_t
Callstack,
CallstackLean,
CallstackAlloc,
CallstackAllocLean,
CallstackSample,
FrameImage,
ZoneBegin,
@@ -488,7 +489,8 @@ static constexpr size_t QueueDataSize[] = {
sizeof( QueueHeader ), // lean callstack memory
sizeof( QueueHeader ) + sizeof( QueueCallstack ), // not for network transfer
sizeof( QueueHeader ), // lean callstack
sizeof( QueueHeader ) + sizeof( QueueCallstackAlloc ),
sizeof( QueueHeader ) + sizeof( QueueCallstackAlloc ), // not for network transfer
sizeof( QueueHeader ), // lean callstack alloc
sizeof( QueueHeader ) + sizeof( QueueCallstackSample ),
sizeof( QueueHeader ) + sizeof( QueueFrameImage ),
sizeof( QueueHeader ) + sizeof( QueueZoneBegin ),