Debian Codegraph @

3rdparty/tracy/public/client/TracySysTrace.hpp

raw symbols SCIP
1 #ifndef __TRACYSYSTRACE_HPP__
2 #define __TRACYSYSTRACE_HPP__
3
4 #if !defined TRACY_NO_SYSTEM_TRACING && ( defined _WIN32 || defined __linux__ )
5 # include "../common/TracyUwp.hpp"
6 # ifndef TRACY_UWP
7 # define TRACY_HAS_SYSTEM_TRACING
8 # endif
9 #endif
10
11 #ifdef TRACY_HAS_SYSTEM_TRACING
12
13 #include <stdint.h>
14
15 namespace tracy
16 {
17
18 bool SysTraceStart( int64_t& samplingPeriod );
19 void SysTraceStop();
20 void SysTraceWorker( void* ptr );
21
22 void SysTraceGetExternalName( uint64_t thread, const char*& threadName, const char*& name );
23
24 }
25
26 #endif
27
28 #endif