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

Collect per-cpu context switch data.

This commit is contained in:
Bartosz Taudul
2019-08-16 16:28:58 +02:00
parent 9e0fe226df
commit 69527d2f71
3 changed files with 42 additions and 0 deletions
+2
View File
@@ -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