Add branch retirement state accessor.

This commit is contained in:
Bartosz Taudul 2022-04-01 18:48:11 +02:00
parent 381f706796
commit d8ec98042a
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -490,6 +490,7 @@ public:
uint64_t GetStringsCount() const { return m_data.strings.size() + m_data.stringData.size(); }
uint64_t GetHwSampleCountAddress() const { return m_data.hwSamples.size(); }
uint64_t GetHwSampleCount() const;
bool HasHwBranchRetirement() const { return m_data.hasBranchRetirement; }
#ifndef TRACY_NO_STATISTICS
uint64_t GetChildSamplesCountSyms() const { return m_data.childSamples.size(); }
uint64_t GetChildSamplesCountFull() const;