mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 14:44:34 +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;
|
||||
}
|
||||
|
||||
void View::HighlightThread( uint64_t thread )
|
||||
{
|
||||
m_drawThreadMigrations = thread;
|
||||
m_drawThreadHighlight = thread;
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -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 );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user