Add AreGpuSourceLocationZonesReady() query.

This commit is contained in:
Bartosz Taudul 2022-01-29 00:51:43 +01:00
parent ba87929074
commit 2ca4b0058a
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -597,6 +597,7 @@ public:
const SourceLocationZones& GetZonesForSourceLocation( int16_t srcloc ) const;
const unordered_flat_map<int16_t, SourceLocationZones>& GetSourceLocationZones() const { return m_data.sourceLocationZones; }
bool AreSourceLocationZonesReady() const { return m_data.sourceLocationZonesReady; }
bool AreGpuSourceLocationZonesReady() const { return m_data.gpuSourceLocationZonesReady; }
bool IsCpuUsageReady() const { return m_data.ctxUsageReady; }
const unordered_flat_map<uint64_t, SymbolData>& GetSymbolMap() const { return m_data.symbolMap; }