1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Draw per-CPU global context switch data.

This commit is contained in:
Bartosz Taudul
2019-08-16 18:22:46 +02:00
parent c212661714
commit 8e71e2dba5
2 changed files with 162 additions and 0 deletions
+2
View File
@@ -120,6 +120,7 @@ private:
int DrawPlots( int offset, double pxns, const ImVec2& wpos, bool hover, float yMin, float yMax );
void DrawPlotPoint( const ImVec2& wpos, float x, float y, int offset, uint32_t color, bool hover, bool hasPrev, const PlotItem* item, double prev, bool merged, PlotType type, float PlotHeight );
void DrawPlotPoint( const ImVec2& wpos, float x, float y, int offset, uint32_t color, bool hover, bool hasPrev, double val, double prev, bool merged, PlotType type, float PlotHeight );
int DrawCpuData( int offset, double pxns, const ImVec2& wpos, bool hover, float yMin, float yMax );
void DrawOptions();
void DrawMessages();
void DrawFindZone();
@@ -293,6 +294,7 @@ private:
bool m_goToFrame = false;
bool m_drawEmptyLabels = false;
bool m_drawContextSwitches = true;
bool m_drawCpuData = true;
int m_statSort = 0;
bool m_statSelf = false;