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.pld@gmail.com>2020-07-07 22:09:37 +0300
committerBartosz Taudul <wolf.pld@gmail.com>2020-07-07 22:25:35 +0300
commit21f4981f3807c53a91ef07be214c1fa574768179 (patch)
treee717f458b542f180beb056b7f3115b9476822e25 /server/TracyEvent.hpp
parent1b6bc1b69adf42d33c160149f28ca38bb3024c0f (diff)
Process GPU calibration on server.
Diffstat (limited to 'server/TracyEvent.hpp')
-rw-r--r--server/TracyEvent.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/server/TracyEvent.hpp b/server/TracyEvent.hpp
index a140201b..63b74f86 100644
--- a/server/TracyEvent.hpp
+++ b/server/TracyEvent.hpp
@@ -565,6 +565,10 @@ struct GpuCtxData
float period;
GpuContextType type;
bool hasPeriod;
+ bool hasCalibration;
+ int64_t calibratedGpuTime;
+ int64_t calibratedCpuTime;
+ double calibrationMod;
unordered_flat_map<uint64_t, GpuCtxThreadData> threadData;
short_ptr<GpuEvent> query[64*1024];
};