TracyClient.cpp (1105B)
1 // 2 // Tracy profiler 3 // ---------------- 4 // 5 // For fast integration, compile and 6 // link with this source file (and none 7 // other) in your executable (or in the 8 // main DLL / shared object on multi-DLL 9 // projects). 10 // 11 12 // Define TRACY_ENABLE to enable profiler. 13 14 #include "common/TracySystem.cpp" 15 16 #ifdef TRACY_ENABLE 17 18 #include "common/tracy_lz4.cpp" 19 #include "client/TracyProfiler.cpp" 20 #include "client/TracyCallstack.cpp" 21 #include "client/TracySysTime.cpp" 22 #include "client/TracySysTrace.cpp" 23 #include "common/TracySocket.cpp" 24 #include "client/tracy_rpmalloc.cpp" 25 #include "client/TracyDxt1.cpp" 26 27 #if TRACY_HAS_CALLSTACK == 2 || TRACY_HAS_CALLSTACK == 3 || TRACY_HAS_CALLSTACK == 6 28 # include "libbacktrace/alloc.cpp" 29 # include "libbacktrace/dwarf.cpp" 30 # include "libbacktrace/elf.cpp" 31 # include "libbacktrace/fileline.cpp" 32 # include "libbacktrace/mmapio.cpp" 33 # include "libbacktrace/posix.cpp" 34 # include "libbacktrace/sort.cpp" 35 # include "libbacktrace/state.cpp" 36 #endif 37 38 #ifdef _MSC_VER 39 # pragma comment(lib, "ws2_32.lib") 40 # pragma comment(lib, "dbghelp.lib") 41 #endif 42 43 #endif