pub const ITT_OS_WIN: u32 = 1;
pub const ITT_OS_LINUX: u32 = 2;
pub const ITT_OS_MAC: u32 = 3;
pub const ITT_OS_FREEBSD: u32 = 4;
pub const ITT_OS_OPENBSD: u32 = 5;
pub const ITT_OS: u32 = 2;
pub const ITT_PLATFORM_WIN: u32 = 1;
pub const ITT_PLATFORM_POSIX: u32 = 2;
pub const ITT_PLATFORM_MAC: u32 = 3;
pub const ITT_PLATFORM_FREEBSD: u32 = 4;
pub const ITT_PLATFORM_OPENBSD: u32 = 5;
pub const ITT_PLATFORM: u32 = 2;
pub const ITT_MAJOR: u32 = 3;
pub const ITT_MINOR: u32 = 0;
pub const __itt_suppress_all_errors: u32 = 2147483647;
pub const __itt_suppress_threading_errors: u32 = 255;
pub const __itt_suppress_memory_errors: u32 = 65280;
pub const __itt_attr_barrier: u32 = 1;
pub const __itt_attr_mutex: u32 = 2;
pub const __itt_heap_leaks: u32 = 1;
pub const __itt_heap_growth: u32 = 2;
pub const __itt_section_exec: u32 = 536870912;
pub const __itt_section_read: u32 = 1073741824;
pub const __itt_section_write: u32 = 2147483648;
pub const __itt_collection_scope___itt_collection_scope_host: __itt_collection_scope = 1;
pub const __itt_collection_scope___itt_collection_scope_offload: __itt_collection_scope = 2;
pub const __itt_collection_scope___itt_collection_scope_all: __itt_collection_scope = 2147483647;
#[doc = " @enum __itt_collection_scope\n @brief Enumerator for collection scopes"]
pub type __itt_collection_scope = ::std::os::raw::c_uint;
pub type __itt_pause_ptr__3_0_t = ::std::option::Option<unsafe extern "C" fn()>;
extern "C" {
pub static mut __itt_pause_ptr__3_0: __itt_pause_ptr__3_0_t;
}
pub type __itt_pause_scoped_ptr__3_0_t =
::std::option::Option<unsafe extern "C" fn(arg1: __itt_collection_scope)>;
extern "C" {
pub static mut __itt_pause_scoped_ptr__3_0: __itt_pause_scoped_ptr__3_0_t;
}
pub type __itt_resume_ptr__3_0_t = ::std::option::Option<unsafe extern "C" fn()>;
extern "C" {
pub static mut __itt_resume_ptr__3_0: __itt_resume_ptr__3_0_t;
}
pub type __itt_resume_scoped_ptr__3_0_t =
::std::option::Option<unsafe extern "C" fn(arg1: __itt_collection_scope)>;
extern "C" {
pub static mut __itt_resume_scoped_ptr__3_0: __itt_resume_scoped_ptr__3_0_t;
}
pub type __itt_detach_ptr__3_0_t = ::std::option::Option<unsafe extern "C" fn()>;
extern "C" {
pub static mut __itt_detach_ptr__3_0: __itt_detach_ptr__3_0_t;
}
#[doc = " @defgroup Intel Processor Trace control\n API from this group provides control over collection and analysis of Intel Processor Trace (Intel PT) data\n Information about Intel Processor Trace technology can be found here (Volume 3 chapter 35):\n https://software.intel.com/sites/default/files/managed/39/c5/325462-sdm-vol-1-2abcd-3abcd.pdf\n Use this API to mark particular code regions for loading detailed performance statistics.\n This mode makes your analysis faster and more accurate.\n @{"]
pub type __itt_pt_region = ::std::os::raw::c_uchar;
pub type __itt_pt_region_create_ptr__3_0_t = ::std::option::Option<
unsafe extern "C" fn(name: *const ::std::os::raw::c_char) -> __itt_pt_region,
>;
extern "C" {
pub static mut __itt_pt_region_create_ptr__3_0: __itt_pt_region_create_ptr__3_0_t;
}
pub type __itt_thread_set_name_ptr__3_0_t =
::std::option::Option<unsafe extern "C" fn(name: *const ::std::os::raw::c_char)>;
extern "C" {
pub static mut __itt_thread_set_name_ptr__3_0: __itt_thread_set_name_ptr__3_0_t;
}
pub type __itt_thread_ignore_ptr__3_0_t = ::std::option::Option<unsafe extern "C" fn()>;
extern "C" {
pub static mut __itt_thread_ignore_ptr__3_0: __itt_thread_ignore_ptr__3_0_t;
}
pub type __itt_suppress_push_ptr__3_0_t =
::std::option::Option<unsafe extern "C" fn(mask: ::std::os::raw::c_uint)>;
extern "C" {
pub static mut __itt_suppress_push_ptr__3_0: __itt_suppress_push_ptr__3_0_t;
}
pub type __itt_suppress_pop_ptr__3_0_t = ::std::option::Option<unsafe extern "C" fn()>;
extern "C" {
pub static mut __itt_suppress_pop_ptr__3_0: __itt_suppress_pop_ptr__3_0_t;
}
pub const __itt_suppress_mode___itt_unsuppress_range: __itt_suppress_mode = 0;
pub const __itt_suppress_mode___itt_suppress_range: __itt_suppress_mode = 1;
#[doc = " @enum __itt_suppress_mode\n @brief Enumerator for the suppressing modes"]
pub type __itt_suppress_mode = ::std::os::raw::c_uint;
#[doc = " @enum __itt_suppress_mode\n @brief Enumerator for the suppressing modes"]
pub use self::__itt_suppress_mode as __itt_suppress_mode_t;
pub type __itt_suppress_mark_range_ptr__3_0_t = ::std::option::Option<
unsafe extern "C" fn(
mode: __itt_suppress_mode_t,
mask: ::std::os::raw::c_uint,
address: *mut ::std::os::raw::c_void,
size: usize,
),
>;
extern "C" {
pub static mut __itt_suppress_mark_range_ptr__3_0: __itt_suppress_mark_range_ptr__3_0_t;
}
pub type __itt_suppress_clear_range_ptr__3_0_t = ::std::option::Option<
unsafe extern "C" fn(
mode: __itt_suppress_mode_t,
mask: ::std::os::raw::c_uint,
address: *mut ::std::os::raw::c_void,
size: usize,
),
>;
extern "C" {
pub static mut __itt_suppress_clear_range_ptr__3_0: __itt_suppress_clear_range_ptr__3_0_t;
}
pub type __itt_sync_create_ptr__3_0_t = ::std::option::Option<
unsafe extern "C" fn(
addr: *mut ::std::os::raw::c_void,
objtype: *const ::std::os::raw::c_char,
objname: *const ::std::os::raw::c_char,
attribute: ::std::os::raw::c_int,
),
>;
extern "C" {
pub static mut __itt_sync_create_ptr__3_0: __itt_sync_create_ptr__3_0_t;
}
pub type __itt_sync_rename_ptr__3_0_t = ::std::option::Option<
unsafe extern "C" fn(addr: *mut ::std::os::raw::c_void, name: *const ::std::os::raw::c_char),
>;
extern "C" {
pub static mut __itt_sync_rename_ptr__3_0: __itt_sync_rename_ptr__3_0_t;
}
pub type __itt_sync_destroy_ptr__3_0_t =
::std::option::Option<unsafe extern "C" fn(addr: *mut ::std::os::raw::c_void)>;
extern "C" {
pub static mut __itt_sync_destroy_ptr__3_0: __itt_sync_destroy_ptr__3_0_t;
}
pub type __itt_sync_prepare_ptr__3_0_t =
::std::option::Option<unsafe extern "C" fn(addr: *mut ::std::os::raw::c_void)>;
extern "C" {
pub static mut __itt_sync_prepare_ptr__3_0: __itt_sync_prepare_ptr__3_0_t;
}
pub type __itt_sync_cancel_ptr__3_0_t =
::std::option::Option<unsafe extern "C" fn(addr: *mut ::std::os::raw::c_void)>;
extern "C" {
pub static mut __itt_sync_cancel_ptr__3_0: __itt_sync_cancel_ptr__3_0_t;
}
pub type __itt_sync_acquired_ptr__3_0_t =
::std::option::Option<unsafe extern "C" fn(addr: *mut ::std::os::raw::c_void)>;
extern "C" {
pub static mut __itt_sync_acquired_ptr__3_0: __itt_sync_acquired_ptr__3_0_t;
}
pub type __itt_sync_releasing_ptr__3_0_t =
::std::option::Option<unsafe extern "C" fn(addr: *mut ::std::os::raw::c_void)>;
extern "C" {
pub static mut __itt_sync_releasing_ptr__3_0: __itt_sync_releasing_ptr__3_0_t;
}
pub type __itt_fsync_prepare_ptr__3_0_t =
::std::option::Option<unsafe extern "C" fn(addr: *mut ::std::os::raw::c_void)>;
extern "C" {
pub static mut __itt_fsync_prepare_ptr__3_0: __itt_fsync_prepare_ptr__3_0_t;
}
pub type __itt_fsync_cancel_ptr__3_0_t =
::std::option::Option<unsafe extern "C" fn(addr: *mut ::std::os::raw::c_void)>;
extern "C" {
pub static mut __itt_fsync_cancel_ptr__3_0: __itt_fsync_cancel_ptr__3_0_t;
}
pub type __itt_fsync_acquired_ptr__3_0_t =
::std::option::Option<unsafe extern "C" fn(addr: *mut ::std::os::raw::c_void)>;
extern "C" {
pub static mut __itt_fsync_acquired_ptr__3_0: __itt_fsync_acquired_ptr__3_0_t;
}
pub type __itt_fsync_releasing_ptr__3_0_t =
::std::option::Option<unsafe extern "C" fn(addr: *mut ::std::os::raw::c_void)>;
extern "C" {
pub static mut __itt_fsync_releasing_ptr__3_0: __itt_fsync_releasing_ptr__3_0_t;
}
pub type __itt_model_site = *mut ::std::os::raw::c_void;
pub type __itt_model_site_instance = *mut ::std::os::raw::c_void;
pub type __itt_model_task = *mut ::std::os::raw::c_void;
pub type __itt_model_task_instance = *mut ::std::os::raw::c_void;
pub const __itt_model_disable___itt_model_disable_observation: __itt_model_disable = 0;
pub const __itt_model_disable___itt_model_disable_collection: __itt_model_disable = 1;
#[doc = " @enum __itt_model_disable\n @brief Enumerator for the disable methods"]
pub type __itt_model_disable = ::std::os::raw::c_uint;
pub type __itt_model_site_begin_ptr__3_0_t = ::std::option::Option<
unsafe extern "C" fn(
site: *mut __itt_model_site,
instance: *mut __itt_model_site_instance,
name: *const ::std::os::raw::c_char,
),
>;
extern "C" {
pub static mut __itt_model_site_begin_ptr__3_0: __itt_model_site_begin_ptr__3_0_t;
}
pub type __itt_model_site_beginA_ptr__3_0_t =
::std::option::Option<unsafe extern "C" fn(name: *const ::std::os::raw::c_char)>;
extern "C" {
pub static mut __itt_model_site_beginA_ptr__3_0: __itt_model_site_beginA_ptr__3_0_t;
}
pub type __itt_model_site_beginAL_ptr__3_0_t = ::std::option::Option<
unsafe extern "C" fn(name: *const ::std::os::raw::c_char, siteNameLen: usize),
>;
extern "C" {
pub static mut __itt_model_site_beginAL_ptr__3_0: __itt_model_site_beginAL_ptr__3_0_t;
}
pub type __itt_model_site_end_ptr__3_0_t = ::std::option::Option<
unsafe extern "C" fn(site: *mut __itt_model_site, instance: *mut __itt_model_site_instance),
>;
extern "C" {
pub static mut __itt_model_site_end_ptr__3_0: __itt_model_site_end_ptr__3_0_t;
}
pub type __itt_model_site_end_2_ptr__3_0_t = ::std::option::Option<unsafe extern "C" fn()>;
extern "C" {
pub static mut __itt_model_site_end_2_ptr__3_0: __itt_model_site_end_2_ptr__3_0_t;
}
pub type __itt_model_task_begin_ptr__3_0_t = ::std::option::Option<
unsafe extern "C" fn(
task: *mut __itt_model_task,
instance: *mut __itt_model_task_instance,
name: *const ::std::os::raw::c_char,
),
>;
extern "C" {
pub static mut __itt_model_task_begin_ptr__3_0: __itt_model_task_begin_ptr__3_0_t;
}
pub type __itt_model_task_beginA_ptr__3_0_t =
::std::option::Option<unsafe extern "C" fn(name: *const ::std::os::raw::c_char)>;
extern "C" {
pub static mut __itt_model_task_beginA_ptr__3_0: __itt_model_task_beginA_ptr__3_0_t;
}
pub type __itt_model_task_beginAL_ptr__3_0_t = ::std::option::Option<
unsafe extern "C" fn(name: *const ::std::os::raw::c_char, taskNameLen: usize),
>;
extern "C" {
pub static mut __itt_model_task_beginAL_ptr__3_0: __itt_model_task_beginAL_ptr__3_0_t;
}
pub type __itt_model_iteration_taskA_ptr__3_0_t =
::std::option::Option<unsafe extern "C" fn(name: *const ::std::os::raw::c_char)>;
extern "C" {
pub static mut __itt_model_iteration_taskA_ptr__3_0: __itt_model_iteration_taskA_ptr__3_0_t;
}
pub type __itt_model_iteration_taskAL_ptr__3_0_t = ::std::option::Option<
unsafe extern "C" fn(name: *const ::std::os::raw::c_char, taskNameLen: usize),
>;
extern "C" {
pub static mut __itt_model_iteration_taskAL_ptr__3_0: __itt_model_iteration_taskAL_ptr__3_0_t;
}
pub type __itt_model_task_end_ptr__3_0_t = ::std::option::Option<
unsafe extern "C" fn(task: *mut __itt_model_task, instance: *mut __itt_model_task_instance),
>;
extern "C" {
pub static mut __itt_model_task_end_ptr__3_0: __itt_model_task_end_ptr__3_0_t;
}
pub type __itt_model_task_end_2_ptr__3_0_t = ::std::option::Option<unsafe extern "C" fn()>;
extern "C" {
pub static mut __itt_model_task_end_2_ptr__3_0: __itt_model_task_end_2_ptr__3_0_t;
}
pub type __itt_model_lock_acquire_ptr__3_0_t =
::std::option::Option<unsafe extern "C" fn(lock: *mut ::std::os::raw::c_void)>;
extern "C" {
pub static mut __itt_model_lock_acquire_ptr__3_0: __itt_model_lock_acquire_ptr__3_0_t;
}
pub type __itt_model_lock_acquire_2_ptr__3_0_t =
::std::option::Option<unsafe extern "C" fn(lock: *mut ::std::os::raw::c_void)>;
extern "C" {
pub static mut __itt_model_lock_acquire_2_ptr__3_0: __itt_model_lock_acquire_2_ptr__3_0_t;
}
pub type __itt_model_lock_release_ptr__3_0_t =
::std::option::Option<unsafe extern "C" fn(lock: *mut ::std::os::raw::c_void)>;
extern "C" {
pub static mut __itt_model_lock_release_ptr__3_0: __itt_model_lock_release_ptr__3_0_t;
}
pub type __itt_model_lock_release_2_ptr__3_0_t =
::std::option::Option<unsafe extern "C" fn(lock: *mut ::std::os::raw::c_void)>;
extern "C" {
pub static mut __itt_model_lock_release_2_ptr__3_0: __itt_model_lock_release_2_ptr__3_0_t;
}
pub type __itt_model_record_allocation_ptr__3_0_t =
::std::option::Option<unsafe extern "C" fn(addr: *mut ::std::os::raw::c_void, size: usize)>;
extern "C" {
pub static mut __itt_model_record_allocation_ptr__3_0: __itt_model_record_allocation_ptr__3_0_t;
}
pub type __itt_model_record_deallocation_ptr__3_0_t =
::std::option::Option<unsafe extern "C" fn(addr: *mut ::std::os::raw::c_void)>;
extern "C" {
pub static mut __itt_model_record_deallocation_ptr__3_0:
__itt_model_record_deallocation_ptr__3_0_t;
}
pub type __itt_model_induction_uses_ptr__3_0_t =
::std::option::Option<unsafe extern "C" fn(addr: *mut ::std::os::raw::c_void, size: usize)>;
extern "C" {
pub static mut __itt_model_induction_uses_ptr__3_0: __itt_model_induction_uses_ptr__3_0_t;
}
pub type __itt_model_reduction_uses_ptr__3_0_t =
::std::option::Option<unsafe extern "C" fn(addr: *mut ::std::os::raw::c_void, size: usize)>;
extern "C" {
pub static mut __itt_model_reduction_uses_ptr__3_0: __itt_model_reduction_uses_ptr__3_0_t;
}
pub type __itt_model_observe_uses_ptr__3_0_t =
::std::option::Option<unsafe extern "C" fn(addr: *mut ::std::os::raw::c_void, size: usize)>;
extern "C" {
pub static mut __itt_model_observe_uses_ptr__3_0: __itt_model_observe_uses_ptr__3_0_t;
}
pub type __itt_model_clear_uses_ptr__3_0_t =
::std::option::Option<unsafe extern "C" fn(addr: *mut ::std::os::raw::c_void)>;
extern "C" {
pub static mut __itt_model_clear_uses_ptr__3_0: __itt_model_clear_uses_ptr__3_0_t;
}
pub type __itt_model_disable_push_ptr__3_0_t =
::std::option::Option<unsafe extern "C" fn(x: __itt_model_disable)>;
extern "C" {
pub static mut __itt_model_disable_push_ptr__3_0: __itt_model_disable_push_ptr__3_0_t;
}
pub type __itt_model_disable_pop_ptr__3_0_t = ::std::option::Option<unsafe extern "C" fn()>;
extern "C" {
pub static mut __itt_model_disable_pop_ptr__3_0: __itt_model_disable_pop_ptr__3_0_t;
}
pub type __itt_model_aggregate_task_ptr__3_0_t =
::std::option::Option<unsafe extern "C" fn(x: usize)>;
extern "C" {
pub static mut __itt_model_aggregate_task_ptr__3_0: __itt_model_aggregate_task_ptr__3_0_t;
}
#[doc = " @defgroup heap Heap\n @ingroup public\n Heap group\n @{"]
pub type __itt_heap_function = *mut ::std::os::raw::c_void;
pub type __itt_heap_function_create_ptr__3_0_t = ::std::option::Option<
unsafe extern "C" fn(
name: *const ::std::os::raw::c_char,
domain: *const ::std::os::raw::c_char,
) -> __itt_heap_function,
>;
extern "C" {
pub static mut __itt_heap_function_create_ptr__3_0: __itt_heap_function_create_ptr__3_0_t;
}
pub type __itt_heap_allocate_begin_ptr__3_0_t = ::std::option::Option<
unsafe extern "C" fn(h: __itt_heap_function, size: usize, initialized: ::std::os::raw::c_int),
>;
extern "C" {
pub static mut __itt_heap_allocate_begin_ptr__3_0: __itt_heap_allocate_begin_ptr__3_0_t;
}
pub type __itt_heap_allocate_end_ptr__3_0_t = ::std::option::Option<
unsafe extern "C" fn(
h: __itt_heap_function,
addr: *mut *mut ::std::os::raw::c_void,
size: usize,
initialized: ::std::os::raw::c_int,
),
>;
extern "C" {
pub static mut __itt_heap_allocate_end_ptr__3_0: __itt_heap_allocate_end_ptr__3_0_t;
}
pub type __itt_heap_free_begin_ptr__3_0_t = ::std::option::Option<
unsafe extern "C" fn(h: __itt_heap_function, addr: *mut ::std::os::raw::c_void),
>;
extern "C" {
pub static mut __itt_heap_free_begin_ptr__3_0: __itt_heap_free_begin_ptr__3_0_t;
}
pub type __itt_heap_free_end_ptr__3_0_t = ::std::option::Option<
unsafe extern "C" fn(h: __itt_heap_function, addr: *mut ::std::os::raw::c_void),
>;
extern "C" {
pub static mut __itt_heap_free_end_ptr__3_0: __itt_heap_free_end_ptr__3_0_t;
}
pub type __itt_heap_reallocate_begin_ptr__3_0_t = ::std::option::Option<
unsafe extern "C" fn(
h: __itt_heap_function,
addr: *mut ::std::os::raw::c_void,
new_size: usize,
initialized: ::std::os::raw::c_int,
),
>;
extern "C" {
pub static mut __itt_heap_reallocate_begin_ptr__3_0: __itt_heap_reallocate_begin_ptr__3_0_t;
}
pub type __itt_heap_reallocate_end_ptr__3_0_t = ::std::option::Option<
unsafe extern "C" fn(
h: __itt_heap_function,
addr: *mut ::std::os::raw::c_void,
new_addr: *mut *mut ::std::os::raw::c_void,
new_size: usize,
initialized: ::std::os::raw::c_int,
),
>;
extern "C" {
pub static mut __itt_heap_reallocate_end_ptr__3_0: __itt_heap_reallocate_end_ptr__3_0_t;
}
pub type __itt_heap_internal_access_begin_ptr__3_0_t =
::std::option::Option<unsafe extern "C" fn()>;
extern "C" {
pub static mut __itt_heap_internal_access_begin_ptr__3_0:
__itt_heap_internal_access_begin_ptr__3_0_t;
}
pub type __itt_heap_internal_access_end_ptr__3_0_t = ::std::option::Option<unsafe extern "C" fn()>;
extern "C" {
pub static mut __itt_heap_internal_access_end_ptr__3_0:
__itt_heap_internal_access_end_ptr__3_0_t;
}
pub type __itt_heap_record_memory_growth_begin_ptr__3_0_t =
::std::option::Option<unsafe extern "C" fn()>;
extern "C" {
pub static mut __itt_heap_record_memory_growth_begin_ptr__3_0:
__itt_heap_record_memory_growth_begin_ptr__3_0_t;
}
pub type __itt_heap_record_memory_growth_end_ptr__3_0_t =
::std::option::Option<unsafe extern "C" fn()>;
extern "C" {
pub static mut __itt_heap_record_memory_growth_end_ptr__3_0:
__itt_heap_record_memory_growth_end_ptr__3_0_t;
}
pub type __itt_heap_reset_detection_ptr__3_0_t =
::std::option::Option<unsafe extern "C" fn(reset_mask: ::std::os::raw::c_uint)>;
extern "C" {
pub static mut __itt_heap_reset_detection_ptr__3_0: __itt_heap_reset_detection_ptr__3_0_t;
}
pub type __itt_heap_record_ptr__3_0_t =
::std::option::Option<unsafe extern "C" fn(record_mask: ::std::os::raw::c_uint)>;
extern "C" {
pub static mut __itt_heap_record_ptr__3_0: __itt_heap_record_ptr__3_0_t;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct ___itt_domain {
#[doc = "< Zero if disabled, non-zero if enabled. The meaning of different non-zero values is reserved to the runtime"]
pub flags: ::std::os::raw::c_int,
#[doc = "< Copy of original name in ASCII."]
pub nameA: *const ::std::os::raw::c_char,
pub nameW: *mut ::std::os::raw::c_void,
#[doc = "< Reserved to the runtime"]
pub extra1: ::std::os::raw::c_int,
#[doc = "< Reserved to the runtime"]
pub extra2: *mut ::std::os::raw::c_void,
pub next: *mut ___itt_domain,
}
#[test]
fn bindgen_test_layout____itt_domain() {
const UNINIT: ::std::mem::MaybeUninit<___itt_domain> = ::std::mem::MaybeUninit::uninit();
let ptr = UNINIT.as_ptr();
assert_eq!(
::std::mem::size_of::<___itt_domain>(),
48usize,
concat!("Size of: ", stringify!(___itt_domain))
);
assert_eq!(
::std::mem::align_of::<___itt_domain>(),
8usize,
concat!("Alignment of ", stringify!(___itt_domain))
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).flags) as usize - ptr as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(___itt_domain),
"::",
stringify!(flags)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).nameA) as usize - ptr as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(___itt_domain),
"::",
stringify!(nameA)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).nameW) as usize - ptr as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(___itt_domain),
"::",
stringify!(nameW)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).extra1) as usize - ptr as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(___itt_domain),
"::",
stringify!(extra1)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).extra2) as usize - ptr as usize },
32usize,
concat!(
"Offset of field: ",
stringify!(___itt_domain),
"::",
stringify!(extra2)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).next) as usize - ptr as usize },
40usize,
concat!(
"Offset of field: ",
stringify!(___itt_domain),
"::",
stringify!(next)
)
);
}
pub type __itt_domain = ___itt_domain;
pub type __itt_domain_create_ptr__3_0_t = ::std::option::Option<
unsafe extern "C" fn(name: *const ::std::os::raw::c_char) -> *mut __itt_domain,
>;
extern "C" {
pub static mut __itt_domain_create_ptr__3_0: __itt_domain_create_ptr__3_0_t;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct ___itt_id {
pub d1: ::std::os::raw::c_ulonglong,
pub d2: ::std::os::raw::c_ulonglong,
pub d3: ::std::os::raw::c_ulonglong,
}
#[test]
fn bindgen_test_layout____itt_id() {
const UNINIT: ::std::mem::MaybeUninit<___itt_id> = ::std::mem::MaybeUninit::uninit();
let ptr = UNINIT.as_ptr();
assert_eq!(
::std::mem::size_of::<___itt_id>(),
24usize,
concat!("Size of: ", stringify!(___itt_id))
);
assert_eq!(
::std::mem::align_of::<___itt_id>(),
8usize,
concat!("Alignment of ", stringify!(___itt_id))
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).d1) as usize - ptr as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(___itt_id),
"::",
stringify!(d1)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).d2) as usize - ptr as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(___itt_id),
"::",
stringify!(d2)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).d3) as usize - ptr as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(___itt_id),
"::",
stringify!(d3)
)
);
}
pub type __itt_id = ___itt_id;
extern "C" {
#[doc = " @endcond"]
pub static __itt_null: __itt_id;
}
pub type __itt_id_create_ptr__3_0_t =
::std::option::Option<unsafe extern "C" fn(domain: *const __itt_domain, id: __itt_id)>;
extern "C" {
pub static mut __itt_id_create_ptr__3_0: __itt_id_create_ptr__3_0_t;
}
pub type __itt_id_destroy_ptr__3_0_t =
::std::option::Option<unsafe extern "C" fn(domain: *const __itt_domain, id: __itt_id)>;
extern "C" {
pub static mut __itt_id_destroy_ptr__3_0: __itt_id_destroy_ptr__3_0_t;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct ___itt_string_handle {
#[doc = "< Copy of original string in ASCII."]
pub strA: *const ::std::os::raw::c_char,
pub strW: *mut ::std::os::raw::c_void,
#[doc = "< Reserved. Must be zero"]
pub extra1: ::std::os::raw::c_int,
#[doc = "< Reserved. Must be zero"]
pub extra2: *mut ::std::os::raw::c_void,
pub next: *mut ___itt_string_handle,
}
#[test]
fn bindgen_test_layout____itt_string_handle() {
const UNINIT: ::std::mem::MaybeUninit<___itt_string_handle> = ::std::mem::MaybeUninit::uninit();
let ptr = UNINIT.as_ptr();
assert_eq!(
::std::mem::size_of::<___itt_string_handle>(),
40usize,
concat!("Size of: ", stringify!(___itt_string_handle))
);
assert_eq!(
::std::mem::align_of::<___itt_string_handle>(),
8usize,
concat!("Alignment of ", stringify!(___itt_string_handle))
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).strA) as usize - ptr as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(___itt_string_handle),
"::",
stringify!(strA)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).strW) as usize - ptr as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(___itt_string_handle),
"::",
stringify!(strW)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).extra1) as usize - ptr as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(___itt_string_handle),
"::",
stringify!(extra1)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).extra2) as usize - ptr as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(___itt_string_handle),
"::",
stringify!(extra2)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).next) as usize - ptr as usize },
32usize,
concat!(
"Offset of field: ",
stringify!(___itt_string_handle),
"::",
stringify!(next)
)
);
}
pub type __itt_string_handle = ___itt_string_handle;
pub type __itt_string_handle_create_ptr__3_0_t = ::std::option::Option<
unsafe extern "C" fn(name: *const ::std::os::raw::c_char) -> *mut __itt_string_handle,
>;
extern "C" {
pub static mut __itt_string_handle_create_ptr__3_0: __itt_string_handle_create_ptr__3_0_t;
}
#[doc = " @cond exclude_from_documentation"]
pub type __itt_timestamp = ::std::os::raw::c_ulonglong;
pub type __itt_get_timestamp_ptr__3_0_t =
::std::option::Option<unsafe extern "C" fn() -> __itt_timestamp>;
extern "C" {
pub static mut __itt_get_timestamp_ptr__3_0: __itt_get_timestamp_ptr__3_0_t;
}
pub type __itt_region_begin_ptr__3_0_t = ::std::option::Option<
unsafe extern "C" fn(
domain: *const __itt_domain,
id: __itt_id,
parentid: __itt_id,
name: *mut __itt_string_handle,
),
>;
extern "C" {
pub static mut __itt_region_begin_ptr__3_0: __itt_region_begin_ptr__3_0_t;
}
pub type __itt_region_end_ptr__3_0_t =
::std::option::Option<unsafe extern "C" fn(domain: *const __itt_domain, id: __itt_id)>;
extern "C" {
pub static mut __itt_region_end_ptr__3_0: __itt_region_end_ptr__3_0_t;
}
pub type __itt_frame_begin_v3_ptr__3_0_t =
::std::option::Option<unsafe extern "C" fn(domain: *const __itt_domain, id: *mut __itt_id)>;
extern "C" {
pub static mut __itt_frame_begin_v3_ptr__3_0: __itt_frame_begin_v3_ptr__3_0_t;
}
pub type __itt_frame_end_v3_ptr__3_0_t =
::std::option::Option<unsafe extern "C" fn(domain: *const __itt_domain, id: *mut __itt_id)>;
extern "C" {
pub static mut __itt_frame_end_v3_ptr__3_0: __itt_frame_end_v3_ptr__3_0_t;
}
pub type __itt_frame_submit_v3_ptr__3_0_t = ::std::option::Option<
unsafe extern "C" fn(
domain: *const __itt_domain,
id: *mut __itt_id,
begin: __itt_timestamp,
end: __itt_timestamp,
),
>;
extern "C" {
pub static mut __itt_frame_submit_v3_ptr__3_0: __itt_frame_submit_v3_ptr__3_0_t;
}
pub type __itt_task_group_ptr__3_0_t = ::std::option::Option<
unsafe extern "C" fn(
domain: *const __itt_domain,
id: __itt_id,
parentid: __itt_id,
name: *mut __itt_string_handle,
),
>;
extern "C" {
pub static mut __itt_task_group_ptr__3_0: __itt_task_group_ptr__3_0_t;
}
pub type __itt_task_begin_ptr__3_0_t = ::std::option::Option<
unsafe extern "C" fn(
domain: *const __itt_domain,
id: __itt_id,
parentid: __itt_id,
name: *mut __itt_string_handle,
),
>;
extern "C" {
pub static mut __itt_task_begin_ptr__3_0: __itt_task_begin_ptr__3_0_t;
}
pub type __itt_task_begin_fn_ptr__3_0_t = ::std::option::Option<
unsafe extern "C" fn(
domain: *const __itt_domain,
id: __itt_id,
parentid: __itt_id,
fn_: *mut ::std::os::raw::c_void,
),
>;
extern "C" {
pub static mut __itt_task_begin_fn_ptr__3_0: __itt_task_begin_fn_ptr__3_0_t;
}
pub type __itt_task_end_ptr__3_0_t =
::std::option::Option<unsafe extern "C" fn(domain: *const __itt_domain)>;
extern "C" {
pub static mut __itt_task_end_ptr__3_0: __itt_task_end_ptr__3_0_t;
}
pub type __itt_task_begin_overlapped_ptr__3_0_t = ::std::option::Option<
unsafe extern "C" fn(
domain: *const __itt_domain,
taskid: __itt_id,
parentid: __itt_id,
name: *mut __itt_string_handle,
),
>;
extern "C" {
pub static mut __itt_task_begin_overlapped_ptr__3_0: __itt_task_begin_overlapped_ptr__3_0_t;
}
pub type __itt_task_end_overlapped_ptr__3_0_t =
::std::option::Option<unsafe extern "C" fn(domain: *const __itt_domain, taskid: __itt_id)>;
extern "C" {
pub static mut __itt_task_end_overlapped_ptr__3_0: __itt_task_end_overlapped_ptr__3_0_t;
}
pub const __itt_scope___itt_scope_unknown: __itt_scope = 0;
pub const __itt_scope___itt_scope_global: __itt_scope = 1;
pub const __itt_scope___itt_scope_track_group: __itt_scope = 2;
pub const __itt_scope___itt_scope_track: __itt_scope = 3;
pub const __itt_scope___itt_scope_task: __itt_scope = 4;
pub const __itt_scope___itt_scope_marker: __itt_scope = 5;
#[doc = " @brief Describes the scope of an event object in the trace."]
pub type __itt_scope = ::std::os::raw::c_uint;
pub type __itt_marker_ptr__3_0_t = ::std::option::Option<
unsafe extern "C" fn(
domain: *const __itt_domain,
id: __itt_id,
name: *mut __itt_string_handle,
scope: __itt_scope,
),
>;
extern "C" {
pub static mut __itt_marker_ptr__3_0: __itt_marker_ptr__3_0_t;
}
pub const __itt_metadata_type___itt_metadata_unknown: __itt_metadata_type = 0;
#[doc = "< Unsigned 64-bit integer"]
pub const __itt_metadata_type___itt_metadata_u64: __itt_metadata_type = 1;
#[doc = "< Signed 64-bit integer"]
pub const __itt_metadata_type___itt_metadata_s64: __itt_metadata_type = 2;
#[doc = "< Unsigned 32-bit integer"]
pub const __itt_metadata_type___itt_metadata_u32: __itt_metadata_type = 3;
#[doc = "< Signed 32-bit integer"]
pub const __itt_metadata_type___itt_metadata_s32: __itt_metadata_type = 4;
#[doc = "< Unsigned 16-bit integer"]
pub const __itt_metadata_type___itt_metadata_u16: __itt_metadata_type = 5;
#[doc = "< Signed 16-bit integer"]
pub const __itt_metadata_type___itt_metadata_s16: __itt_metadata_type = 6;
#[doc = "< Signed 32-bit floating-point"]
pub const __itt_metadata_type___itt_metadata_float: __itt_metadata_type = 7;
#[doc = "< SIgned 64-bit floating-point"]
pub const __itt_metadata_type___itt_metadata_double: __itt_metadata_type = 8;
#[doc = " @ingroup parameters\n @brief describes the type of metadata"]
pub type __itt_metadata_type = ::std::os::raw::c_uint;
pub type __itt_metadata_add_ptr__3_0_t = ::std::option::Option<
unsafe extern "C" fn(
domain: *const __itt_domain,
id: __itt_id,
key: *mut __itt_string_handle,
type_: __itt_metadata_type,
count: usize,
data: *mut ::std::os::raw::c_void,
),
>;
extern "C" {
pub static mut __itt_metadata_add_ptr__3_0: __itt_metadata_add_ptr__3_0_t;
}
pub type __itt_metadata_str_add_ptr__3_0_t = ::std::option::Option<
unsafe extern "C" fn(
domain: *const __itt_domain,
id: __itt_id,
key: *mut __itt_string_handle,
data: *const ::std::os::raw::c_char,
length: usize,
),
>;
extern "C" {
pub static mut __itt_metadata_str_add_ptr__3_0: __itt_metadata_str_add_ptr__3_0_t;
}
pub type __itt_metadata_add_with_scope_ptr__3_0_t = ::std::option::Option<
unsafe extern "C" fn(
domain: *const __itt_domain,
scope: __itt_scope,
key: *mut __itt_string_handle,
type_: __itt_metadata_type,
count: usize,
data: *mut ::std::os::raw::c_void,
),
>;
extern "C" {
pub static mut __itt_metadata_add_with_scope_ptr__3_0: __itt_metadata_add_with_scope_ptr__3_0_t;
}
pub type __itt_metadata_str_add_with_scope_ptr__3_0_t = ::std::option::Option<
unsafe extern "C" fn(
domain: *const __itt_domain,
scope: __itt_scope,
key: *mut __itt_string_handle,
data: *const ::std::os::raw::c_char,
length: usize,
),
>;
extern "C" {
pub static mut __itt_metadata_str_add_with_scope_ptr__3_0:
__itt_metadata_str_add_with_scope_ptr__3_0_t;
}
pub const __itt_relation___itt_relation_is_unknown: __itt_relation = 0;
#[doc = "< \"A is dependent on B\" means that A cannot start until B completes"]
pub const __itt_relation___itt_relation_is_dependent_on: __itt_relation = 1;
#[doc = "< \"A is sibling of B\" means that A and B were created as a group"]
pub const __itt_relation___itt_relation_is_sibling_of: __itt_relation = 2;
#[doc = "< \"A is parent of B\" means that A created B"]
pub const __itt_relation___itt_relation_is_parent_of: __itt_relation = 3;
#[doc = "< \"A is continuation of B\" means that A assumes the dependencies of B"]
pub const __itt_relation___itt_relation_is_continuation_of: __itt_relation = 4;
#[doc = "< \"A is child of B\" means that A was created by B (inverse of is_parent_of)"]
pub const __itt_relation___itt_relation_is_child_of: __itt_relation = 5;
#[doc = "< \"A is continued by B\" means that B assumes the dependencies of A (inverse of is_continuation_of)"]
pub const __itt_relation___itt_relation_is_continued_by: __itt_relation = 6;
#[doc = "< \"A is predecessor to B\" means that B cannot start until A completes (inverse of is_dependent_on)"]
pub const __itt_relation___itt_relation_is_predecessor_to: __itt_relation = 7;
#[doc = " @ingroup relations\n @brief The kind of relation between two instances is specified by the enumerated type __itt_relation.\n Relations between instances can be added with an API call. The relation\n API uses instance IDs. Relations can be added before or after the actual\n instances are created and persist independently of the instances. This\n is the motivation for having different lifetimes for instance IDs and\n the actual instances."]
pub type __itt_relation = ::std::os::raw::c_uint;
pub type __itt_relation_add_to_current_ptr__3_0_t = ::std::option::Option<
unsafe extern "C" fn(domain: *const __itt_domain, relation: __itt_relation, tail: __itt_id),
>;
extern "C" {
pub static mut __itt_relation_add_to_current_ptr__3_0: __itt_relation_add_to_current_ptr__3_0_t;
}
pub type __itt_relation_add_ptr__3_0_t = ::std::option::Option<
unsafe extern "C" fn(
domain: *const __itt_domain,
head: __itt_id,
relation: __itt_relation,
tail: __itt_id,
),
>;
extern "C" {
pub static mut __itt_relation_add_ptr__3_0: __itt_relation_add_ptr__3_0_t;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct ___itt_clock_info {
#[doc = "< Clock domain frequency"]
pub clock_freq: ::std::os::raw::c_ulonglong,
#[doc = "< Clock domain base timestamp"]
pub clock_base: ::std::os::raw::c_ulonglong,
}
#[test]
fn bindgen_test_layout____itt_clock_info() {
const UNINIT: ::std::mem::MaybeUninit<___itt_clock_info> = ::std::mem::MaybeUninit::uninit();
let ptr = UNINIT.as_ptr();
assert_eq!(
::std::mem::size_of::<___itt_clock_info>(),
16usize,
concat!("Size of: ", stringify!(___itt_clock_info))
);
assert_eq!(
::std::mem::align_of::<___itt_clock_info>(),
8usize,
concat!("Alignment of ", stringify!(___itt_clock_info))
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).clock_freq) as usize - ptr as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(___itt_clock_info),
"::",
stringify!(clock_freq)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).clock_base) as usize - ptr as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(___itt_clock_info),
"::",
stringify!(clock_base)
)
);
}
pub type __itt_clock_info = ___itt_clock_info;
#[doc = " @cond exclude_from_documentation"]
pub type __itt_get_clock_info_fn = ::std::option::Option<
unsafe extern "C" fn(clock_info: *mut __itt_clock_info, data: *mut ::std::os::raw::c_void),
>;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct ___itt_clock_domain {
#[doc = "< Most recent clock domain info"]
pub info: __itt_clock_info,
#[doc = "< Callback function pointer"]
pub fn_: __itt_get_clock_info_fn,
#[doc = "< Input argument for the callback function"]
pub fn_data: *mut ::std::os::raw::c_void,
#[doc = "< Reserved. Must be zero"]
pub extra1: ::std::os::raw::c_int,
#[doc = "< Reserved. Must be zero"]
pub extra2: *mut ::std::os::raw::c_void,
pub next: *mut ___itt_clock_domain,
}
#[test]
fn bindgen_test_layout____itt_clock_domain() {
const UNINIT: ::std::mem::MaybeUninit<___itt_clock_domain> = ::std::mem::MaybeUninit::uninit();
let ptr = UNINIT.as_ptr();
assert_eq!(
::std::mem::size_of::<___itt_clock_domain>(),
56usize,
concat!("Size of: ", stringify!(___itt_clock_domain))
);
assert_eq!(
::std::mem::align_of::<___itt_clock_domain>(),
8usize,
concat!("Alignment of ", stringify!(___itt_clock_domain))
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).info) as usize - ptr as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(___itt_clock_domain),
"::",
stringify!(info)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).fn_) as usize - ptr as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(___itt_clock_domain),
"::",
stringify!(fn_)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).fn_data) as usize - ptr as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(___itt_clock_domain),
"::",
stringify!(fn_data)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).extra1) as usize - ptr as usize },
32usize,
concat!(
"Offset of field: ",
stringify!(___itt_clock_domain),
"::",
stringify!(extra1)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).extra2) as usize - ptr as usize },
40usize,
concat!(
"Offset of field: ",
stringify!(___itt_clock_domain),
"::",
stringify!(extra2)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).next) as usize - ptr as usize },
48usize,
concat!(
"Offset of field: ",
stringify!(___itt_clock_domain),
"::",
stringify!(next)
)
);
}
pub type __itt_clock_domain = ___itt_clock_domain;
pub type __itt_clock_domain_create_ptr__3_0_t = ::std::option::Option<
unsafe extern "C" fn(
fn_: __itt_get_clock_info_fn,
fn_data: *mut ::std::os::raw::c_void,
) -> *mut __itt_clock_domain,
>;
extern "C" {
pub static mut __itt_clock_domain_create_ptr__3_0: __itt_clock_domain_create_ptr__3_0_t;
}
pub type __itt_clock_domain_reset_ptr__3_0_t = ::std::option::Option<unsafe extern "C" fn()>;
extern "C" {
pub static mut __itt_clock_domain_reset_ptr__3_0: __itt_clock_domain_reset_ptr__3_0_t;
}
pub type __itt_id_create_ex_ptr__3_0_t = ::std::option::Option<
unsafe extern "C" fn(
domain: *const __itt_domain,
clock_domain: *mut __itt_clock_domain,
timestamp: ::std::os::raw::c_ulonglong,
id: __itt_id,
),
>;
extern "C" {
pub static mut __itt_id_create_ex_ptr__3_0: __itt_id_create_ex_ptr__3_0_t;
}
pub type __itt_id_destroy_ex_ptr__3_0_t = ::std::option::Option<
unsafe extern "C" fn(
domain: *const __itt_domain,
clock_domain: *mut __itt_clock_domain,
timestamp: ::std::os::raw::c_ulonglong,
id: __itt_id,
),
>;
extern "C" {
pub static mut __itt_id_destroy_ex_ptr__3_0: __itt_id_destroy_ex_ptr__3_0_t;
}
pub type __itt_task_begin_ex_ptr__3_0_t = ::std::option::Option<
unsafe extern "C" fn(
domain: *const __itt_domain,
clock_domain: *mut __itt_clock_domain,
timestamp: ::std::os::raw::c_ulonglong,
id: __itt_id,
parentid: __itt_id,
name: *mut __itt_string_handle,
),
>;
extern "C" {
pub static mut __itt_task_begin_ex_ptr__3_0: __itt_task_begin_ex_ptr__3_0_t;
}
pub type __itt_task_begin_fn_ex_ptr__3_0_t = ::std::option::Option<
unsafe extern "C" fn(
domain: *const __itt_domain,
clock_domain: *mut __itt_clock_domain,
timestamp: ::std::os::raw::c_ulonglong,
id: __itt_id,
parentid: __itt_id,
fn_: *mut ::std::os::raw::c_void,
),
>;
extern "C" {
pub static mut __itt_task_begin_fn_ex_ptr__3_0: __itt_task_begin_fn_ex_ptr__3_0_t;
}
pub type __itt_task_end_ex_ptr__3_0_t = ::std::option::Option<
unsafe extern "C" fn(
domain: *const __itt_domain,
clock_domain: *mut __itt_clock_domain,
timestamp: ::std::os::raw::c_ulonglong,
),
>;
extern "C" {
pub static mut __itt_task_end_ex_ptr__3_0: __itt_task_end_ex_ptr__3_0_t;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct ___itt_counter {
_unused: [u8; 0],
}
#[doc = " @brief opaque structure for counter identification\n/\n/** @cond exclude_from_documentation"]
pub type __itt_counter = *mut ___itt_counter;
pub type __itt_counter_create_ptr__3_0_t = ::std::option::Option<
unsafe extern "C" fn(
name: *const ::std::os::raw::c_char,
domain: *const ::std::os::raw::c_char,
) -> __itt_counter,
>;
extern "C" {
pub static mut __itt_counter_create_ptr__3_0: __itt_counter_create_ptr__3_0_t;
}
pub type __itt_counter_inc_ptr__3_0_t =
::std::option::Option<unsafe extern "C" fn(id: __itt_counter)>;
extern "C" {
pub static mut __itt_counter_inc_ptr__3_0: __itt_counter_inc_ptr__3_0_t;
}
pub type __itt_counter_inc_delta_ptr__3_0_t = ::std::option::Option<
unsafe extern "C" fn(id: __itt_counter, value: ::std::os::raw::c_ulonglong),
>;
extern "C" {
pub static mut __itt_counter_inc_delta_ptr__3_0: __itt_counter_inc_delta_ptr__3_0_t;
}
pub type __itt_counter_dec_ptr__3_0_t =
::std::option::Option<unsafe extern "C" fn(id: __itt_counter)>;
extern "C" {
pub static mut __itt_counter_dec_ptr__3_0: __itt_counter_dec_ptr__3_0_t;
}
pub type __itt_counter_dec_delta_ptr__3_0_t = ::std::option::Option<
unsafe extern "C" fn(id: __itt_counter, value: ::std::os::raw::c_ulonglong),
>;
extern "C" {
pub static mut __itt_counter_dec_delta_ptr__3_0: __itt_counter_dec_delta_ptr__3_0_t;
}
pub type __itt_counter_inc_v3_ptr__3_0_t = ::std::option::Option<
unsafe extern "C" fn(domain: *const __itt_domain, name: *mut __itt_string_handle),
>;
extern "C" {
pub static mut __itt_counter_inc_v3_ptr__3_0: __itt_counter_inc_v3_ptr__3_0_t;
}
pub type __itt_counter_inc_delta_v3_ptr__3_0_t = ::std::option::Option<
unsafe extern "C" fn(
domain: *const __itt_domain,
name: *mut __itt_string_handle,
delta: ::std::os::raw::c_ulonglong,
),
>;
extern "C" {
pub static mut __itt_counter_inc_delta_v3_ptr__3_0: __itt_counter_inc_delta_v3_ptr__3_0_t;
}
pub type __itt_counter_dec_v3_ptr__3_0_t = ::std::option::Option<
unsafe extern "C" fn(domain: *const __itt_domain, name: *mut __itt_string_handle),
>;
extern "C" {
pub static mut __itt_counter_dec_v3_ptr__3_0: __itt_counter_dec_v3_ptr__3_0_t;
}
pub type __itt_counter_dec_delta_v3_ptr__3_0_t = ::std::option::Option<
unsafe extern "C" fn(
domain: *const __itt_domain,
name: *mut __itt_string_handle,
delta: ::std::os::raw::c_ulonglong,
),
>;
extern "C" {
pub static mut __itt_counter_dec_delta_v3_ptr__3_0: __itt_counter_dec_delta_v3_ptr__3_0_t;
}
pub type __itt_counter_set_value_ptr__3_0_t = ::std::option::Option<
unsafe extern "C" fn(id: __itt_counter, value_ptr: *mut ::std::os::raw::c_void),
>;
extern "C" {
pub static mut __itt_counter_set_value_ptr__3_0: __itt_counter_set_value_ptr__3_0_t;
}
pub type __itt_counter_set_value_ex_ptr__3_0_t = ::std::option::Option<
unsafe extern "C" fn(
id: __itt_counter,
clock_domain: *mut __itt_clock_domain,
timestamp: ::std::os::raw::c_ulonglong,
value_ptr: *mut ::std::os::raw::c_void,
),
>;
extern "C" {
pub static mut __itt_counter_set_value_ex_ptr__3_0: __itt_counter_set_value_ex_ptr__3_0_t;
}
pub type __itt_counter_create_typed_ptr__3_0_t = ::std::option::Option<
unsafe extern "C" fn(
name: *const ::std::os::raw::c_char,
domain: *const ::std::os::raw::c_char,
type_: __itt_metadata_type,
) -> __itt_counter,
>;
extern "C" {
pub static mut __itt_counter_create_typed_ptr__3_0: __itt_counter_create_typed_ptr__3_0_t;
}
pub type __itt_counter_destroy_ptr__3_0_t =
::std::option::Option<unsafe extern "C" fn(id: __itt_counter)>;
extern "C" {
pub static mut __itt_counter_destroy_ptr__3_0: __itt_counter_destroy_ptr__3_0_t;
}
pub type __itt_marker_ex_ptr__3_0_t = ::std::option::Option<
unsafe extern "C" fn(
domain: *const __itt_domain,
clock_domain: *mut __itt_clock_domain,
timestamp: ::std::os::raw::c_ulonglong,
id: __itt_id,
name: *mut __itt_string_handle,
scope: __itt_scope,
),
>;
extern "C" {
pub static mut __itt_marker_ex_ptr__3_0: __itt_marker_ex_ptr__3_0_t;
}
pub type __itt_relation_add_to_current_ex_ptr__3_0_t = ::std::option::Option<
unsafe extern "C" fn(
domain: *const __itt_domain,
clock_domain: *mut __itt_clock_domain,
timestamp: ::std::os::raw::c_ulonglong,
relation: __itt_relation,
tail: __itt_id,
),
>;
extern "C" {
pub static mut __itt_relation_add_to_current_ex_ptr__3_0:
__itt_relation_add_to_current_ex_ptr__3_0_t;
}
pub type __itt_relation_add_ex_ptr__3_0_t = ::std::option::Option<
unsafe extern "C" fn(
domain: *const __itt_domain,
clock_domain: *mut __itt_clock_domain,
timestamp: ::std::os::raw::c_ulonglong,
head: __itt_id,
relation: __itt_relation,
tail: __itt_id,
),
>;
extern "C" {
pub static mut __itt_relation_add_ex_ptr__3_0: __itt_relation_add_ex_ptr__3_0_t;
}
pub const ___itt_track_group_type___itt_track_group_type_normal: ___itt_track_group_type = 0;
#[doc = " @cond exclude_from_documentation"]
pub type ___itt_track_group_type = ::std::os::raw::c_uint;
#[doc = " @cond exclude_from_documentation"]
pub use self::___itt_track_group_type as __itt_track_group_type;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct ___itt_track_group {
#[doc = "< Name of the track group"]
pub name: *mut __itt_string_handle,
#[doc = "< List of child tracks"]
pub track: *mut ___itt_track,
#[doc = "< Type of the track group"]
pub tgtype: __itt_track_group_type,
#[doc = "< Reserved. Must be zero"]
pub extra1: ::std::os::raw::c_int,
#[doc = "< Reserved. Must be zero"]
pub extra2: *mut ::std::os::raw::c_void,
pub next: *mut ___itt_track_group,
}
#[test]
fn bindgen_test_layout____itt_track_group() {
const UNINIT: ::std::mem::MaybeUninit<___itt_track_group> = ::std::mem::MaybeUninit::uninit();
let ptr = UNINIT.as_ptr();
assert_eq!(
::std::mem::size_of::<___itt_track_group>(),
40usize,
concat!("Size of: ", stringify!(___itt_track_group))
);
assert_eq!(
::std::mem::align_of::<___itt_track_group>(),
8usize,
concat!("Alignment of ", stringify!(___itt_track_group))
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).name) as usize - ptr as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(___itt_track_group),
"::",
stringify!(name)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).track) as usize - ptr as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(___itt_track_group),
"::",
stringify!(track)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).tgtype) as usize - ptr as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(___itt_track_group),
"::",
stringify!(tgtype)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).extra1) as usize - ptr as usize },
20usize,
concat!(
"Offset of field: ",
stringify!(___itt_track_group),
"::",
stringify!(extra1)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).extra2) as usize - ptr as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(___itt_track_group),
"::",
stringify!(extra2)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).next) as usize - ptr as usize },
32usize,
concat!(
"Offset of field: ",
stringify!(___itt_track_group),
"::",
stringify!(next)
)
);
}
pub type __itt_track_group = ___itt_track_group;
pub const ___itt_track_type___itt_track_type_normal: ___itt_track_type = 0;
#[doc = " @brief Placeholder for custom track types. Currently, \"normal\" custom track\n is the only available track type."]
pub type ___itt_track_type = ::std::os::raw::c_uint;
#[doc = " @brief Placeholder for custom track types. Currently, \"normal\" custom track\n is the only available track type."]
pub use self::___itt_track_type as __itt_track_type;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct ___itt_track {
#[doc = "< Name of the track group"]
pub name: *mut __itt_string_handle,
#[doc = "< Parent group to a track"]
pub group: *mut __itt_track_group,
#[doc = "< Type of the track"]
pub ttype: __itt_track_type,
#[doc = "< Reserved. Must be zero"]
pub extra1: ::std::os::raw::c_int,
#[doc = "< Reserved. Must be zero"]
pub extra2: *mut ::std::os::raw::c_void,
pub next: *mut ___itt_track,
}
#[test]
fn bindgen_test_layout____itt_track() {
const UNINIT: ::std::mem::MaybeUninit<___itt_track> = ::std::mem::MaybeUninit::uninit();
let ptr = UNINIT.as_ptr();
assert_eq!(
::std::mem::size_of::<___itt_track>(),
40usize,
concat!("Size of: ", stringify!(___itt_track))
);
assert_eq!(
::std::mem::align_of::<___itt_track>(),
8usize,
concat!("Alignment of ", stringify!(___itt_track))
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).name) as usize - ptr as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(___itt_track),
"::",
stringify!(name)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).group) as usize - ptr as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(___itt_track),
"::",
stringify!(group)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).ttype) as usize - ptr as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(___itt_track),
"::",
stringify!(ttype)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).extra1) as usize - ptr as usize },
20usize,
concat!(
"Offset of field: ",
stringify!(___itt_track),
"::",
stringify!(extra1)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).extra2) as usize - ptr as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(___itt_track),
"::",
stringify!(extra2)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).next) as usize - ptr as usize },
32usize,
concat!(
"Offset of field: ",
stringify!(___itt_track),
"::",
stringify!(next)
)
);
}
pub type __itt_track = ___itt_track;
pub type __itt_track_group_create_ptr__3_0_t = ::std::option::Option<
unsafe extern "C" fn(
name: *mut __itt_string_handle,
track_group_type: __itt_track_group_type,
) -> *mut __itt_track_group,
>;
extern "C" {
pub static mut __itt_track_group_create_ptr__3_0: __itt_track_group_create_ptr__3_0_t;
}
pub type __itt_track_create_ptr__3_0_t = ::std::option::Option<
unsafe extern "C" fn(
track_group: *mut __itt_track_group,
name: *mut __itt_string_handle,
track_type: __itt_track_type,
) -> *mut __itt_track,
>;
extern "C" {
pub static mut __itt_track_create_ptr__3_0: __itt_track_create_ptr__3_0_t;
}
pub type __itt_set_track_ptr__3_0_t =
::std::option::Option<unsafe extern "C" fn(track: *mut __itt_track)>;
extern "C" {
pub static mut __itt_set_track_ptr__3_0: __itt_set_track_ptr__3_0_t;
}
#[doc = " @cond exclude_from_gpa_documentation */\n/**\n @defgroup events Events\n @ingroup public\n Events group\n @{\n/\n/** @brief user event type"]
pub type __itt_event = ::std::os::raw::c_int;
pub type __itt_event_create_ptr__3_0_t = ::std::option::Option<
unsafe extern "C" fn(
name: *const ::std::os::raw::c_char,
namelen: ::std::os::raw::c_int,
) -> __itt_event,
>;
extern "C" {
pub static mut __itt_event_create_ptr__3_0: __itt_event_create_ptr__3_0_t;
}
pub type __itt_event_start_ptr__3_0_t =
::std::option::Option<unsafe extern "C" fn(event: __itt_event) -> ::std::os::raw::c_int>;
extern "C" {
pub static mut __itt_event_start_ptr__3_0: __itt_event_start_ptr__3_0_t;
}
pub type __itt_event_end_ptr__3_0_t =
::std::option::Option<unsafe extern "C" fn(event: __itt_event) -> ::std::os::raw::c_int>;
extern "C" {
pub static mut __itt_event_end_ptr__3_0: __itt_event_end_ptr__3_0_t;
}
pub type __itt_av_save_ptr__3_0_t = ::std::option::Option<
unsafe extern "C" fn(
data: *mut ::std::os::raw::c_void,
rank: ::std::os::raw::c_int,
dimensions: *const ::std::os::raw::c_int,
type_: ::std::os::raw::c_int,
filePath: *const ::std::os::raw::c_char,
columnOrder: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int,
>;
extern "C" {
pub static mut __itt_av_save_ptr__3_0: __itt_av_save_ptr__3_0_t;
}
pub type __itt_enable_attach_ptr__3_0_t = ::std::option::Option<unsafe extern "C" fn()>;
extern "C" {
pub static mut __itt_enable_attach_ptr__3_0: __itt_enable_attach_ptr__3_0_t;
}
pub type __itt_module_load_ptr__3_0_t = ::std::option::Option<
unsafe extern "C" fn(
start_addr: *mut ::std::os::raw::c_void,
end_addr: *mut ::std::os::raw::c_void,
path: *const ::std::os::raw::c_char,
),
>;
extern "C" {
pub static mut __itt_module_load_ptr__3_0: __itt_module_load_ptr__3_0_t;
}
pub type __itt_module_unload_ptr__3_0_t =
::std::option::Option<unsafe extern "C" fn(addr: *mut ::std::os::raw::c_void)>;
extern "C" {
pub static mut __itt_module_unload_ptr__3_0: __itt_module_unload_ptr__3_0_t;
}
pub const __itt_module_type___itt_module_type_unknown: __itt_module_type = 0;
pub const __itt_module_type___itt_module_type_elf: __itt_module_type = 1;
pub const __itt_module_type___itt_module_type_coff: __itt_module_type = 2;
#[doc = " @cond exclude_from_documentation"]
pub type __itt_module_type = ::std::os::raw::c_uint;
pub const __itt_section_type_itt_section_type_unknown: __itt_section_type = 0;
pub const __itt_section_type_itt_section_type_bss: __itt_section_type = 1;
pub const __itt_section_type_itt_section_type_data: __itt_section_type = 2;
pub const __itt_section_type_itt_section_type_text: __itt_section_type = 3;
#[doc = " @cond exclude_from_documentation"]
pub type __itt_section_type = ::std::os::raw::c_uint;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct ___itt_section_info {
#[doc = "< Section name in UTF8"]
pub name: *const ::std::os::raw::c_char,
#[doc = "< Section content and semantics description"]
pub type_: __itt_section_type,
#[doc = "< Section bit flags that describe attributes using bit mask\n Zero if disabled, non-zero if enabled"]
pub flags: usize,
#[doc = "< Section load(relocated) start address"]
pub start_addr: *mut ::std::os::raw::c_void,
#[doc = "< Section file offset"]
pub size: usize,
#[doc = "< Section size"]
pub file_offset: usize,
}
#[test]
fn bindgen_test_layout____itt_section_info() {
const UNINIT: ::std::mem::MaybeUninit<___itt_section_info> = ::std::mem::MaybeUninit::uninit();
let ptr = UNINIT.as_ptr();
assert_eq!(
::std::mem::size_of::<___itt_section_info>(),
48usize,
concat!("Size of: ", stringify!(___itt_section_info))
);
assert_eq!(
::std::mem::align_of::<___itt_section_info>(),
8usize,
concat!("Alignment of ", stringify!(___itt_section_info))
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).name) as usize - ptr as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(___itt_section_info),
"::",
stringify!(name)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).type_) as usize - ptr as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(___itt_section_info),
"::",
stringify!(type_)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).flags) as usize - ptr as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(___itt_section_info),
"::",
stringify!(flags)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).start_addr) as usize - ptr as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(___itt_section_info),
"::",
stringify!(start_addr)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).size) as usize - ptr as usize },
32usize,
concat!(
"Offset of field: ",
stringify!(___itt_section_info),
"::",
stringify!(size)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).file_offset) as usize - ptr as usize },
40usize,
concat!(
"Offset of field: ",
stringify!(___itt_section_info),
"::",
stringify!(file_offset)
)
);
}
pub type __itt_section_info = ___itt_section_info;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct ___itt_module_object {
#[doc = "< API version"]
pub version: ::std::os::raw::c_uint,
#[doc = "< Unique identifier. This is unchanged for sections that belong to the same module"]
pub module_id: __itt_id,
#[doc = "< Binary module format"]
pub module_type: __itt_module_type,
#[doc = "< Unique module name or path to module in UTF8\n Contains module name when module_bufer and module_size exist\n Contains module path when module_bufer and module_size absent\n module_name remains the same for the certain module_id"]
pub module_name: *const ::std::os::raw::c_char,
#[doc = "< Module buffer content"]
pub module_buffer: *mut ::std::os::raw::c_void,
#[doc = "< Module buffer size */\n/*!< If module_buffer and module_size exist, the binary module is dumped onto the system.\n If module_buffer and module_size do not exist,\n the binary module exists on the system already.\n The module_name parameter contains the path to the module."]
pub module_size: usize,
#[doc = "< Reference to section information"]
pub section_array: *mut __itt_section_info,
pub section_number: usize,
}
#[test]
fn bindgen_test_layout____itt_module_object() {
const UNINIT: ::std::mem::MaybeUninit<___itt_module_object> = ::std::mem::MaybeUninit::uninit();
let ptr = UNINIT.as_ptr();
assert_eq!(
::std::mem::size_of::<___itt_module_object>(),
80usize,
concat!("Size of: ", stringify!(___itt_module_object))
);
assert_eq!(
::std::mem::align_of::<___itt_module_object>(),
8usize,
concat!("Alignment of ", stringify!(___itt_module_object))
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).version) as usize - ptr as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(___itt_module_object),
"::",
stringify!(version)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).module_id) as usize - ptr as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(___itt_module_object),
"::",
stringify!(module_id)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).module_type) as usize - ptr as usize },
32usize,
concat!(
"Offset of field: ",
stringify!(___itt_module_object),
"::",
stringify!(module_type)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).module_name) as usize - ptr as usize },
40usize,
concat!(
"Offset of field: ",
stringify!(___itt_module_object),
"::",
stringify!(module_name)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).module_buffer) as usize - ptr as usize },
48usize,
concat!(
"Offset of field: ",
stringify!(___itt_module_object),
"::",
stringify!(module_buffer)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).module_size) as usize - ptr as usize },
56usize,
concat!(
"Offset of field: ",
stringify!(___itt_module_object),
"::",
stringify!(module_size)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).section_array) as usize - ptr as usize },
64usize,
concat!(
"Offset of field: ",
stringify!(___itt_module_object),
"::",
stringify!(section_array)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).section_number) as usize - ptr as usize },
72usize,
concat!(
"Offset of field: ",
stringify!(___itt_module_object),
"::",
stringify!(section_number)
)
);
}
pub type __itt_module_object = ___itt_module_object;
pub type __itt_module_load_with_sections_ptr__3_0_t =
::std::option::Option<unsafe extern "C" fn(module_obj: *mut __itt_module_object)>;
extern "C" {
pub static mut __itt_module_load_with_sections_ptr__3_0:
__itt_module_load_with_sections_ptr__3_0_t;
}
pub type __itt_module_unload_with_sections_ptr__3_0_t =
::std::option::Option<unsafe extern "C" fn(module_obj: *mut __itt_module_object)>;
extern "C" {
pub static mut __itt_module_unload_with_sections_ptr__3_0:
__itt_module_unload_with_sections_ptr__3_0_t;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct ___itt_histogram {
#[doc = "< Domain of the histogram"]
pub domain: *const __itt_domain,
#[doc = "< Name of the histogram"]
pub nameA: *const ::std::os::raw::c_char,
pub nameW: *mut ::std::os::raw::c_void,
#[doc = "< Type of the histogram X axis"]
pub x_type: __itt_metadata_type,
#[doc = "< Type of the histogram Y axis"]
pub y_type: __itt_metadata_type,
#[doc = "< Reserved to the runtime"]
pub extra1: ::std::os::raw::c_int,
#[doc = "< Reserved to the runtime"]
pub extra2: *mut ::std::os::raw::c_void,
pub next: *mut ___itt_histogram,
}
#[test]
fn bindgen_test_layout____itt_histogram() {
const UNINIT: ::std::mem::MaybeUninit<___itt_histogram> = ::std::mem::MaybeUninit::uninit();
let ptr = UNINIT.as_ptr();
assert_eq!(
::std::mem::size_of::<___itt_histogram>(),
56usize,
concat!("Size of: ", stringify!(___itt_histogram))
);
assert_eq!(
::std::mem::align_of::<___itt_histogram>(),
8usize,
concat!("Alignment of ", stringify!(___itt_histogram))
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).domain) as usize - ptr as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(___itt_histogram),
"::",
stringify!(domain)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).nameA) as usize - ptr as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(___itt_histogram),
"::",
stringify!(nameA)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).nameW) as usize - ptr as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(___itt_histogram),
"::",
stringify!(nameW)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).x_type) as usize - ptr as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(___itt_histogram),
"::",
stringify!(x_type)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).y_type) as usize - ptr as usize },
28usize,
concat!(
"Offset of field: ",
stringify!(___itt_histogram),
"::",
stringify!(y_type)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).extra1) as usize - ptr as usize },
32usize,
concat!(
"Offset of field: ",
stringify!(___itt_histogram),
"::",
stringify!(extra1)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).extra2) as usize - ptr as usize },
40usize,
concat!(
"Offset of field: ",
stringify!(___itt_histogram),
"::",
stringify!(extra2)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).next) as usize - ptr as usize },
48usize,
concat!(
"Offset of field: ",
stringify!(___itt_histogram),
"::",
stringify!(next)
)
);
}
pub type __itt_histogram = ___itt_histogram;
pub type __itt_histogram_create_ptr__3_0_t = ::std::option::Option<
unsafe extern "C" fn(
domain: *const __itt_domain,
name: *const ::std::os::raw::c_char,
x_type: __itt_metadata_type,
y_type: __itt_metadata_type,
) -> *mut __itt_histogram,
>;
extern "C" {
pub static mut __itt_histogram_create_ptr__3_0: __itt_histogram_create_ptr__3_0_t;
}
pub type __itt_histogram_submit_ptr__3_0_t = ::std::option::Option<
unsafe extern "C" fn(
hist: *mut __itt_histogram,
length: usize,
x_data: *mut ::std::os::raw::c_void,
y_data: *mut ::std::os::raw::c_void,
),
>;
extern "C" {
pub static mut __itt_histogram_submit_ptr__3_0: __itt_histogram_submit_ptr__3_0_t;
}
pub type __itt_counter_create_v3_ptr__3_0_t = ::std::option::Option<
unsafe extern "C" fn(
domain: *const __itt_domain,
name: *const ::std::os::raw::c_char,
type_: __itt_metadata_type,
) -> __itt_counter,
>;
extern "C" {
pub static mut __itt_counter_create_v3_ptr__3_0: __itt_counter_create_v3_ptr__3_0_t;
}
pub type __itt_counter_set_value_v3_ptr__3_0_t = ::std::option::Option<
unsafe extern "C" fn(counter: __itt_counter, value_ptr: *mut ::std::os::raw::c_void),
>;
extern "C" {
pub static mut __itt_counter_set_value_v3_ptr__3_0: __itt_counter_set_value_v3_ptr__3_0_t;
}
#[doc = "< Undefined type"]
pub const __itt_context_type___itt_context_unknown: __itt_context_type = 0;
#[doc = "< ASCII string char* type"]
pub const __itt_context_type___itt_context_nameA: __itt_context_type = 1;
#[doc = "< Unicode string wchar_t* type"]
pub const __itt_context_type___itt_context_nameW: __itt_context_type = 2;
#[doc = "< ASCII string char* type"]
pub const __itt_context_type___itt_context_deviceA: __itt_context_type = 3;
#[doc = "< Unicode string wchar_t* type"]
pub const __itt_context_type___itt_context_deviceW: __itt_context_type = 4;
#[doc = "< ASCII string char* type"]
pub const __itt_context_type___itt_context_unitsA: __itt_context_type = 5;
#[doc = "< Unicode string wchar_t* type"]
pub const __itt_context_type___itt_context_unitsW: __itt_context_type = 6;
#[doc = "< ASCII string char* type"]
pub const __itt_context_type___itt_context_pci_addrA: __itt_context_type = 7;
#[doc = "< Unicode string wchar_t* type"]
pub const __itt_context_type___itt_context_pci_addrW: __itt_context_type = 8;
#[doc = "< Unsigned 64-bit integer type"]
pub const __itt_context_type___itt_context_tid: __itt_context_type = 9;
#[doc = "< Unsigned 64-bit integer type"]
pub const __itt_context_type___itt_context_max_val: __itt_context_type = 10;
#[doc = "< Unsigned 64-bit integer type"]
pub const __itt_context_type___itt_context_bandwidth_flag: __itt_context_type = 11;
#[doc = "< Unsigned 64-bit integer type"]
pub const __itt_context_type___itt_context_latency_flag: __itt_context_type = 12;
#[doc = "< Unsigned 64-bit integer type"]
pub const __itt_context_type___itt_context_occupancy_flag: __itt_context_type = 13;
#[doc = "< Unsigned 64-bit integer type"]
pub const __itt_context_type___itt_context_on_thread_flag: __itt_context_type = 14;
#[doc = "< Unsigned 64-bit integer type"]
pub const __itt_context_type___itt_context_is_abs_val_flag: __itt_context_type = 15;
#[doc = "< Unsigned 64-bit integer type"]
pub const __itt_context_type___itt_context_cpu_instructions_flag: __itt_context_type = 16;
#[doc = "< Unsigned 64-bit integer type"]
pub const __itt_context_type___itt_context_cpu_cycles_flag: __itt_context_type = 17;
#[doc = " @brief describes the type of context metadata"]
pub type __itt_context_type = ::std::os::raw::c_uint;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct ___itt_context_metadata {
#[doc = "< Type of the context metadata value"]
pub type_: __itt_context_type,
#[doc = "< Pointer to context metadata value itself"]
pub value: *mut ::std::os::raw::c_void,
}
#[test]
fn bindgen_test_layout____itt_context_metadata() {
const UNINIT: ::std::mem::MaybeUninit<___itt_context_metadata> =
::std::mem::MaybeUninit::uninit();
let ptr = UNINIT.as_ptr();
assert_eq!(
::std::mem::size_of::<___itt_context_metadata>(),
16usize,
concat!("Size of: ", stringify!(___itt_context_metadata))
);
assert_eq!(
::std::mem::align_of::<___itt_context_metadata>(),
8usize,
concat!("Alignment of ", stringify!(___itt_context_metadata))
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).type_) as usize - ptr as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(___itt_context_metadata),
"::",
stringify!(type_)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).value) as usize - ptr as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(___itt_context_metadata),
"::",
stringify!(value)
)
);
}
pub type __itt_context_metadata = ___itt_context_metadata;
pub type __itt_bind_context_metadata_to_counter_ptr__3_0_t = ::std::option::Option<
unsafe extern "C" fn(
counter: __itt_counter,
length: usize,
metadata: *mut __itt_context_metadata,
),
>;
extern "C" {
pub static mut __itt_bind_context_metadata_to_counter_ptr__3_0:
__itt_bind_context_metadata_to_counter_ptr__3_0_t;
}