mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Fixing some of the copy-paste errors
This commit is contained in:
parent
3ae84647c4
commit
4c397ebe1e
@ -1025,8 +1025,8 @@ thread_local LuaZoneState init_order(104) s_luaZoneState { 0, false };
|
|||||||
static Profiler init_order(105) s_profiler;
|
static Profiler init_order(105) s_profiler;
|
||||||
|
|
||||||
TRACY_API moodycamel::ConcurrentQueue<QueueItem>::ExplicitProducer* GetToken() { return s_token.ptr; }
|
TRACY_API moodycamel::ConcurrentQueue<QueueItem>::ExplicitProducer* GetToken() { return s_token.ptr; }
|
||||||
TRACY_API moodycamel::ConcurrentQueue<QueueItem>& GetQueue() { return s_queue; }
|
|
||||||
TRACY_API Profiler& GetProfiler() { return s_profiler; }
|
TRACY_API Profiler& GetProfiler() { return s_profiler; }
|
||||||
|
TRACY_API moodycamel::ConcurrentQueue<QueueItem>& GetQueue() { return s_queue; }
|
||||||
TRACY_API int64_t GetInitTime() { return s_initTime.val; }
|
TRACY_API int64_t GetInitTime() { return s_initTime.val; }
|
||||||
TRACY_API std::atomic<uint32_t>& GetLockCounter() { return s_lockCounter; }
|
TRACY_API std::atomic<uint32_t>& GetLockCounter() { return s_lockCounter; }
|
||||||
TRACY_API std::atomic<uint8_t>& GetGpuCtxCounter() { return s_gpuCtxCounter; }
|
TRACY_API std::atomic<uint8_t>& GetGpuCtxCounter() { return s_gpuCtxCounter; }
|
||||||
@ -1105,7 +1105,7 @@ Profiler::Profiler()
|
|||||||
m_userPort = atoi( userPort );
|
m_userPort = atoi( userPort );
|
||||||
}
|
}
|
||||||
|
|
||||||
#if !defined(TRACY_DELAYED_INIT) || !defined(TRACY_NONSTATIC_PROFILER)
|
#if !defined(TRACY_DELAYED_INIT) || !defined(TRACY_MANUAL_LIFETIME)
|
||||||
SpawnWorkerThreads();
|
SpawnWorkerThreads();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
@ -41,7 +41,7 @@
|
|||||||
|
|
||||||
namespace tracy
|
namespace tracy
|
||||||
{
|
{
|
||||||
#if defined(TRACY_DELAYED_INIT) && defined(TRACY_NONSTATIC_PROFILER)
|
#if defined(TRACY_DELAYED_INIT) && defined(TRACY_MANUAL_LIFETIME)
|
||||||
void StartupProfiler();
|
void StartupProfiler();
|
||||||
void ShutdownProfiler();
|
void ShutdownProfiler();
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user