mirror of
https://github.com/wolfpld/tracy.git
synced 2026-06-08 08:33:48 +00:00
Explicit tracking of fiber state in ThreadData.
This replaces the use of hard-to-track global state with well-defined accessor functionality.
This commit is contained in:
@@ -667,6 +667,7 @@ struct ThreadData
|
||||
SampleData pendingSample;
|
||||
uint64_t kernelSampleCnt;
|
||||
uint8_t isFiber;
|
||||
ThreadData* fiber;
|
||||
|
||||
tracy_force_inline void IncStackCount( int16_t srcloc ) { IncSrcLocCount( stackCount, srcloc ); }
|
||||
tracy_force_inline bool DecStackCount( int16_t srcloc ) { return DecSrcLocCount( stackCount, srcloc ); }
|
||||
|
||||
Reference in New Issue
Block a user