Callstack payload accessor.

This commit is contained in:
Bartosz Taudul 2018-06-19 22:19:20 +02:00
parent 06f34052a5
commit 4eea85fdad

View File

@ -144,6 +144,7 @@ public:
const Vector<PlotData*>& GetPlots() const { return m_data.plots; }
const Vector<ThreadData*>& GetThreadData() const { return m_data.threads; }
const MemData& GetMemData() const { return m_data.memory; }
const VarArray<uint64_t>& GetCallstack( uint32_t idx ) { return *m_data.callstackPayload[idx]; }
// Some zones may have incomplete timing data (only start time is available, end hasn't arrived yet).
// GetZoneEnd() will try to infer the end time by looking at child zones (parent zone can't end