Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wolfpld/tracy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartosz Taudul <wolf.pld@gmail.com>2019-08-16 19:22:46 +0300
committerBartosz Taudul <wolf.pld@gmail.com>2019-08-16 19:22:57 +0300
commit8e71e2dba57a7bc56eeb7b0120657232fe3f926d (patch)
treeb57b5d2798652c8a9e938157f6bdd7aa62d5f928 /server/TracyView.hpp
parentc212661714c1a788883c1b45dcf1a439c84bb2d4 (diff)
Draw per-CPU global context switch data.
Diffstat (limited to 'server/TracyView.hpp')
-rw-r--r--server/TracyView.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/TracyView.hpp b/server/TracyView.hpp
index 4cde43c2..a804fa91 100644
--- a/server/TracyView.hpp
+++ b/server/TracyView.hpp
@@ -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;