mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Automatically create profiler instance.
This commit is contained in:
@@ -32,6 +32,10 @@ static moodycamel::ProducerToken& GetToken()
|
||||
extern const char* PointerCheckA;
|
||||
const char* PointerCheckB = "tracy";
|
||||
|
||||
#ifndef TRACY_DISABLE
|
||||
Profiler s_profiler;
|
||||
#endif
|
||||
|
||||
static Profiler* s_instance = nullptr;
|
||||
|
||||
Profiler::Profiler()
|
||||
|
||||
Reference in New Issue
Block a user