mirror of https://github.com/wolfpld/tracy.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
![]() [`/DELAYLOAD`](https://learn.microsoft.com/en-us/cpp/build/reference/delayload-delay-load-import?view=msvc-170) only works with exported functions, not variables (as it patches thunks after the first load). So instead of using exporting a pointer for `___tracy_RtlWalkFrameChain`, make it a function that will call said pointer. This only adds a `mov`+`jmp` instructions in optimized builds to the call, which is negligible compared to the actual cost of RtlWalkFrameChain. This also does not affect the reported callstack since it will use a `jmp` without touching the stack, so `___tracy_RtlWalkFrameChain` won't appear in the capture stacktrace. |
4 weeks ago | |
---|---|---|
.. | ||
TracyAlloc.cpp | ||
TracyArmCpuTable.hpp | ||
TracyCallstack.cpp | 4 weeks ago | |
TracyCallstack.h | ||
TracyCallstack.hpp | 4 weeks ago | |
TracyCpuid.hpp | ||
TracyDebug.hpp | ||
TracyDxt1.cpp | ||
TracyDxt1.hpp | ||
TracyFastVector.hpp | ||
TracyKCore.cpp | ||
TracyKCore.hpp | ||
TracyLock.hpp | ||
TracyOverride.cpp | ||
TracyProfiler.cpp | ||
TracyProfiler.hpp | ||
TracyRingBuffer.hpp | ||
TracyScoped.hpp | ||
TracyStringHelpers.hpp | ||
TracySysPower.cpp | ||
TracySysPower.hpp | ||
TracySysTime.cpp | ||
TracySysTime.hpp | ||
TracySysTrace.cpp | 2 months ago | |
TracySysTrace.hpp | ||
TracyThread.hpp | ||
tracy_SPSCQueue.h | ||
tracy_concurrentqueue.h | ||
tracy_rpmalloc.cpp | ||
tracy_rpmalloc.hpp |