mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
26 lines
386 B
C++
26 lines
386 B
C++
#ifndef __TRACYSYSTRACE_HPP__
|
|
#define __TRACYSYSTRACE_HPP__
|
|
|
|
#if defined _WIN32 || defined __CYGWIN__ || defined __linux__
|
|
# define TRACY_HAS_SYSTEM_TRACING
|
|
#endif
|
|
|
|
#ifdef TRACY_HAS_SYSTEM_TRACING
|
|
|
|
#include <stdint.h>
|
|
|
|
namespace tracy
|
|
{
|
|
|
|
bool SysTraceStart();
|
|
void SysTraceStop();
|
|
void SysTraceWorker( void* ptr );
|
|
|
|
void SysTraceSendExternalName( uint64_t thread );
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif
|