1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Optional sending of callstack ptr in memory events.

This commit is contained in:
Bartosz Taudul
2018-06-19 18:51:21 +02:00
parent 8943e4681e
commit d0d3545988
2 changed files with 49 additions and 0 deletions
+2
View File
@@ -62,6 +62,8 @@
#define TracyAlloc( ptr, size ) tracy::Profiler::MemAlloc( ptr, size );
#define TracyFree( ptr ) tracy::Profiler::MemFree( ptr );
#define TracyAllocS( ptr, size, depth ) tracy::Profiler::MemAllocCallstack( ptr, size, depth );
#define TracyFreeS( ptr, depth ) tracy::Profiler::MemFreeCallstack( ptr, depth );
#endif