mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Display count of per-cpu context switch data.
This commit is contained in:
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user