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

Handle GPU timer overflows with heuristics.

This commit is contained in:
Bartosz Taudul
2021-06-09 20:38:06 +02:00
parent 90b51568e9
commit b7b9912b10
2 changed files with 27 additions and 7 deletions
+3
View File
@@ -617,6 +617,9 @@ struct GpuCtxData
int64_t calibratedGpuTime;
int64_t calibratedCpuTime;
double calibrationMod;
int64_t lastGpuTime;
uint64_t overflow;
uint32_t overflowMul;
StringIdx name;
unordered_flat_map<uint64_t, GpuCtxThreadData> threadData;
short_ptr<GpuEvent> query[64*1024];