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

Display number of context switch regions.

This commit is contained in:
Bartosz Taudul
2019-08-13 00:29:09 +02:00
parent 0b03fed61c
commit 8c494eabbf
3 changed files with 12 additions and 0 deletions
+1
View File
@@ -267,6 +267,7 @@ public:
uint64_t GetZoneCount() const { return m_data.zonesCnt; }
uint64_t GetLockCount() const;
uint64_t GetPlotCount() const;
uint64_t GetContextSwitchCount() const;
uint64_t GetSrcLocCount() const { return m_data.sourceLocationPayload.size() + m_data.sourceLocation.size(); }
uint64_t GetCallstackPayloadCount() const { return m_data.callstackPayload.size() - 1; }
uint64_t GetCallstackFrameCount() const { return m_data.callstackFrameMap.size(); }