2019-08-12 18:08:15 +00:00
|
|
|
#ifndef __TRACYSYSTRACE_HPP__
|
|
|
|
#define __TRACYSYSTRACE_HPP__
|
|
|
|
|
2019-08-14 11:56:15 +00:00
|
|
|
#if defined _WIN32 || defined __CYGWIN__ || defined __linux__
|
2019-08-12 18:08:15 +00:00
|
|
|
# define TRACY_HAS_SYSTEM_TRACING
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef TRACY_HAS_SYSTEM_TRACING
|
|
|
|
|
2019-08-16 17:22:23 +00:00
|
|
|
#include <stdint.h>
|
|
|
|
|
2019-08-12 18:08:15 +00:00
|
|
|
namespace tracy
|
|
|
|
{
|
|
|
|
|
|
|
|
bool SysTraceStart();
|
|
|
|
void SysTraceStop();
|
|
|
|
void SysTraceWorker( void* ptr );
|
|
|
|
|
2019-08-16 17:22:23 +00:00
|
|
|
void SysTraceSendExternalName( uint64_t thread );
|
|
|
|
|
2019-08-12 18:08:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|