TracySysTrace.hpp (426B)
1 #ifndef __TRACYSYSTRACE_HPP__ 2 #define __TRACYSYSTRACE_HPP__ 3 4 #if !defined TRACY_NO_SYSTEM_TRACING && ( defined _WIN32 || defined __CYGWIN__ || defined __linux__ ) 5 # define TRACY_HAS_SYSTEM_TRACING 6 #endif 7 8 #ifdef TRACY_HAS_SYSTEM_TRACING 9 10 #include <stdint.h> 11 12 namespace tracy 13 { 14 15 bool SysTraceStart(); 16 void SysTraceStop(); 17 void SysTraceWorker( void* ptr ); 18 19 void SysTraceSendExternalName( uint64_t thread ); 20 21 } 22 23 #endif 24 25 #endif