mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Precalculate draw lists for locks.
This commit is contained in:
@@ -45,6 +45,7 @@ private:
|
||||
void PreprocessContextSwitches( const TimelineContext& ctx, const ContextSwitch& ctxSwitch, bool visible );
|
||||
void PreprocessSamples( const TimelineContext& ctx, const Vector<SampleData>& vec, bool visible, int yPos );
|
||||
void PreprocessMessages( const TimelineContext& ctx, const Vector<short_ptr<MessageData>>& vec, uint64_t tid, bool visible, int yPos );
|
||||
void PreprocessLocks( const TimelineContext& ctx, const unordered_flat_map<uint32_t, LockMap*>& locks, uint32_t tid, TaskDispatch& td, bool visible, int yPos );
|
||||
|
||||
const ThreadData* m_thread;
|
||||
bool m_ghost;
|
||||
@@ -53,6 +54,7 @@ private:
|
||||
std::vector<ContextSwitchDraw> m_ctxDraw;
|
||||
std::vector<TimelineDraw> m_draw;
|
||||
std::vector<MessagesDraw> m_msgDraw;
|
||||
std::vector<std::unique_ptr<LockDraw>> m_lockDraw;
|
||||
int m_depth;
|
||||
bool m_hasCtxSwitch;
|
||||
bool m_hasSamples;
|
||||
|
||||
Reference in New Issue
Block a user