Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wolfpld/tracy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartosz Taudul <wolf@nereid.pl>2021-06-09 21:38:06 +0300
committerBartosz Taudul <wolf@nereid.pl>2021-06-09 22:08:47 +0300
commitb7b9912b10c26bdac32490f4d12711ef8e111159 (patch)
tree9e342f2221c4eca0b804b4b9b2952a57cc6552ae /server/TracyEvent.hpp
parent90b51568e9b6de8d337834d74212241fcd760652 (diff)
Handle GPU timer overflows with heuristics.
Diffstat (limited to 'server/TracyEvent.hpp')
-rw-r--r--server/TracyEvent.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/server/TracyEvent.hpp b/server/TracyEvent.hpp
index 9e35a668..cf60cd21 100644
--- a/server/TracyEvent.hpp
+++ b/server/TracyEvent.hpp
@@ -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];