diff --git a/client/TracyProfiler.cpp b/client/TracyProfiler.cpp index 3ea6d87e..d384ced0 100644 --- a/client/TracyProfiler.cpp +++ b/client/TracyProfiler.cpp @@ -1870,8 +1870,6 @@ Profiler::DequeueStatus Profiler::Dequeue( moodycamel::ConsumerToken& token ) ptr = MemRead( &item->zoneBegin.srcloc ); SendSourceLocationPayload( ptr ); tracy_free( (void*)ptr ); - idx++; - MemWrite( &item->hdr.idx, idx ); break; } case QueueType::Callstack: diff --git a/common/TracyQueue.hpp b/common/TracyQueue.hpp index d167e6de..3523773a 100644 --- a/common/TracyQueue.hpp +++ b/common/TracyQueue.hpp @@ -16,9 +16,7 @@ enum class QueueType : uint8_t MessageColorCallstack, MessageAppInfo, ZoneBeginAllocSrcLoc, - ZoneBeginAllocSrcLocLean, ZoneBeginAllocSrcLocCallstack, - ZoneBeginAllocSrcLocCallstackLean, CallstackMemory, Callstack, CallstackAlloc, @@ -541,10 +539,8 @@ static constexpr size_t QueueDataSize[] = { sizeof( QueueHeader ) + sizeof( QueueMessage ), // callstack sizeof( QueueHeader ) + sizeof( QueueMessageColor ), // callstack sizeof( QueueHeader ) + sizeof( QueueMessage ), // app info - sizeof( QueueHeader ) + sizeof( QueueZoneBegin ), // allocated source location, not for network transfer - sizeof( QueueHeader ) + sizeof( QueueZoneBeginLean ), // lean allocated source location - sizeof( QueueHeader ) + sizeof( QueueZoneBegin ), // allocated source location, callstack, not for network transfer - sizeof( QueueHeader ) + sizeof( QueueZoneBeginLean ), // lean allocated source location, callstack + sizeof( QueueHeader ) + sizeof( QueueZoneBeginLean ), // allocated source location + sizeof( QueueHeader ) + sizeof( QueueZoneBeginLean ), // allocated source location, callstack sizeof( QueueHeader ), // callstack memory sizeof( QueueHeader ), // callstack sizeof( QueueHeader ), // callstack alloc diff --git a/server/TracyWorker.cpp b/server/TracyWorker.cpp index f2c660b6..98af7966 100644 --- a/server/TracyWorker.cpp +++ b/server/TracyWorker.cpp @@ -3884,10 +3884,10 @@ bool Worker::Process( const QueueItem& ev ) case QueueType::ZoneBeginCallstack: ProcessZoneBeginCallstack( ev.zoneBegin ); break; - case QueueType::ZoneBeginAllocSrcLocLean: + case QueueType::ZoneBeginAllocSrcLoc: ProcessZoneBeginAllocSrcLoc( ev.zoneBeginLean ); break; - case QueueType::ZoneBeginAllocSrcLocCallstackLean: + case QueueType::ZoneBeginAllocSrcLocCallstack: ProcessZoneBeginAllocSrcLocCallstack( ev.zoneBeginLean ); break; case QueueType::ZoneEnd: