mirror of
https://github.com/wolfpld/tracy
synced 2025-04-30 12:53:51 +00:00
Add function for highlighting a thread.
This commit is contained in:
parent
e19a3a8767
commit
0c4ca4cd69
@ -1277,4 +1277,10 @@ bool View::Save( const char* fn, FileWrite::Compression comp, int zlevel, bool b
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void View::HighlightThread( uint64_t thread )
|
||||||
|
{
|
||||||
|
m_drawThreadMigrations = thread;
|
||||||
|
m_drawThreadHighlight = thread;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -113,6 +113,7 @@ public:
|
|||||||
|
|
||||||
ShortenName GetShortenName() const { return m_shortenName; }
|
ShortenName GetShortenName() const { return m_shortenName; }
|
||||||
|
|
||||||
|
void HighlightThread( uint64_t thread );
|
||||||
void ZoomToRange( int64_t start, int64_t end, bool pause = true );
|
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 );
|
void DrawPlot( PlotData& plot, double pxns, int& offset, const ImVec2& wpos, bool hover, float yMin, float yMax );
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user