tracy/TracyClient.cpp

44 lines
1.1 KiB
C++
Raw Normal View History

//
// Tracy profiler
// ----------------
//
// For fast integration, compile and
// link with this source file (and none
2018-07-30 16:12:42 +00:00
// other) in your executable (or in the
// main DLL / shared object on multi-DLL
// projects).
//
// Define TRACY_ENABLE to enable profiler.
#include "common/TracySystem.cpp"
#ifdef TRACY_ENABLE
#include "common/tracy_lz4.cpp"
#include "client/TracyProfiler.cpp"
2018-06-18 23:17:19 +00:00
#include "client/TracyCallstack.cpp"
2019-02-21 20:59:02 +00:00
#include "client/TracySysTime.cpp"
2019-08-12 18:08:15 +00:00
#include "client/TracySysTrace.cpp"
#include "common/TracySocket.cpp"
#include "client/tracy_rpmalloc.cpp"
2019-06-27 15:09:47 +00:00
#include "client/TracyDxt1.cpp"
2019-11-21 18:50:46 +00:00
#if TRACY_HAS_CALLSTACK == 2 || TRACY_HAS_CALLSTACK == 3 || TRACY_HAS_CALLSTACK == 6
2019-01-20 15:55:33 +00:00
# include "libbacktrace/alloc.cpp"
# include "libbacktrace/dwarf.cpp"
# include "libbacktrace/elf.cpp"
# include "libbacktrace/fileline.cpp"
# include "libbacktrace/mmapio.cpp"
# include "libbacktrace/posix.cpp"
# include "libbacktrace/sort.cpp"
# include "libbacktrace/state.cpp"
#endif
#ifdef _MSC_VER
# pragma comment(lib, "ws2_32.lib")
2018-06-18 23:17:19 +00:00
# pragma comment(lib, "dbghelp.lib")
#endif
#endif