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

Perform GPU to CPU resynchronization on each collect event.

This commit is contained in:
Bartosz Taudul
2017-11-25 13:33:57 +01:00
parent 0100266234
commit a515bf8878
5 changed files with 75 additions and 0 deletions
+7
View File
@@ -151,6 +151,12 @@ struct ThreadData
Vector<MessageData*> messages;
};
struct GpuCtxResync
{
int64_t timeDiff;
uint16_t events;
};
struct GpuCtxData
{
int64_t timeDiff;
@@ -159,6 +165,7 @@ struct GpuCtxData
Vector<GpuEvent*> timeline;
Vector<GpuEvent*> stack;
Vector<GpuEvent*> queue;
Vector<GpuCtxResync> resync;
uint8_t accuracyBits;
bool showFull;
};