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

Preprocess thread messages.

This commit is contained in:
Bartosz Taudul
2023-03-23 21:47:40 +01:00
parent fbc87275e7
commit a141aafaab
3 changed files with 59 additions and 0 deletions
+2
View File
@@ -44,6 +44,7 @@ private:
void PreprocessContextSwitches( const TimelineContext& ctx, const ContextSwitch& ctxSwitch );
void PreprocessSamples( const TimelineContext& ctx, const Vector<SampleData>& vec );
void PreprocessMessages( const TimelineContext& ctx, const Vector<short_ptr<MessageData>>& vec, uint64_t tid );
const ThreadData* m_thread;
bool m_ghost;
@@ -51,6 +52,7 @@ private:
std::vector<SamplesDraw> m_samplesDraw;
std::vector<ContextSwitchDraw> m_ctxDraw;
std::vector<TimelineDraw> m_draw;
std::vector<MessagesDraw> m_msgDraw;
int m_depth;
};