mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Memory data accessor.
This commit is contained in:
parent
a574f98f0c
commit
cd3bba8063
@ -114,6 +114,7 @@ public:
|
|||||||
const Vector<GpuCtxData*>& GetGpuData() const { return m_data.gpuData; }
|
const Vector<GpuCtxData*>& GetGpuData() const { return m_data.gpuData; }
|
||||||
const Vector<PlotData*>& GetPlots() const { return m_data.plots; }
|
const Vector<PlotData*>& GetPlots() const { return m_data.plots; }
|
||||||
const Vector<ThreadData*>& GetThreadData() const { return m_data.threads; }
|
const Vector<ThreadData*>& GetThreadData() const { return m_data.threads; }
|
||||||
|
const MemData& GetMemData() const { return m_data.memory; }
|
||||||
|
|
||||||
// Some zones may have incomplete timing data (only start time is available, end hasn't arrived yet).
|
// 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
|
// GetZoneEnd() will try to infer the end time by looking at child zones (parent zone can't end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user