#include <windows.h>
#include "ittnotify_types.h"
Go to the source code of this file.
|
#define | ITT_ARCH_IA32 1 |
#define | ITT_ARCH_IA32E 2 |
#define | ITT_ARCH_IA64 3 |
#define | ITT_ARCH ITT_ARCH_IA32 |
#define | ITT_EXTERN_C /* nothing */ |
#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 { 0xED, 0xAB, 0xAB, 0xEC, 0x0D, 0xEE, 0xDA, 0x30 } |
#define | API_VERSION_BUILD 20111111 |
#define | API_VERSION_NUM 0.0.0 |
#define | API_VERSION |
#define | MUTEX_INITIALIZER { 0 } |
#define | strong_alias(name, aliasname) |
#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) |
#define | __itt_fstrlen(s) |
#define | __itt_fstrcpyn(s1, s2, l) |
#define | __itt_fstrdup(s) |
#define | __itt_thread_id() |
#define | __itt_thread_yield() |
#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) |
◆ __ITT_BUILD_ASSERT
#define __ITT_BUILD_ASSERT |
( |
| expr, |
|
|
| suffix ) |
Value: do { \
static char __itt_build_check_##suffix[(expr) ? 1 : -1]; \
__itt_build_check_##suffix[0] = 0; \
} while(0)
Definition at line 155 of file ittnotify_config.h.
◆ __itt_fstrcmp
#define __itt_fstrcmp |
( |
| s1, |
|
|
| s2 ) |
◆ __itt_fstrcpyn
#define __itt_fstrcpyn |
( |
| s1, |
|
|
| s2, |
|
|
| l ) |
◆ __itt_fstrdup
#define __itt_fstrdup |
( |
| s | ) |
|
◆ __itt_fstrlen
#define __itt_fstrlen |
( |
| s | ) |
|
◆ __itt_get_proc
#define __itt_get_proc |
( |
| lib, |
|
|
| name ) |
◆ __itt_load_lib
#define __itt_load_lib |
( |
| name | ) |
|
◆ __itt_mutex_init
#define __itt_mutex_init |
( |
| mutex | ) |
|
◆ __itt_mutex_lock
#define __itt_mutex_lock |
( |
| mutex | ) |
|
◆ __itt_mutex_unlock
#define __itt_mutex_unlock |
( |
| mutex | ) |
|
◆ __itt_system_error
#define __itt_system_error |
( |
| ) |
|
◆ __itt_thread_id
#define __itt_thread_id |
( |
| ) |
|
◆ __itt_thread_yield
#define __itt_thread_yield |
( |
| ) |
|
◆ __itt_unload_lib
#define __itt_unload_lib |
( |
| handle | ) |
|
◆ _ITT_BUILD_ASSERT
#define _ITT_BUILD_ASSERT |
( |
| expr, |
|
|
| suffix ) |
◆ API_VERSION
◆ API_VERSION_BUILD
#define API_VERSION_BUILD 20111111 |
◆ API_VERSION_NUM
#define API_VERSION_NUM 0.0.0 |
◆ ITT_ARCH
◆ ITT_ARCH_IA32
◆ ITT_ARCH_IA32E
◆ ITT_ARCH_IA64
◆ ITT_BUILD_ASSERT
#define ITT_BUILD_ASSERT |
( |
| expr | ) |
|
◆ ITT_EXTERN_C
#define ITT_EXTERN_C /* nothing */ |
◆ ITT_MAGIC
#define ITT_MAGIC { 0xED, 0xAB, 0xAB, 0xEC, 0x0D, 0xEE, 0xDA, 0x30 } |
◆ ITT_TO_STR
◆ ITT_TO_STR_AUX
#define ITT_TO_STR_AUX |
( |
| x | ) |
|
◆ MUTEX_INITIALIZER
#define MUTEX_INITIALIZER { 0 } |
◆ NEW_DOMAIN_A
#define NEW_DOMAIN_A |
( |
| gptr, |
|
|
| h, |
|
|
| h_tail, |
|
|
| name ) |
Value: { \
h = (__itt_domain*)malloc(sizeof(__itt_domain)); \
if (h != NULL) { \
h->flags = 0; \
h->nameW = NULL; \
h->extra1 = 0; \
h->extra2 = NULL; \
h->next = NULL; \
if (h_tail == NULL) \
(gptr)->domain_list = h; \
else \
h_tail->next = h; \
} \
}
Definition at line 407 of file ittnotify_config.h.
◆ NEW_DOMAIN_W
#define NEW_DOMAIN_W |
( |
| gptr, |
|
|
| h, |
|
|
| h_tail, |
|
|
| name ) |
Value: { \
h = (__itt_domain*)malloc(sizeof(__itt_domain)); \
if (h != NULL) { \
h->flags = 0; \
h->nameA = NULL; \
h->nameW =
name ? _wcsdup(
name) : NULL; \
h->extra1 = 0; \
h->extra2 = NULL; \
h->next = NULL; \
if (h_tail == NULL) \
(gptr)->domain_list = h; \
else \
h_tail->next = h; \
} \
}
Definition at line 391 of file ittnotify_config.h.
◆ NEW_STRING_HANDLE_A
#define NEW_STRING_HANDLE_A |
( |
| gptr, |
|
|
| h, |
|
|
| h_tail, |
|
|
| name ) |
Value: { \
h = (__itt_string_handle*)malloc(sizeof(__itt_string_handle)); \
if (h != NULL) { \
h->strW = NULL; \
h->extra1 = 0; \
h->extra2 = NULL; \
h->next = NULL; \
if (h_tail == NULL) \
(gptr)->string_list = h; \
else \
h_tail->next = h; \
} \
}
Definition at line 438 of file ittnotify_config.h.
◆ NEW_STRING_HANDLE_W
#define NEW_STRING_HANDLE_W |
( |
| gptr, |
|
|
| h, |
|
|
| h_tail, |
|
|
| name ) |
Value: { \
h = (__itt_string_handle*)malloc(sizeof(__itt_string_handle)); \
if (h != NULL) { \
h->strA = NULL; \
h->strW =
name ? _wcsdup(
name) : NULL; \
h->extra1 = 0; \
h->extra2 = NULL; \
h->next = NULL; \
if (h_tail == NULL) \
(gptr)->string_list = h; \
else \
h_tail->next = h; \
} \
}
Definition at line 423 of file ittnotify_config.h.
◆ NEW_THREAD_INFO_A
#define NEW_THREAD_INFO_A |
( |
| gptr, |
|
|
| h, |
|
|
| h_tail, |
|
|
| t, |
|
|
| s, |
|
|
| n ) |
Value: { \
if (h != NULL) { \
h->tid = t; \
h->nameW = NULL; \
h->state = s; \
h->extra1 = 0; \
h->extra2 = NULL; \
h->next = NULL; \
if (h_tail == NULL) \
(gptr)->thread_list = h; \
else \
h_tail->next = h; \
} \
}
struct ___itt_thread_info __itt_thread_info
Definition at line 374 of file ittnotify_config.h.
◆ NEW_THREAD_INFO_W
#define NEW_THREAD_INFO_W |
( |
| gptr, |
|
|
| h, |
|
|
| h_tail, |
|
|
| t, |
|
|
| s, |
|
|
| n ) |
Value: { \
if (h != NULL) { \
h->tid = t; \
h->nameA = NULL; \
h->nameW = n ? _wcsdup(n) : NULL; \
h->state = s; \
h->extra1 = 0; \
h->extra2 = NULL; \
h->next = NULL; \
if (h_tail == NULL) \
(gptr)->thread_list = h; \
else \
h_tail->next = h; \
} \
}
Definition at line 357 of file ittnotify_config.h.
◆ strong_alias
#define strong_alias |
( |
| name, |
|
|
| aliasname ) |
◆ __itt_api_info
◆ __itt_api_info_20101001
◆ __itt_global
◆ __itt_thread_info
◆ lib_t
◆ mutex_t
◆ TIDT
◆ __itt_collection_state
Enumerator |
---|
__itt_collection_normal | |
__itt_collection_paused | |
Definition at line 284 of file ittnotify_config.h.
◆ __itt_thread_state
◆ __itt_interlocked_increment()
ITT_INLINE long __itt_interlocked_increment |
( |
volatile long * | ptr | ) |
|