mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-30 09:14:36 +00:00
f2b0aadedc
Note that the old function is still used by code, so this commit won't compile.
26 lines
472 B
C++
26 lines
472 B
C++
#ifndef __TRACYSYSTRACE_HPP__
|
|
#define __TRACYSYSTRACE_HPP__
|
|
|
|
#if !defined TRACY_NO_SYSTEM_TRACING && ( defined _WIN32 || defined __linux__ )
|
|
# define TRACY_HAS_SYSTEM_TRACING
|
|
#endif
|
|
|
|
#ifdef TRACY_HAS_SYSTEM_TRACING
|
|
|
|
#include <stdint.h>
|
|
|
|
namespace tracy
|
|
{
|
|
|
|
bool SysTraceStart( int64_t& samplingPeriod );
|
|
void SysTraceStop();
|
|
void SysTraceWorker( void* ptr );
|
|
|
|
void SysTraceGetExternalName( uint64_t thread, const char*& threadName, const char*& name );
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif
|