mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
0c13fb818b
rpmalloc may still be uninitialized here (i.e. if memory allocation/free is performed before any other tracy operation that would initialize thread_local data). Since memory allocations are using serialized queue (which is not held in thread_local section) and obtaining callstack involves memory allocation, we need to initialize rpmalloc manually. This won't be a problem when support for zone callbacks becomes online, because zones are stored in per-thread queues, which initialize thread_local data before rpmalloc is needed in the Callstack() call. |
||
---|---|---|
.. | ||
concurrentqueue.h | ||
tracy_rpmalloc.cpp | ||
tracy_rpmalloc.hpp | ||
TracyCallstack.cpp | ||
TracyCallstack.hpp | ||
TracyFastVector.hpp | ||
TracyLock.hpp | ||
TracyProfiler.cpp | ||
TracyProfiler.hpp | ||
TracyScoped.hpp | ||
TracyThread.hpp |