diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 3e66d11c..c06c50eb 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -1277,4 +1277,10 @@ bool View::Save( const char* fn, FileWrite::Compression comp, int zlevel, bool b return true; } +void View::HighlightThread( uint64_t thread ) +{ + m_drawThreadMigrations = thread; + m_drawThreadHighlight = thread; +} + } diff --git a/server/TracyView.hpp b/server/TracyView.hpp index 2ccf0836..3b69110b 100644 --- a/server/TracyView.hpp +++ b/server/TracyView.hpp @@ -113,6 +113,7 @@ public: ShortenName GetShortenName() const { return m_shortenName; } + void HighlightThread( uint64_t thread ); void ZoomToRange( int64_t start, int64_t end, bool pause = true ); void DrawPlot( PlotData& plot, double pxns, int& offset, const ImVec2& wpos, bool hover, float yMin, float yMax );