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

Preprocess thread context switch data.

This commit is contained in:
Bartosz Taudul
2023-03-22 19:38:36 +01:00
parent 060bab357d
commit 88f0b9c754
3 changed files with 143 additions and 0 deletions
+3
View File
@@ -42,9 +42,12 @@ private:
template<typename Adapter, typename V>
int PreprocessZoneLevel( const TimelineContext& ctx, const V& vec, int depth );
void PreprocessContextSwitches( const TimelineContext& ctx, const ContextSwitch& ctxSwitch );
const ThreadData* m_thread;
bool m_ghost;
std::vector<ContextSwitchDraw> m_ctxDraw;
std::vector<TimelineDraw> m_draw;
int m_depth;
};