2017-10-11 00:09:52 +00:00
|
|
|
//
|
|
|
|
// Tracy profiler
|
|
|
|
// ----------------
|
|
|
|
//
|
|
|
|
// For fast integration, compile and
|
|
|
|
// link with this source file (and none
|
|
|
|
// other).
|
|
|
|
//
|
|
|
|
|
2017-10-16 19:34:39 +00:00
|
|
|
// Define TRACY_ENABLE to enable profiler.
|
|
|
|
|
2018-07-17 19:26:31 +00:00
|
|
|
#if ( defined _MSC_VER || defined __CYGWIN__ ) && !defined WIN32_LEAN_AND_MEAN
|
|
|
|
# define WIN32_LEAN_AND_MEAN
|
|
|
|
#endif
|
|
|
|
|
2017-10-18 19:39:33 +00:00
|
|
|
#include "common/TracySystem.cpp"
|
|
|
|
|
2017-10-16 19:34:39 +00:00
|
|
|
#ifdef TRACY_ENABLE
|
|
|
|
|
2017-10-11 00:09:52 +00:00
|
|
|
#include "client/TracyProfiler.cpp"
|
2018-06-18 23:17:19 +00:00
|
|
|
#include "client/TracyCallstack.cpp"
|
2017-10-11 00:09:52 +00:00
|
|
|
#include "common/tracy_lz4.cpp"
|
|
|
|
#include "common/TracySocket.cpp"
|
2017-10-14 15:28:55 +00:00
|
|
|
#include "client/tracy_rpmalloc.cpp"
|
2017-10-11 00:09:52 +00:00
|
|
|
|
|
|
|
#ifdef _MSC_VER
|
|
|
|
# pragma comment(lib, "ws2_32.lib")
|
2018-06-18 23:17:19 +00:00
|
|
|
# pragma comment(lib, "dbghelp.lib")
|
2017-10-11 00:09:52 +00:00
|
|
|
#endif
|
2017-10-16 19:34:39 +00:00
|
|
|
|
|
|
|
#endif
|