diff options
author | Bartosz Taudul <wolf.pld@gmail.com> | 2019-08-16 17:36:33 +0300 |
---|---|---|
committer | Bartosz Taudul <wolf.pld@gmail.com> | 2019-08-16 17:51:18 +0300 |
commit | 8bc4258e295db520d3795d1b1b2427cdb977d6a0 (patch) | |
tree | ca003106e7c218a0bc0487fd638568299ed46b30 /server/TracyWorker.hpp | |
parent | a92034d59deae290a39b86f15fc7c4c8cde3ee06 (diff) |
Display count of per-cpu context switch data.
Diffstat (limited to 'server/TracyWorker.hpp')
-rw-r--r-- | server/TracyWorker.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/TracyWorker.hpp b/server/TracyWorker.hpp index 1b6c46f3..fa8b1cc7 100644 --- a/server/TracyWorker.hpp +++ b/server/TracyWorker.hpp @@ -281,6 +281,7 @@ public: uint64_t GetLockCount() const; uint64_t GetPlotCount() const; uint64_t GetContextSwitchCount() const; + uint64_t GetContextSwitchPerCpuCount() const; bool HasContextSwitches() const { return !m_data.ctxSwitch.empty(); } uint64_t GetSrcLocCount() const { return m_data.sourceLocationPayload.size() + m_data.sourceLocation.size(); } uint64_t GetCallstackPayloadCount() const { return m_data.callstackPayload.size() - 1; } |