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>2019-08-16 17:28:58 +0300
committerBartosz Taudul <wolf.pld@gmail.com>2019-08-16 17:51:18 +0300
commit69527d2f71d0b4f991287a91e0ee3aaa87c70b55 (patch)
tree381524b8960e9aea2a156f4c62679e892c4f30e2 /server/TracyWorker.hpp
parent9e0fe226df4480779058ed3a692da00680efde28 (diff)
Collect per-cpu context switch data.
Diffstat (limited to 'server/TracyWorker.hpp')
-rw-r--r--server/TracyWorker.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/TracyWorker.hpp b/server/TracyWorker.hpp
index eba74201..a0d320a6 100644
--- a/server/TracyWorker.hpp
+++ b/server/TracyWorker.hpp
@@ -208,6 +208,8 @@ private:
flat_hash_map<uint64_t, ContextSwitch*, nohash<uint64_t>> ctxSwitch;
std::pair<uint64_t, ContextSwitch*> ctxSwitchLast;
+
+ CpuData cpuData[256];
};
struct MbpsBlock