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

Remove GPU resync support.

The whole concept is not really reliable. And it forces CPU to GPU sync,
which is bad.
This commit is contained in:
Bartosz Taudul
2018-06-22 16:34:51 +02:00
parent 62267399bc
commit af0c64c888
4 changed files with 0 additions and 63 deletions
-10
View File
@@ -34,7 +34,6 @@ enum class QueueType : uint8_t
GpuZoneBeginCallstack,
GpuZoneEnd,
GpuTime,
GpuResync,
MemAlloc,
MemFree,
MemAllocCallstack,
@@ -195,13 +194,6 @@ struct QueueGpuTime
uint8_t context;
};
struct QueueGpuResync
{
int64_t cpuTime;
int64_t gpuTime;
uint8_t context;
};
struct QueueMemAlloc
{
int64_t time;
@@ -267,7 +259,6 @@ struct QueueItem
QueueGpuZoneBegin gpuZoneBegin;
QueueGpuZoneEnd gpuZoneEnd;
QueueGpuTime gpuTime;
QueueGpuResync gpuResync;
QueueMemAlloc memAlloc;
QueueMemFree memFree;
QueueCallstackMemory callstackMemory;
@@ -308,7 +299,6 @@ static const size_t QueueDataSize[] = {
sizeof( QueueHeader ) + sizeof( QueueGpuZoneBegin ), // callstack
sizeof( QueueHeader ) + sizeof( QueueGpuZoneEnd ),
sizeof( QueueHeader ) + sizeof( QueueGpuTime ),
sizeof( QueueHeader ) + sizeof( QueueGpuResync ),
sizeof( QueueHeader ) + sizeof( QueueMemAlloc ),
sizeof( QueueHeader ) + sizeof( QueueMemFree ),
sizeof( QueueHeader ) + sizeof( QueueMemAlloc ), // callstack