#ifndef _ITTNOTIFY_CONFIG_H_
#define _ITTNOTIFY_CONFIG_H_
#ifndef ITT_OS_WIN
#define ITT_OS_WIN …
#endif
#ifndef ITT_OS_LINUX
#define ITT_OS_LINUX …
#endif
#ifndef ITT_OS_MAC
#define ITT_OS_MAC …
#endif
#ifndef ITT_OS_FREEBSD
#define ITT_OS_FREEBSD …
#endif
#ifndef ITT_OS
#if defined WIN32 || defined _WIN32
#define ITT_OS …
#elif defined(__APPLE__) && defined(__MACH__)
#define ITT_OS …
#elif defined(__FreeBSD__)
#define ITT_OS …
#else
#define ITT_OS …
#endif
#endif
#ifndef ITT_PLATFORM_WIN
#define ITT_PLATFORM_WIN …
#endif
#ifndef ITT_PLATFORM_POSIX
#define ITT_PLATFORM_POSIX …
#endif
#ifndef ITT_PLATFORM_MAC
#define ITT_PLATFORM_MAC …
#endif
#ifndef ITT_PLATFORM_FREEBSD
#define ITT_PLATFORM_FREEBSD …
#endif
#ifndef ITT_PLATFORM
#if ITT_OS == ITT_OS_WIN
#define ITT_PLATFORM …
#elif ITT_OS == ITT_OS_MAC
#define ITT_PLATFORM …
#elif ITT_OS == ITT_OS_FREEBSD
#define ITT_PLATFORM …
#else
#define ITT_PLATFORM …
#endif
#endif
#if defined(_UNICODE) && !defined(UNICODE)
#define UNICODE
#endif
#include <stddef.h>
#if ITT_PLATFORM == ITT_PLATFORM_WIN
#include <tchar.h>
#else
#include <stdint.h>
#if defined(UNICODE) || defined(_UNICODE)
#include <wchar.h>
#endif
#endif
#ifndef ITTAPI_CDECL
#if ITT_PLATFORM == ITT_PLATFORM_WIN
#define ITTAPI_CDECL …
#else
#if defined _M_IX86 || defined __i386__
#define ITTAPI_CDECL …
#else
#define ITTAPI_CDECL …
#endif
#endif
#endif
#ifndef STDCALL
#if ITT_PLATFORM == ITT_PLATFORM_WIN
#define STDCALL …
#else
#if defined _M_IX86 || defined __i386__
#define STDCALL …
#else
#define STDCALL …
#endif
#endif
#endif
#define ITTAPI …
#define LIBITTAPI …
#define ITTAPI_CALL …
#define LIBITTAPI_CALL …
#if ITT_PLATFORM == ITT_PLATFORM_WIN
#if defined(__MINGW32__) && !defined(__cplusplus)
#define ITT_INLINE …
#else
#define ITT_INLINE …
#endif
#define ITT_INLINE_ATTRIBUTE …
#else
#ifdef __STRICT_ANSI__
#define ITT_INLINE …
#define ITT_INLINE_ATTRIBUTE …
#else
#define ITT_INLINE …
#define ITT_INLINE_ATTRIBUTE …
#endif
#endif
#ifndef ITT_ARCH_IA32
#define ITT_ARCH_IA32 …
#endif
#ifndef ITT_ARCH_IA32E
#define ITT_ARCH_IA32E …
#endif
#ifndef ITT_ARCH_IA64
#define ITT_ARCH_IA64 …
#endif
#ifndef ITT_ARCH_ARM
#define ITT_ARCH_ARM …
#endif
#ifndef ITT_ARCH_PPC64
#define ITT_ARCH_PPC64 …
#endif
#ifndef ITT_ARCH_ARM64
#define ITT_ARCH_ARM64 …
#endif
#ifndef ITT_ARCH_VE
#define ITT_ARCH_VE …
#endif
#ifndef ITT_ARCH_S390X
#define ITT_ARCH_S390X …
#endif
#ifndef ITT_ARCH
#if defined _M_IX86 || defined __i386__
#define ITT_ARCH …
#elif defined _M_X64 || defined _M_AMD64 || defined __x86_64__
#define ITT_ARCH …
#elif defined _M_IA64 || defined __ia64__
#define ITT_ARCH …
#elif defined _M_ARM || defined __arm__
#define ITT_ARCH …
#elif defined __aarch64__
#define ITT_ARCH …
#elif defined __powerpc64__
#define ITT_ARCH …
#elif defined __ve__
#define ITT_ARCH …
#elif defined __s390x__
#define ITT_ARCH …
#endif
#endif
#ifdef __cplusplus
#define ITT_EXTERN_C …
#define ITT_EXTERN_C_BEGIN …
#define ITT_EXTERN_C_END …
#else
#define ITT_EXTERN_C …
#define ITT_EXTERN_C_BEGIN …
#define ITT_EXTERN_C_END …
#endif
#define ITT_TO_STR_AUX(x) …
#define ITT_TO_STR(x) …
#define __ITT_BUILD_ASSERT(expr, suffix) …
#define _ITT_BUILD_ASSERT(expr, suffix) …
#define ITT_BUILD_ASSERT(expr) …
#define ITT_MAGIC …
#define API_VERSION_BUILD …
#ifndef API_VERSION_NUM
#define API_VERSION_NUM …
#endif
#define API_VERSION …
#if ITT_PLATFORM == ITT_PLATFORM_WIN
#include <windows.h>
typedef HMODULE lib_t;
typedef DWORD TIDT;
typedef CRITICAL_SECTION mutex_t;
#ifdef __cplusplus
#define MUTEX_INITIALIZER …
#else
#define MUTEX_INITIALIZER …
#endif
#define strong_alias …
#else
#include <dlfcn.h>
#if defined(UNICODE) || defined(_UNICODE)
#include <wchar.h>
#endif
#ifndef _GNU_SOURCE
#define _GNU_SOURCE …
#endif
#ifndef __USE_UNIX98
#define __USE_UNIX98 …
#endif
#include <pthread.h>
lib_t;
TIDT;
mutex_t;
#define MUTEX_INITIALIZER …
#define _strong_alias(name, aliasname) …
#define strong_alias(name, aliasname) …
#endif
#if ITT_PLATFORM == ITT_PLATFORM_WIN
#define __itt_get_proc …
#define __itt_mutex_init …
#define __itt_mutex_lock …
#define __itt_mutex_unlock …
#define __itt_load_lib …
#define __itt_unload_lib …
#define __itt_system_error …
#define __itt_fstrcmp …
#define __itt_fstrnlen …
#define __itt_fstrcpyn …
#define __itt_fstrdup …
#define __itt_thread_id …
#define __itt_thread_yield …
#ifndef ITT_SIMPLE_INIT
ITT_INLINE long
__itt_interlocked_increment(volatile long *ptr) ITT_INLINE_ATTRIBUTE;
ITT_INLINE long __itt_interlocked_increment(volatile long *ptr) {
return InterlockedIncrement(ptr);
}
#endif
#define DL_SYMBOLS …
#define PTHREAD_SYMBOLS …
#else
#define __itt_get_proc(lib, name) …
#define __itt_mutex_init(mutex) …
#define __itt_mutex_lock(mutex) …
#define __itt_mutex_unlock(mutex) …
#define __itt_load_lib(name) …
#define __itt_unload_lib(handle) …
#define __itt_system_error() …
#define __itt_fstrcmp(s1, s2) …
#ifdef SDL_STRNLEN_S
#define __itt_fstrnlen …
#else
#define __itt_fstrnlen(s, l) …
#endif
#ifdef SDL_STRNCPY_S
#define __itt_fstrcpyn …
#else
#define __itt_fstrcpyn(s1, b, s2, l) …
#endif
#define __itt_fstrdup(s) …
#define __itt_thread_id() …
#define __itt_thread_yield() …
#if ITT_ARCH == ITT_ARCH_IA64
#ifdef __INTEL_COMPILER
#define __TBB_machine_fetchadd4 …
#else
#endif
#elif ITT_ARCH == ITT_ARCH_IA32 || \
ITT_ARCH == ITT_ARCH_IA32E
ITT_INLINE long __TBB_machine_fetchadd4(volatile void *ptr,
long addend) ITT_INLINE_ATTRIBUTE;
ITT_INLINE long __TBB_machine_fetchadd4(volatile void *ptr, long addend) { … }
#else
#define __TBB_machine_fetchadd4 …
#endif
#ifndef ITT_SIMPLE_INIT
ITT_INLINE long
__itt_interlocked_increment(volatile long *ptr) ITT_INLINE_ATTRIBUTE;
ITT_INLINE long __itt_interlocked_increment(volatile long *ptr) { … }
#endif
void *dlopen(const char *, int) __attribute__((weak));
void *dlsym(void *, const char *) __attribute__((weak));
int dlclose(void *) __attribute__((weak));
#define DL_SYMBOLS …
int pthread_mutex_init(pthread_mutex_t *, const pthread_mutexattr_t *)
__attribute__((weak));
int pthread_mutex_lock(pthread_mutex_t *) __attribute__((weak));
int pthread_mutex_unlock(pthread_mutex_t *) __attribute__((weak));
int pthread_mutex_destroy(pthread_mutex_t *) __attribute__((weak));
int pthread_mutexattr_init(pthread_mutexattr_t *) __attribute__((weak));
int pthread_mutexattr_settype(pthread_mutexattr_t *, int) __attribute__((weak));
int pthread_mutexattr_destroy(pthread_mutexattr_t *) __attribute__((weak));
pthread_t pthread_self(void) __attribute__((weak));
#define PTHREAD_SYMBOLS …
#endif
__itt_collection_state;
__itt_thread_state;
#pragma pack(push, 8)
__itt_thread_info;
#include "ittnotify_types.h"
__itt_api_info_20101001;
__itt_api_info;
__itt_counter_info_t;
struct ___itt_domain;
struct ___itt_string_handle;
struct ___itt_histogram;
__itt_global;
#pragma pack(pop)
#define NEW_THREAD_INFO_W(gptr, h, h_tail, t, s, n) …
#define NEW_THREAD_INFO_A(gptr, h, h_tail, t, s, n) …
#define NEW_DOMAIN_W(gptr, h, h_tail, name) …
#define NEW_DOMAIN_A(gptr, h, h_tail, name) …
#define NEW_STRING_HANDLE_W(gptr, h, h_tail, name) …
#define NEW_STRING_HANDLE_A(gptr, h, h_tail, name) …
#define NEW_COUNTER_W(gptr, h, h_tail, name, domain, type) …
#define NEW_COUNTER_A(gptr, h, h_tail, name, domain, type) …
#define NEW_HISTOGRAM_W(gptr, h, h_tail, domain, name, x_type, y_type) …
#define NEW_HISTOGRAM_A(gptr, h, h_tail, domain, name, x_type, y_type) …
#endif