mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-27 00:04:35 +00:00
Auto-initialize profiler in delayed init scenario.
This commit is contained in:
parent
fad7e72fd4
commit
4eb78f5c86
@ -952,6 +952,11 @@ std::atomic<ThreadNameData*>& GetThreadNameData() { return GetProfilerData().thr
|
|||||||
TRACY_API LuaZoneState& GetLuaZoneState() { return GetProfilerThreadData().luaZoneState; }
|
TRACY_API LuaZoneState& GetLuaZoneState() { return GetProfilerThreadData().luaZoneState; }
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
|
namespace
|
||||||
|
{
|
||||||
|
const auto& __profiler_init = GetProfiler();
|
||||||
|
}
|
||||||
|
|
||||||
#else
|
#else
|
||||||
TRACY_API void InitRPMallocThread()
|
TRACY_API void InitRPMallocThread()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user