1
0
mirror of https://github.com/wolfpld/tracy synced 2025-05-07 23:43:52 +00:00

Remove GPU resync leftovers.

This commit is contained in:
Bartosz Taudul 2018-06-28 00:48:23 +02:00
parent 4c16aa9b96
commit 4a467b6d03
2 changed files with 0 additions and 19 deletions

View File

@ -189,12 +189,6 @@ struct ThreadData
Vector<MessageData*> messages;
};
struct GpuCtxResync
{
int64_t timeDiff;
uint16_t events;
};
struct GpuCtxData
{
int64_t timeDiff;
@ -202,7 +196,6 @@ struct GpuCtxData
uint64_t count;
Vector<GpuEvent*> timeline;
Vector<GpuEvent*> stack;
Vector<GpuCtxResync> resync;
uint8_t accuracyBits;
float period;
GpuEvent* query[64*1024];

View File

@ -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 )