diff --git a/server/TracyEvent.hpp b/server/TracyEvent.hpp index 64d09185..000f20bd 100644 --- a/server/TracyEvent.hpp +++ b/server/TracyEvent.hpp @@ -189,12 +189,6 @@ struct ThreadData Vector messages; }; -struct GpuCtxResync -{ - int64_t timeDiff; - uint16_t events; -}; - struct GpuCtxData { int64_t timeDiff; @@ -202,7 +196,6 @@ struct GpuCtxData uint64_t count; Vector timeline; Vector stack; - Vector resync; uint8_t accuracyBits; float period; GpuEvent* query[64*1024]; diff --git a/server/TracyWorker.cpp b/server/TracyWorker.cpp index 0caf083c..6b87056d 100644 --- a/server/TracyWorker.cpp +++ b/server/TracyWorker.cpp @@ -2066,18 +2066,6 @@ void Worker::ProcessGpuTime( const QueueGpuTime& ev ) std::swap( zone->gpuEnd, zone->gpuStart ); } } - - if( !ctx->resync.empty() ) - { - auto& resync = ctx->resync.front(); - assert( resync.events > 0 ); - resync.events--; - if( resync.events == 0 ) - { - ctx->timeDiff = resync.timeDiff; - ctx->resync.erase( ctx->resync.begin() ); - } - } } void Worker::ProcessMemAlloc( const QueueMemAlloc& ev )