mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +00:00
Display extra zone data count.
This commit is contained in:
parent
3e45e4abd9
commit
1915a9e5f6
@ -11201,6 +11201,10 @@ void View::DrawInfo()
|
||||
TextFocused( "Queue delay:", TimeToString( m_worker.GetDelay() ) );
|
||||
TextFocused( "Timer resolution:", TimeToString( m_worker.GetResolution() ) );
|
||||
TextFocused( "CPU zones:", RealToString( m_worker.GetZoneCount(), true ) );
|
||||
ImGui::SameLine();
|
||||
ImGui::Spacing();
|
||||
ImGui::SameLine();
|
||||
TextFocused( "Extra data:", RealToString( m_worker.GetZoneExtraCount(), true ) );
|
||||
TextFocused( "GPU zones:", RealToString( m_worker.GetGpuZoneCount(), true ) );
|
||||
TextFocused( "Lock events:", RealToString( m_worker.GetLockCount(), true ) );
|
||||
TextFocused( "Plot data points:", RealToString( m_worker.GetPlotCount(), true ) );
|
||||
|
@ -330,6 +330,7 @@ public:
|
||||
size_t GetFullFrameCount( const FrameData& fd ) const;
|
||||
int64_t GetLastTime() const { return m_data.lastTime; }
|
||||
uint64_t GetZoneCount() const { return m_data.zonesCnt; }
|
||||
uint64_t GetZoneExtraCount() const { return m_data.zoneExtra.size() - 1; }
|
||||
uint64_t GetGpuZoneCount() const { return m_data.gpuCnt; }
|
||||
uint64_t GetLockCount() const;
|
||||
uint64_t GetPlotCount() const;
|
||||
|
Loading…
Reference in New Issue
Block a user