mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-23 14:54:34 +00:00
Moving GetProfiler
back to the original place
This commit is contained in:
parent
6b790d778d
commit
a758de2f03
@ -962,8 +962,8 @@ static ProfilerThreadData& GetProfilerThreadData()
|
|||||||
}
|
}
|
||||||
|
|
||||||
TRACY_API moodycamel::ConcurrentQueue<QueueItem>::ExplicitProducer* GetToken() { return GetProfilerThreadData().token.ptr; }
|
TRACY_API moodycamel::ConcurrentQueue<QueueItem>::ExplicitProducer* GetToken() { return GetProfilerThreadData().token.ptr; }
|
||||||
TRACY_API Profiler& GetProfiler() { return GetProfilerData().profiler; }
|
|
||||||
TRACY_API moodycamel::ConcurrentQueue<QueueItem>& GetQueue() { return GetProfilerData().queue; }
|
TRACY_API moodycamel::ConcurrentQueue<QueueItem>& GetQueue() { return GetProfilerData().queue; }
|
||||||
|
TRACY_API Profiler& GetProfiler() { return GetProfilerData().profiler; }
|
||||||
TRACY_API int64_t GetInitTime() { return GetProfilerData().initTime; }
|
TRACY_API int64_t GetInitTime() { return GetProfilerData().initTime; }
|
||||||
TRACY_API std::atomic<uint32_t>& GetLockCounter() { return GetProfilerData().lockCounter; }
|
TRACY_API std::atomic<uint32_t>& GetLockCounter() { return GetProfilerData().lockCounter; }
|
||||||
TRACY_API std::atomic<uint8_t>& GetGpuCtxCounter() { return GetProfilerData().gpuCtxCounter; }
|
TRACY_API std::atomic<uint8_t>& GetGpuCtxCounter() { return GetProfilerData().gpuCtxCounter; }
|
||||||
|
Loading…
Reference in New Issue
Block a user