mirror of
https://github.com/wolfpld/tracy.git
synced 2026-09-22 18:24:24 +00:00
Implement on-demand Lua zone capture.
This commit is contained in:
@@ -179,6 +179,11 @@ struct ThreadNameData;
|
||||
std::atomic<ThreadNameData*> init_order(104) s_threadNameData( nullptr );
|
||||
#endif
|
||||
|
||||
#ifdef TRACY_ON_DEMAND
|
||||
thread_local uint32_t init_order(104) s_luaZoneCounter( 0 );
|
||||
thread_local bool init_order(104) s_luaZoneActive( false );
|
||||
#endif
|
||||
|
||||
Profiler init_order(105) s_profiler;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user