ittapi_sys/linux/
ittnotify_bindings.rs

1/* automatically generated by rust-bindgen 0.68.1 */
2
3pub const ITT_OS_WIN: u32 = 1;
4pub const ITT_OS_LINUX: u32 = 2;
5pub const ITT_OS_MAC: u32 = 3;
6pub const ITT_OS_FREEBSD: u32 = 4;
7pub const ITT_OS_OPENBSD: u32 = 5;
8pub const ITT_OS: u32 = 2;
9pub const ITT_PLATFORM_WIN: u32 = 1;
10pub const ITT_PLATFORM_POSIX: u32 = 2;
11pub const ITT_PLATFORM_MAC: u32 = 3;
12pub const ITT_PLATFORM_FREEBSD: u32 = 4;
13pub const ITT_PLATFORM_OPENBSD: u32 = 5;
14pub const ITT_PLATFORM: u32 = 2;
15pub const ITT_MAJOR: u32 = 3;
16pub const ITT_MINOR: u32 = 0;
17pub const __itt_suppress_all_errors: u32 = 2147483647;
18pub const __itt_suppress_threading_errors: u32 = 255;
19pub const __itt_suppress_memory_errors: u32 = 65280;
20pub const __itt_attr_barrier: u32 = 1;
21pub const __itt_attr_mutex: u32 = 2;
22pub const __itt_heap_leaks: u32 = 1;
23pub const __itt_heap_growth: u32 = 2;
24pub const __itt_section_exec: u32 = 536870912;
25pub const __itt_section_read: u32 = 1073741824;
26pub const __itt_section_write: u32 = 2147483648;
27pub const __itt_collection_scope___itt_collection_scope_host: __itt_collection_scope = 1;
28pub const __itt_collection_scope___itt_collection_scope_offload: __itt_collection_scope = 2;
29pub const __itt_collection_scope___itt_collection_scope_all: __itt_collection_scope = 2147483647;
30#[doc = " @enum __itt_collection_scope\n @brief Enumerator for collection scopes"]
31pub type __itt_collection_scope = ::std::os::raw::c_uint;
32pub type __itt_pause_ptr__3_0_t = ::std::option::Option<unsafe extern "C" fn()>;
33extern "C" {
34    pub static mut __itt_pause_ptr__3_0: __itt_pause_ptr__3_0_t;
35}
36pub type __itt_pause_scoped_ptr__3_0_t =
37    ::std::option::Option<unsafe extern "C" fn(arg1: __itt_collection_scope)>;
38extern "C" {
39    pub static mut __itt_pause_scoped_ptr__3_0: __itt_pause_scoped_ptr__3_0_t;
40}
41pub type __itt_resume_ptr__3_0_t = ::std::option::Option<unsafe extern "C" fn()>;
42extern "C" {
43    pub static mut __itt_resume_ptr__3_0: __itt_resume_ptr__3_0_t;
44}
45pub type __itt_resume_scoped_ptr__3_0_t =
46    ::std::option::Option<unsafe extern "C" fn(arg1: __itt_collection_scope)>;
47extern "C" {
48    pub static mut __itt_resume_scoped_ptr__3_0: __itt_resume_scoped_ptr__3_0_t;
49}
50pub type __itt_detach_ptr__3_0_t = ::std::option::Option<unsafe extern "C" fn()>;
51extern "C" {
52    pub static mut __itt_detach_ptr__3_0: __itt_detach_ptr__3_0_t;
53}
54#[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 @{"]
55pub type __itt_pt_region = ::std::os::raw::c_uchar;
56pub type __itt_pt_region_create_ptr__3_0_t = ::std::option::Option<
57    unsafe extern "C" fn(name: *const ::std::os::raw::c_char) -> __itt_pt_region,
58>;
59extern "C" {
60    pub static mut __itt_pt_region_create_ptr__3_0: __itt_pt_region_create_ptr__3_0_t;
61}
62pub type __itt_thread_set_name_ptr__3_0_t =
63    ::std::option::Option<unsafe extern "C" fn(name: *const ::std::os::raw::c_char)>;
64extern "C" {
65    pub static mut __itt_thread_set_name_ptr__3_0: __itt_thread_set_name_ptr__3_0_t;
66}
67pub type __itt_thread_ignore_ptr__3_0_t = ::std::option::Option<unsafe extern "C" fn()>;
68extern "C" {
69    pub static mut __itt_thread_ignore_ptr__3_0: __itt_thread_ignore_ptr__3_0_t;
70}
71pub type __itt_suppress_push_ptr__3_0_t =
72    ::std::option::Option<unsafe extern "C" fn(mask: ::std::os::raw::c_uint)>;
73extern "C" {
74    pub static mut __itt_suppress_push_ptr__3_0: __itt_suppress_push_ptr__3_0_t;
75}
76pub type __itt_suppress_pop_ptr__3_0_t = ::std::option::Option<unsafe extern "C" fn()>;
77extern "C" {
78    pub static mut __itt_suppress_pop_ptr__3_0: __itt_suppress_pop_ptr__3_0_t;
79}
80pub const __itt_suppress_mode___itt_unsuppress_range: __itt_suppress_mode = 0;
81pub const __itt_suppress_mode___itt_suppress_range: __itt_suppress_mode = 1;
82#[doc = " @enum __itt_suppress_mode\n @brief Enumerator for the suppressing modes"]
83pub type __itt_suppress_mode = ::std::os::raw::c_uint;
84#[doc = " @enum __itt_suppress_mode\n @brief Enumerator for the suppressing modes"]
85pub use self::__itt_suppress_mode as __itt_suppress_mode_t;
86pub type __itt_suppress_mark_range_ptr__3_0_t = ::std::option::Option<
87    unsafe extern "C" fn(
88        mode: __itt_suppress_mode_t,
89        mask: ::std::os::raw::c_uint,
90        address: *mut ::std::os::raw::c_void,
91        size: usize,
92    ),
93>;
94extern "C" {
95    pub static mut __itt_suppress_mark_range_ptr__3_0: __itt_suppress_mark_range_ptr__3_0_t;
96}
97pub type __itt_suppress_clear_range_ptr__3_0_t = ::std::option::Option<
98    unsafe extern "C" fn(
99        mode: __itt_suppress_mode_t,
100        mask: ::std::os::raw::c_uint,
101        address: *mut ::std::os::raw::c_void,
102        size: usize,
103    ),
104>;
105extern "C" {
106    pub static mut __itt_suppress_clear_range_ptr__3_0: __itt_suppress_clear_range_ptr__3_0_t;
107}
108pub type __itt_sync_create_ptr__3_0_t = ::std::option::Option<
109    unsafe extern "C" fn(
110        addr: *mut ::std::os::raw::c_void,
111        objtype: *const ::std::os::raw::c_char,
112        objname: *const ::std::os::raw::c_char,
113        attribute: ::std::os::raw::c_int,
114    ),
115>;
116extern "C" {
117    pub static mut __itt_sync_create_ptr__3_0: __itt_sync_create_ptr__3_0_t;
118}
119pub type __itt_sync_rename_ptr__3_0_t = ::std::option::Option<
120    unsafe extern "C" fn(addr: *mut ::std::os::raw::c_void, name: *const ::std::os::raw::c_char),
121>;
122extern "C" {
123    pub static mut __itt_sync_rename_ptr__3_0: __itt_sync_rename_ptr__3_0_t;
124}
125pub type __itt_sync_destroy_ptr__3_0_t =
126    ::std::option::Option<unsafe extern "C" fn(addr: *mut ::std::os::raw::c_void)>;
127extern "C" {
128    pub static mut __itt_sync_destroy_ptr__3_0: __itt_sync_destroy_ptr__3_0_t;
129}
130pub type __itt_sync_prepare_ptr__3_0_t =
131    ::std::option::Option<unsafe extern "C" fn(addr: *mut ::std::os::raw::c_void)>;
132extern "C" {
133    pub static mut __itt_sync_prepare_ptr__3_0: __itt_sync_prepare_ptr__3_0_t;
134}
135pub type __itt_sync_cancel_ptr__3_0_t =
136    ::std::option::Option<unsafe extern "C" fn(addr: *mut ::std::os::raw::c_void)>;
137extern "C" {
138    pub static mut __itt_sync_cancel_ptr__3_0: __itt_sync_cancel_ptr__3_0_t;
139}
140pub type __itt_sync_acquired_ptr__3_0_t =
141    ::std::option::Option<unsafe extern "C" fn(addr: *mut ::std::os::raw::c_void)>;
142extern "C" {
143    pub static mut __itt_sync_acquired_ptr__3_0: __itt_sync_acquired_ptr__3_0_t;
144}
145pub type __itt_sync_releasing_ptr__3_0_t =
146    ::std::option::Option<unsafe extern "C" fn(addr: *mut ::std::os::raw::c_void)>;
147extern "C" {
148    pub static mut __itt_sync_releasing_ptr__3_0: __itt_sync_releasing_ptr__3_0_t;
149}
150pub type __itt_fsync_prepare_ptr__3_0_t =
151    ::std::option::Option<unsafe extern "C" fn(addr: *mut ::std::os::raw::c_void)>;
152extern "C" {
153    pub static mut __itt_fsync_prepare_ptr__3_0: __itt_fsync_prepare_ptr__3_0_t;
154}
155pub type __itt_fsync_cancel_ptr__3_0_t =
156    ::std::option::Option<unsafe extern "C" fn(addr: *mut ::std::os::raw::c_void)>;
157extern "C" {
158    pub static mut __itt_fsync_cancel_ptr__3_0: __itt_fsync_cancel_ptr__3_0_t;
159}
160pub type __itt_fsync_acquired_ptr__3_0_t =
161    ::std::option::Option<unsafe extern "C" fn(addr: *mut ::std::os::raw::c_void)>;
162extern "C" {
163    pub static mut __itt_fsync_acquired_ptr__3_0: __itt_fsync_acquired_ptr__3_0_t;
164}
165pub type __itt_fsync_releasing_ptr__3_0_t =
166    ::std::option::Option<unsafe extern "C" fn(addr: *mut ::std::os::raw::c_void)>;
167extern "C" {
168    pub static mut __itt_fsync_releasing_ptr__3_0: __itt_fsync_releasing_ptr__3_0_t;
169}
170pub type __itt_model_site = *mut ::std::os::raw::c_void;
171pub type __itt_model_site_instance = *mut ::std::os::raw::c_void;
172pub type __itt_model_task = *mut ::std::os::raw::c_void;
173pub type __itt_model_task_instance = *mut ::std::os::raw::c_void;
174pub const __itt_model_disable___itt_model_disable_observation: __itt_model_disable = 0;
175pub const __itt_model_disable___itt_model_disable_collection: __itt_model_disable = 1;
176#[doc = " @enum __itt_model_disable\n @brief Enumerator for the disable methods"]
177pub type __itt_model_disable = ::std::os::raw::c_uint;
178pub type __itt_model_site_begin_ptr__3_0_t = ::std::option::Option<
179    unsafe extern "C" fn(
180        site: *mut __itt_model_site,
181        instance: *mut __itt_model_site_instance,
182        name: *const ::std::os::raw::c_char,
183    ),
184>;
185extern "C" {
186    pub static mut __itt_model_site_begin_ptr__3_0: __itt_model_site_begin_ptr__3_0_t;
187}
188pub type __itt_model_site_beginA_ptr__3_0_t =
189    ::std::option::Option<unsafe extern "C" fn(name: *const ::std::os::raw::c_char)>;
190extern "C" {
191    pub static mut __itt_model_site_beginA_ptr__3_0: __itt_model_site_beginA_ptr__3_0_t;
192}
193pub type __itt_model_site_beginAL_ptr__3_0_t = ::std::option::Option<
194    unsafe extern "C" fn(name: *const ::std::os::raw::c_char, siteNameLen: usize),
195>;
196extern "C" {
197    pub static mut __itt_model_site_beginAL_ptr__3_0: __itt_model_site_beginAL_ptr__3_0_t;
198}
199pub type __itt_model_site_end_ptr__3_0_t = ::std::option::Option<
200    unsafe extern "C" fn(site: *mut __itt_model_site, instance: *mut __itt_model_site_instance),
201>;
202extern "C" {
203    pub static mut __itt_model_site_end_ptr__3_0: __itt_model_site_end_ptr__3_0_t;
204}
205pub type __itt_model_site_end_2_ptr__3_0_t = ::std::option::Option<unsafe extern "C" fn()>;
206extern "C" {
207    pub static mut __itt_model_site_end_2_ptr__3_0: __itt_model_site_end_2_ptr__3_0_t;
208}
209pub type __itt_model_task_begin_ptr__3_0_t = ::std::option::Option<
210    unsafe extern "C" fn(
211        task: *mut __itt_model_task,
212        instance: *mut __itt_model_task_instance,
213        name: *const ::std::os::raw::c_char,
214    ),
215>;
216extern "C" {
217    pub static mut __itt_model_task_begin_ptr__3_0: __itt_model_task_begin_ptr__3_0_t;
218}
219pub type __itt_model_task_beginA_ptr__3_0_t =
220    ::std::option::Option<unsafe extern "C" fn(name: *const ::std::os::raw::c_char)>;
221extern "C" {
222    pub static mut __itt_model_task_beginA_ptr__3_0: __itt_model_task_beginA_ptr__3_0_t;
223}
224pub type __itt_model_task_beginAL_ptr__3_0_t = ::std::option::Option<
225    unsafe extern "C" fn(name: *const ::std::os::raw::c_char, taskNameLen: usize),
226>;
227extern "C" {
228    pub static mut __itt_model_task_beginAL_ptr__3_0: __itt_model_task_beginAL_ptr__3_0_t;
229}
230pub type __itt_model_iteration_taskA_ptr__3_0_t =
231    ::std::option::Option<unsafe extern "C" fn(name: *const ::std::os::raw::c_char)>;
232extern "C" {
233    pub static mut __itt_model_iteration_taskA_ptr__3_0: __itt_model_iteration_taskA_ptr__3_0_t;
234}
235pub type __itt_model_iteration_taskAL_ptr__3_0_t = ::std::option::Option<
236    unsafe extern "C" fn(name: *const ::std::os::raw::c_char, taskNameLen: usize),
237>;
238extern "C" {
239    pub static mut __itt_model_iteration_taskAL_ptr__3_0: __itt_model_iteration_taskAL_ptr__3_0_t;
240}
241pub type __itt_model_task_end_ptr__3_0_t = ::std::option::Option<
242    unsafe extern "C" fn(task: *mut __itt_model_task, instance: *mut __itt_model_task_instance),
243>;
244extern "C" {
245    pub static mut __itt_model_task_end_ptr__3_0: __itt_model_task_end_ptr__3_0_t;
246}
247pub type __itt_model_task_end_2_ptr__3_0_t = ::std::option::Option<unsafe extern "C" fn()>;
248extern "C" {
249    pub static mut __itt_model_task_end_2_ptr__3_0: __itt_model_task_end_2_ptr__3_0_t;
250}
251pub type __itt_model_lock_acquire_ptr__3_0_t =
252    ::std::option::Option<unsafe extern "C" fn(lock: *mut ::std::os::raw::c_void)>;
253extern "C" {
254    pub static mut __itt_model_lock_acquire_ptr__3_0: __itt_model_lock_acquire_ptr__3_0_t;
255}
256pub type __itt_model_lock_acquire_2_ptr__3_0_t =
257    ::std::option::Option<unsafe extern "C" fn(lock: *mut ::std::os::raw::c_void)>;
258extern "C" {
259    pub static mut __itt_model_lock_acquire_2_ptr__3_0: __itt_model_lock_acquire_2_ptr__3_0_t;
260}
261pub type __itt_model_lock_release_ptr__3_0_t =
262    ::std::option::Option<unsafe extern "C" fn(lock: *mut ::std::os::raw::c_void)>;
263extern "C" {
264    pub static mut __itt_model_lock_release_ptr__3_0: __itt_model_lock_release_ptr__3_0_t;
265}
266pub type __itt_model_lock_release_2_ptr__3_0_t =
267    ::std::option::Option<unsafe extern "C" fn(lock: *mut ::std::os::raw::c_void)>;
268extern "C" {
269    pub static mut __itt_model_lock_release_2_ptr__3_0: __itt_model_lock_release_2_ptr__3_0_t;
270}
271pub type __itt_model_record_allocation_ptr__3_0_t =
272    ::std::option::Option<unsafe extern "C" fn(addr: *mut ::std::os::raw::c_void, size: usize)>;
273extern "C" {
274    pub static mut __itt_model_record_allocation_ptr__3_0: __itt_model_record_allocation_ptr__3_0_t;
275}
276pub type __itt_model_record_deallocation_ptr__3_0_t =
277    ::std::option::Option<unsafe extern "C" fn(addr: *mut ::std::os::raw::c_void)>;
278extern "C" {
279    pub static mut __itt_model_record_deallocation_ptr__3_0:
280        __itt_model_record_deallocation_ptr__3_0_t;
281}
282pub type __itt_model_induction_uses_ptr__3_0_t =
283    ::std::option::Option<unsafe extern "C" fn(addr: *mut ::std::os::raw::c_void, size: usize)>;
284extern "C" {
285    pub static mut __itt_model_induction_uses_ptr__3_0: __itt_model_induction_uses_ptr__3_0_t;
286}
287pub type __itt_model_reduction_uses_ptr__3_0_t =
288    ::std::option::Option<unsafe extern "C" fn(addr: *mut ::std::os::raw::c_void, size: usize)>;
289extern "C" {
290    pub static mut __itt_model_reduction_uses_ptr__3_0: __itt_model_reduction_uses_ptr__3_0_t;
291}
292pub type __itt_model_observe_uses_ptr__3_0_t =
293    ::std::option::Option<unsafe extern "C" fn(addr: *mut ::std::os::raw::c_void, size: usize)>;
294extern "C" {
295    pub static mut __itt_model_observe_uses_ptr__3_0: __itt_model_observe_uses_ptr__3_0_t;
296}
297pub type __itt_model_clear_uses_ptr__3_0_t =
298    ::std::option::Option<unsafe extern "C" fn(addr: *mut ::std::os::raw::c_void)>;
299extern "C" {
300    pub static mut __itt_model_clear_uses_ptr__3_0: __itt_model_clear_uses_ptr__3_0_t;
301}
302pub type __itt_model_disable_push_ptr__3_0_t =
303    ::std::option::Option<unsafe extern "C" fn(x: __itt_model_disable)>;
304extern "C" {
305    pub static mut __itt_model_disable_push_ptr__3_0: __itt_model_disable_push_ptr__3_0_t;
306}
307pub type __itt_model_disable_pop_ptr__3_0_t = ::std::option::Option<unsafe extern "C" fn()>;
308extern "C" {
309    pub static mut __itt_model_disable_pop_ptr__3_0: __itt_model_disable_pop_ptr__3_0_t;
310}
311pub type __itt_model_aggregate_task_ptr__3_0_t =
312    ::std::option::Option<unsafe extern "C" fn(x: usize)>;
313extern "C" {
314    pub static mut __itt_model_aggregate_task_ptr__3_0: __itt_model_aggregate_task_ptr__3_0_t;
315}
316#[doc = " @defgroup heap Heap\n @ingroup public\n Heap group\n @{"]
317pub type __itt_heap_function = *mut ::std::os::raw::c_void;
318pub type __itt_heap_function_create_ptr__3_0_t = ::std::option::Option<
319    unsafe extern "C" fn(
320        name: *const ::std::os::raw::c_char,
321        domain: *const ::std::os::raw::c_char,
322    ) -> __itt_heap_function,
323>;
324extern "C" {
325    pub static mut __itt_heap_function_create_ptr__3_0: __itt_heap_function_create_ptr__3_0_t;
326}
327pub type __itt_heap_allocate_begin_ptr__3_0_t = ::std::option::Option<
328    unsafe extern "C" fn(h: __itt_heap_function, size: usize, initialized: ::std::os::raw::c_int),
329>;
330extern "C" {
331    pub static mut __itt_heap_allocate_begin_ptr__3_0: __itt_heap_allocate_begin_ptr__3_0_t;
332}
333pub type __itt_heap_allocate_end_ptr__3_0_t = ::std::option::Option<
334    unsafe extern "C" fn(
335        h: __itt_heap_function,
336        addr: *mut *mut ::std::os::raw::c_void,
337        size: usize,
338        initialized: ::std::os::raw::c_int,
339    ),
340>;
341extern "C" {
342    pub static mut __itt_heap_allocate_end_ptr__3_0: __itt_heap_allocate_end_ptr__3_0_t;
343}
344pub type __itt_heap_free_begin_ptr__3_0_t = ::std::option::Option<
345    unsafe extern "C" fn(h: __itt_heap_function, addr: *mut ::std::os::raw::c_void),
346>;
347extern "C" {
348    pub static mut __itt_heap_free_begin_ptr__3_0: __itt_heap_free_begin_ptr__3_0_t;
349}
350pub type __itt_heap_free_end_ptr__3_0_t = ::std::option::Option<
351    unsafe extern "C" fn(h: __itt_heap_function, addr: *mut ::std::os::raw::c_void),
352>;
353extern "C" {
354    pub static mut __itt_heap_free_end_ptr__3_0: __itt_heap_free_end_ptr__3_0_t;
355}
356pub type __itt_heap_reallocate_begin_ptr__3_0_t = ::std::option::Option<
357    unsafe extern "C" fn(
358        h: __itt_heap_function,
359        addr: *mut ::std::os::raw::c_void,
360        new_size: usize,
361        initialized: ::std::os::raw::c_int,
362    ),
363>;
364extern "C" {
365    pub static mut __itt_heap_reallocate_begin_ptr__3_0: __itt_heap_reallocate_begin_ptr__3_0_t;
366}
367pub type __itt_heap_reallocate_end_ptr__3_0_t = ::std::option::Option<
368    unsafe extern "C" fn(
369        h: __itt_heap_function,
370        addr: *mut ::std::os::raw::c_void,
371        new_addr: *mut *mut ::std::os::raw::c_void,
372        new_size: usize,
373        initialized: ::std::os::raw::c_int,
374    ),
375>;
376extern "C" {
377    pub static mut __itt_heap_reallocate_end_ptr__3_0: __itt_heap_reallocate_end_ptr__3_0_t;
378}
379pub type __itt_heap_internal_access_begin_ptr__3_0_t =
380    ::std::option::Option<unsafe extern "C" fn()>;
381extern "C" {
382    pub static mut __itt_heap_internal_access_begin_ptr__3_0:
383        __itt_heap_internal_access_begin_ptr__3_0_t;
384}
385pub type __itt_heap_internal_access_end_ptr__3_0_t = ::std::option::Option<unsafe extern "C" fn()>;
386extern "C" {
387    pub static mut __itt_heap_internal_access_end_ptr__3_0:
388        __itt_heap_internal_access_end_ptr__3_0_t;
389}
390pub type __itt_heap_record_memory_growth_begin_ptr__3_0_t =
391    ::std::option::Option<unsafe extern "C" fn()>;
392extern "C" {
393    pub static mut __itt_heap_record_memory_growth_begin_ptr__3_0:
394        __itt_heap_record_memory_growth_begin_ptr__3_0_t;
395}
396pub type __itt_heap_record_memory_growth_end_ptr__3_0_t =
397    ::std::option::Option<unsafe extern "C" fn()>;
398extern "C" {
399    pub static mut __itt_heap_record_memory_growth_end_ptr__3_0:
400        __itt_heap_record_memory_growth_end_ptr__3_0_t;
401}
402pub type __itt_heap_reset_detection_ptr__3_0_t =
403    ::std::option::Option<unsafe extern "C" fn(reset_mask: ::std::os::raw::c_uint)>;
404extern "C" {
405    pub static mut __itt_heap_reset_detection_ptr__3_0: __itt_heap_reset_detection_ptr__3_0_t;
406}
407pub type __itt_heap_record_ptr__3_0_t =
408    ::std::option::Option<unsafe extern "C" fn(record_mask: ::std::os::raw::c_uint)>;
409extern "C" {
410    pub static mut __itt_heap_record_ptr__3_0: __itt_heap_record_ptr__3_0_t;
411}
412#[repr(C)]
413#[derive(Debug, Copy, Clone)]
414pub struct ___itt_domain {
415    #[doc = "< Zero if disabled, non-zero if enabled. The meaning of different non-zero values is reserved to the runtime"]
416    pub flags: ::std::os::raw::c_int,
417    #[doc = "< Copy of original name in ASCII."]
418    pub nameA: *const ::std::os::raw::c_char,
419    pub nameW: *mut ::std::os::raw::c_void,
420    #[doc = "< Reserved to the runtime"]
421    pub extra1: ::std::os::raw::c_int,
422    #[doc = "< Reserved to the runtime"]
423    pub extra2: *mut ::std::os::raw::c_void,
424    pub next: *mut ___itt_domain,
425}
426#[test]
427fn bindgen_test_layout____itt_domain() {
428    const UNINIT: ::std::mem::MaybeUninit<___itt_domain> = ::std::mem::MaybeUninit::uninit();
429    let ptr = UNINIT.as_ptr();
430    assert_eq!(
431        ::std::mem::size_of::<___itt_domain>(),
432        48usize,
433        concat!("Size of: ", stringify!(___itt_domain))
434    );
435    assert_eq!(
436        ::std::mem::align_of::<___itt_domain>(),
437        8usize,
438        concat!("Alignment of ", stringify!(___itt_domain))
439    );
440    assert_eq!(
441        unsafe { ::std::ptr::addr_of!((*ptr).flags) as usize - ptr as usize },
442        0usize,
443        concat!(
444            "Offset of field: ",
445            stringify!(___itt_domain),
446            "::",
447            stringify!(flags)
448        )
449    );
450    assert_eq!(
451        unsafe { ::std::ptr::addr_of!((*ptr).nameA) as usize - ptr as usize },
452        8usize,
453        concat!(
454            "Offset of field: ",
455            stringify!(___itt_domain),
456            "::",
457            stringify!(nameA)
458        )
459    );
460    assert_eq!(
461        unsafe { ::std::ptr::addr_of!((*ptr).nameW) as usize - ptr as usize },
462        16usize,
463        concat!(
464            "Offset of field: ",
465            stringify!(___itt_domain),
466            "::",
467            stringify!(nameW)
468        )
469    );
470    assert_eq!(
471        unsafe { ::std::ptr::addr_of!((*ptr).extra1) as usize - ptr as usize },
472        24usize,
473        concat!(
474            "Offset of field: ",
475            stringify!(___itt_domain),
476            "::",
477            stringify!(extra1)
478        )
479    );
480    assert_eq!(
481        unsafe { ::std::ptr::addr_of!((*ptr).extra2) as usize - ptr as usize },
482        32usize,
483        concat!(
484            "Offset of field: ",
485            stringify!(___itt_domain),
486            "::",
487            stringify!(extra2)
488        )
489    );
490    assert_eq!(
491        unsafe { ::std::ptr::addr_of!((*ptr).next) as usize - ptr as usize },
492        40usize,
493        concat!(
494            "Offset of field: ",
495            stringify!(___itt_domain),
496            "::",
497            stringify!(next)
498        )
499    );
500}
501pub type __itt_domain = ___itt_domain;
502pub type __itt_domain_create_ptr__3_0_t = ::std::option::Option<
503    unsafe extern "C" fn(name: *const ::std::os::raw::c_char) -> *mut __itt_domain,
504>;
505extern "C" {
506    pub static mut __itt_domain_create_ptr__3_0: __itt_domain_create_ptr__3_0_t;
507}
508#[repr(C)]
509#[derive(Debug, Copy, Clone)]
510pub struct ___itt_id {
511    pub d1: ::std::os::raw::c_ulonglong,
512    pub d2: ::std::os::raw::c_ulonglong,
513    pub d3: ::std::os::raw::c_ulonglong,
514}
515#[test]
516fn bindgen_test_layout____itt_id() {
517    const UNINIT: ::std::mem::MaybeUninit<___itt_id> = ::std::mem::MaybeUninit::uninit();
518    let ptr = UNINIT.as_ptr();
519    assert_eq!(
520        ::std::mem::size_of::<___itt_id>(),
521        24usize,
522        concat!("Size of: ", stringify!(___itt_id))
523    );
524    assert_eq!(
525        ::std::mem::align_of::<___itt_id>(),
526        8usize,
527        concat!("Alignment of ", stringify!(___itt_id))
528    );
529    assert_eq!(
530        unsafe { ::std::ptr::addr_of!((*ptr).d1) as usize - ptr as usize },
531        0usize,
532        concat!(
533            "Offset of field: ",
534            stringify!(___itt_id),
535            "::",
536            stringify!(d1)
537        )
538    );
539    assert_eq!(
540        unsafe { ::std::ptr::addr_of!((*ptr).d2) as usize - ptr as usize },
541        8usize,
542        concat!(
543            "Offset of field: ",
544            stringify!(___itt_id),
545            "::",
546            stringify!(d2)
547        )
548    );
549    assert_eq!(
550        unsafe { ::std::ptr::addr_of!((*ptr).d3) as usize - ptr as usize },
551        16usize,
552        concat!(
553            "Offset of field: ",
554            stringify!(___itt_id),
555            "::",
556            stringify!(d3)
557        )
558    );
559}
560pub type __itt_id = ___itt_id;
561extern "C" {
562    #[doc = " @endcond"]
563    pub static __itt_null: __itt_id;
564}
565pub type __itt_id_create_ptr__3_0_t =
566    ::std::option::Option<unsafe extern "C" fn(domain: *const __itt_domain, id: __itt_id)>;
567extern "C" {
568    pub static mut __itt_id_create_ptr__3_0: __itt_id_create_ptr__3_0_t;
569}
570pub type __itt_id_destroy_ptr__3_0_t =
571    ::std::option::Option<unsafe extern "C" fn(domain: *const __itt_domain, id: __itt_id)>;
572extern "C" {
573    pub static mut __itt_id_destroy_ptr__3_0: __itt_id_destroy_ptr__3_0_t;
574}
575#[repr(C)]
576#[derive(Debug, Copy, Clone)]
577pub struct ___itt_string_handle {
578    #[doc = "< Copy of original string in ASCII."]
579    pub strA: *const ::std::os::raw::c_char,
580    pub strW: *mut ::std::os::raw::c_void,
581    #[doc = "< Reserved. Must be zero"]
582    pub extra1: ::std::os::raw::c_int,
583    #[doc = "< Reserved. Must be zero"]
584    pub extra2: *mut ::std::os::raw::c_void,
585    pub next: *mut ___itt_string_handle,
586}
587#[test]
588fn bindgen_test_layout____itt_string_handle() {
589    const UNINIT: ::std::mem::MaybeUninit<___itt_string_handle> = ::std::mem::MaybeUninit::uninit();
590    let ptr = UNINIT.as_ptr();
591    assert_eq!(
592        ::std::mem::size_of::<___itt_string_handle>(),
593        40usize,
594        concat!("Size of: ", stringify!(___itt_string_handle))
595    );
596    assert_eq!(
597        ::std::mem::align_of::<___itt_string_handle>(),
598        8usize,
599        concat!("Alignment of ", stringify!(___itt_string_handle))
600    );
601    assert_eq!(
602        unsafe { ::std::ptr::addr_of!((*ptr).strA) as usize - ptr as usize },
603        0usize,
604        concat!(
605            "Offset of field: ",
606            stringify!(___itt_string_handle),
607            "::",
608            stringify!(strA)
609        )
610    );
611    assert_eq!(
612        unsafe { ::std::ptr::addr_of!((*ptr).strW) as usize - ptr as usize },
613        8usize,
614        concat!(
615            "Offset of field: ",
616            stringify!(___itt_string_handle),
617            "::",
618            stringify!(strW)
619        )
620    );
621    assert_eq!(
622        unsafe { ::std::ptr::addr_of!((*ptr).extra1) as usize - ptr as usize },
623        16usize,
624        concat!(
625            "Offset of field: ",
626            stringify!(___itt_string_handle),
627            "::",
628            stringify!(extra1)
629        )
630    );
631    assert_eq!(
632        unsafe { ::std::ptr::addr_of!((*ptr).extra2) as usize - ptr as usize },
633        24usize,
634        concat!(
635            "Offset of field: ",
636            stringify!(___itt_string_handle),
637            "::",
638            stringify!(extra2)
639        )
640    );
641    assert_eq!(
642        unsafe { ::std::ptr::addr_of!((*ptr).next) as usize - ptr as usize },
643        32usize,
644        concat!(
645            "Offset of field: ",
646            stringify!(___itt_string_handle),
647            "::",
648            stringify!(next)
649        )
650    );
651}
652pub type __itt_string_handle = ___itt_string_handle;
653pub type __itt_string_handle_create_ptr__3_0_t = ::std::option::Option<
654    unsafe extern "C" fn(name: *const ::std::os::raw::c_char) -> *mut __itt_string_handle,
655>;
656extern "C" {
657    pub static mut __itt_string_handle_create_ptr__3_0: __itt_string_handle_create_ptr__3_0_t;
658}
659#[doc = " @cond exclude_from_documentation"]
660pub type __itt_timestamp = ::std::os::raw::c_ulonglong;
661pub type __itt_get_timestamp_ptr__3_0_t =
662    ::std::option::Option<unsafe extern "C" fn() -> __itt_timestamp>;
663extern "C" {
664    pub static mut __itt_get_timestamp_ptr__3_0: __itt_get_timestamp_ptr__3_0_t;
665}
666pub type __itt_region_begin_ptr__3_0_t = ::std::option::Option<
667    unsafe extern "C" fn(
668        domain: *const __itt_domain,
669        id: __itt_id,
670        parentid: __itt_id,
671        name: *mut __itt_string_handle,
672    ),
673>;
674extern "C" {
675    pub static mut __itt_region_begin_ptr__3_0: __itt_region_begin_ptr__3_0_t;
676}
677pub type __itt_region_end_ptr__3_0_t =
678    ::std::option::Option<unsafe extern "C" fn(domain: *const __itt_domain, id: __itt_id)>;
679extern "C" {
680    pub static mut __itt_region_end_ptr__3_0: __itt_region_end_ptr__3_0_t;
681}
682pub type __itt_frame_begin_v3_ptr__3_0_t =
683    ::std::option::Option<unsafe extern "C" fn(domain: *const __itt_domain, id: *mut __itt_id)>;
684extern "C" {
685    pub static mut __itt_frame_begin_v3_ptr__3_0: __itt_frame_begin_v3_ptr__3_0_t;
686}
687pub type __itt_frame_end_v3_ptr__3_0_t =
688    ::std::option::Option<unsafe extern "C" fn(domain: *const __itt_domain, id: *mut __itt_id)>;
689extern "C" {
690    pub static mut __itt_frame_end_v3_ptr__3_0: __itt_frame_end_v3_ptr__3_0_t;
691}
692pub type __itt_frame_submit_v3_ptr__3_0_t = ::std::option::Option<
693    unsafe extern "C" fn(
694        domain: *const __itt_domain,
695        id: *mut __itt_id,
696        begin: __itt_timestamp,
697        end: __itt_timestamp,
698    ),
699>;
700extern "C" {
701    pub static mut __itt_frame_submit_v3_ptr__3_0: __itt_frame_submit_v3_ptr__3_0_t;
702}
703pub type __itt_task_group_ptr__3_0_t = ::std::option::Option<
704    unsafe extern "C" fn(
705        domain: *const __itt_domain,
706        id: __itt_id,
707        parentid: __itt_id,
708        name: *mut __itt_string_handle,
709    ),
710>;
711extern "C" {
712    pub static mut __itt_task_group_ptr__3_0: __itt_task_group_ptr__3_0_t;
713}
714pub type __itt_task_begin_ptr__3_0_t = ::std::option::Option<
715    unsafe extern "C" fn(
716        domain: *const __itt_domain,
717        id: __itt_id,
718        parentid: __itt_id,
719        name: *mut __itt_string_handle,
720    ),
721>;
722extern "C" {
723    pub static mut __itt_task_begin_ptr__3_0: __itt_task_begin_ptr__3_0_t;
724}
725pub type __itt_task_begin_fn_ptr__3_0_t = ::std::option::Option<
726    unsafe extern "C" fn(
727        domain: *const __itt_domain,
728        id: __itt_id,
729        parentid: __itt_id,
730        fn_: *mut ::std::os::raw::c_void,
731    ),
732>;
733extern "C" {
734    pub static mut __itt_task_begin_fn_ptr__3_0: __itt_task_begin_fn_ptr__3_0_t;
735}
736pub type __itt_task_end_ptr__3_0_t =
737    ::std::option::Option<unsafe extern "C" fn(domain: *const __itt_domain)>;
738extern "C" {
739    pub static mut __itt_task_end_ptr__3_0: __itt_task_end_ptr__3_0_t;
740}
741pub type __itt_task_begin_overlapped_ptr__3_0_t = ::std::option::Option<
742    unsafe extern "C" fn(
743        domain: *const __itt_domain,
744        taskid: __itt_id,
745        parentid: __itt_id,
746        name: *mut __itt_string_handle,
747    ),
748>;
749extern "C" {
750    pub static mut __itt_task_begin_overlapped_ptr__3_0: __itt_task_begin_overlapped_ptr__3_0_t;
751}
752pub type __itt_task_end_overlapped_ptr__3_0_t =
753    ::std::option::Option<unsafe extern "C" fn(domain: *const __itt_domain, taskid: __itt_id)>;
754extern "C" {
755    pub static mut __itt_task_end_overlapped_ptr__3_0: __itt_task_end_overlapped_ptr__3_0_t;
756}
757pub const __itt_scope___itt_scope_unknown: __itt_scope = 0;
758pub const __itt_scope___itt_scope_global: __itt_scope = 1;
759pub const __itt_scope___itt_scope_track_group: __itt_scope = 2;
760pub const __itt_scope___itt_scope_track: __itt_scope = 3;
761pub const __itt_scope___itt_scope_task: __itt_scope = 4;
762pub const __itt_scope___itt_scope_marker: __itt_scope = 5;
763#[doc = " @brief Describes the scope of an event object in the trace."]
764pub type __itt_scope = ::std::os::raw::c_uint;
765pub type __itt_marker_ptr__3_0_t = ::std::option::Option<
766    unsafe extern "C" fn(
767        domain: *const __itt_domain,
768        id: __itt_id,
769        name: *mut __itt_string_handle,
770        scope: __itt_scope,
771    ),
772>;
773extern "C" {
774    pub static mut __itt_marker_ptr__3_0: __itt_marker_ptr__3_0_t;
775}
776pub const __itt_metadata_type___itt_metadata_unknown: __itt_metadata_type = 0;
777#[doc = "< Unsigned 64-bit integer"]
778pub const __itt_metadata_type___itt_metadata_u64: __itt_metadata_type = 1;
779#[doc = "< Signed 64-bit integer"]
780pub const __itt_metadata_type___itt_metadata_s64: __itt_metadata_type = 2;
781#[doc = "< Unsigned 32-bit integer"]
782pub const __itt_metadata_type___itt_metadata_u32: __itt_metadata_type = 3;
783#[doc = "< Signed 32-bit integer"]
784pub const __itt_metadata_type___itt_metadata_s32: __itt_metadata_type = 4;
785#[doc = "< Unsigned 16-bit integer"]
786pub const __itt_metadata_type___itt_metadata_u16: __itt_metadata_type = 5;
787#[doc = "< Signed 16-bit integer"]
788pub const __itt_metadata_type___itt_metadata_s16: __itt_metadata_type = 6;
789#[doc = "< Signed 32-bit floating-point"]
790pub const __itt_metadata_type___itt_metadata_float: __itt_metadata_type = 7;
791#[doc = "< SIgned 64-bit floating-point"]
792pub const __itt_metadata_type___itt_metadata_double: __itt_metadata_type = 8;
793#[doc = " @ingroup parameters\n @brief describes the type of metadata"]
794pub type __itt_metadata_type = ::std::os::raw::c_uint;
795pub type __itt_metadata_add_ptr__3_0_t = ::std::option::Option<
796    unsafe extern "C" fn(
797        domain: *const __itt_domain,
798        id: __itt_id,
799        key: *mut __itt_string_handle,
800        type_: __itt_metadata_type,
801        count: usize,
802        data: *mut ::std::os::raw::c_void,
803    ),
804>;
805extern "C" {
806    pub static mut __itt_metadata_add_ptr__3_0: __itt_metadata_add_ptr__3_0_t;
807}
808pub type __itt_metadata_str_add_ptr__3_0_t = ::std::option::Option<
809    unsafe extern "C" fn(
810        domain: *const __itt_domain,
811        id: __itt_id,
812        key: *mut __itt_string_handle,
813        data: *const ::std::os::raw::c_char,
814        length: usize,
815    ),
816>;
817extern "C" {
818    pub static mut __itt_metadata_str_add_ptr__3_0: __itt_metadata_str_add_ptr__3_0_t;
819}
820pub type __itt_metadata_add_with_scope_ptr__3_0_t = ::std::option::Option<
821    unsafe extern "C" fn(
822        domain: *const __itt_domain,
823        scope: __itt_scope,
824        key: *mut __itt_string_handle,
825        type_: __itt_metadata_type,
826        count: usize,
827        data: *mut ::std::os::raw::c_void,
828    ),
829>;
830extern "C" {
831    pub static mut __itt_metadata_add_with_scope_ptr__3_0: __itt_metadata_add_with_scope_ptr__3_0_t;
832}
833pub type __itt_metadata_str_add_with_scope_ptr__3_0_t = ::std::option::Option<
834    unsafe extern "C" fn(
835        domain: *const __itt_domain,
836        scope: __itt_scope,
837        key: *mut __itt_string_handle,
838        data: *const ::std::os::raw::c_char,
839        length: usize,
840    ),
841>;
842extern "C" {
843    pub static mut __itt_metadata_str_add_with_scope_ptr__3_0:
844        __itt_metadata_str_add_with_scope_ptr__3_0_t;
845}
846pub const __itt_relation___itt_relation_is_unknown: __itt_relation = 0;
847#[doc = "< \"A is dependent on B\" means that A cannot start until B completes"]
848pub const __itt_relation___itt_relation_is_dependent_on: __itt_relation = 1;
849#[doc = "< \"A is sibling of B\" means that A and B were created as a group"]
850pub const __itt_relation___itt_relation_is_sibling_of: __itt_relation = 2;
851#[doc = "< \"A is parent of B\" means that A created B"]
852pub const __itt_relation___itt_relation_is_parent_of: __itt_relation = 3;
853#[doc = "< \"A is continuation of B\" means that A assumes the dependencies of B"]
854pub const __itt_relation___itt_relation_is_continuation_of: __itt_relation = 4;
855#[doc = "< \"A is child of B\" means that A was created by B (inverse of is_parent_of)"]
856pub const __itt_relation___itt_relation_is_child_of: __itt_relation = 5;
857#[doc = "< \"A is continued by B\" means that B assumes the dependencies of A (inverse of is_continuation_of)"]
858pub const __itt_relation___itt_relation_is_continued_by: __itt_relation = 6;
859#[doc = "< \"A is predecessor to B\" means that B cannot start until A completes (inverse of is_dependent_on)"]
860pub const __itt_relation___itt_relation_is_predecessor_to: __itt_relation = 7;
861#[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."]
862pub type __itt_relation = ::std::os::raw::c_uint;
863pub type __itt_relation_add_to_current_ptr__3_0_t = ::std::option::Option<
864    unsafe extern "C" fn(domain: *const __itt_domain, relation: __itt_relation, tail: __itt_id),
865>;
866extern "C" {
867    pub static mut __itt_relation_add_to_current_ptr__3_0: __itt_relation_add_to_current_ptr__3_0_t;
868}
869pub type __itt_relation_add_ptr__3_0_t = ::std::option::Option<
870    unsafe extern "C" fn(
871        domain: *const __itt_domain,
872        head: __itt_id,
873        relation: __itt_relation,
874        tail: __itt_id,
875    ),
876>;
877extern "C" {
878    pub static mut __itt_relation_add_ptr__3_0: __itt_relation_add_ptr__3_0_t;
879}
880#[repr(C)]
881#[derive(Debug, Copy, Clone)]
882pub struct ___itt_clock_info {
883    #[doc = "< Clock domain frequency"]
884    pub clock_freq: ::std::os::raw::c_ulonglong,
885    #[doc = "< Clock domain base timestamp"]
886    pub clock_base: ::std::os::raw::c_ulonglong,
887}
888#[test]
889fn bindgen_test_layout____itt_clock_info() {
890    const UNINIT: ::std::mem::MaybeUninit<___itt_clock_info> = ::std::mem::MaybeUninit::uninit();
891    let ptr = UNINIT.as_ptr();
892    assert_eq!(
893        ::std::mem::size_of::<___itt_clock_info>(),
894        16usize,
895        concat!("Size of: ", stringify!(___itt_clock_info))
896    );
897    assert_eq!(
898        ::std::mem::align_of::<___itt_clock_info>(),
899        8usize,
900        concat!("Alignment of ", stringify!(___itt_clock_info))
901    );
902    assert_eq!(
903        unsafe { ::std::ptr::addr_of!((*ptr).clock_freq) as usize - ptr as usize },
904        0usize,
905        concat!(
906            "Offset of field: ",
907            stringify!(___itt_clock_info),
908            "::",
909            stringify!(clock_freq)
910        )
911    );
912    assert_eq!(
913        unsafe { ::std::ptr::addr_of!((*ptr).clock_base) as usize - ptr as usize },
914        8usize,
915        concat!(
916            "Offset of field: ",
917            stringify!(___itt_clock_info),
918            "::",
919            stringify!(clock_base)
920        )
921    );
922}
923pub type __itt_clock_info = ___itt_clock_info;
924#[doc = " @cond exclude_from_documentation"]
925pub type __itt_get_clock_info_fn = ::std::option::Option<
926    unsafe extern "C" fn(clock_info: *mut __itt_clock_info, data: *mut ::std::os::raw::c_void),
927>;
928#[repr(C)]
929#[derive(Debug, Copy, Clone)]
930pub struct ___itt_clock_domain {
931    #[doc = "< Most recent clock domain info"]
932    pub info: __itt_clock_info,
933    #[doc = "< Callback function pointer"]
934    pub fn_: __itt_get_clock_info_fn,
935    #[doc = "< Input argument for the callback function"]
936    pub fn_data: *mut ::std::os::raw::c_void,
937    #[doc = "< Reserved. Must be zero"]
938    pub extra1: ::std::os::raw::c_int,
939    #[doc = "< Reserved. Must be zero"]
940    pub extra2: *mut ::std::os::raw::c_void,
941    pub next: *mut ___itt_clock_domain,
942}
943#[test]
944fn bindgen_test_layout____itt_clock_domain() {
945    const UNINIT: ::std::mem::MaybeUninit<___itt_clock_domain> = ::std::mem::MaybeUninit::uninit();
946    let ptr = UNINIT.as_ptr();
947    assert_eq!(
948        ::std::mem::size_of::<___itt_clock_domain>(),
949        56usize,
950        concat!("Size of: ", stringify!(___itt_clock_domain))
951    );
952    assert_eq!(
953        ::std::mem::align_of::<___itt_clock_domain>(),
954        8usize,
955        concat!("Alignment of ", stringify!(___itt_clock_domain))
956    );
957    assert_eq!(
958        unsafe { ::std::ptr::addr_of!((*ptr).info) as usize - ptr as usize },
959        0usize,
960        concat!(
961            "Offset of field: ",
962            stringify!(___itt_clock_domain),
963            "::",
964            stringify!(info)
965        )
966    );
967    assert_eq!(
968        unsafe { ::std::ptr::addr_of!((*ptr).fn_) as usize - ptr as usize },
969        16usize,
970        concat!(
971            "Offset of field: ",
972            stringify!(___itt_clock_domain),
973            "::",
974            stringify!(fn_)
975        )
976    );
977    assert_eq!(
978        unsafe { ::std::ptr::addr_of!((*ptr).fn_data) as usize - ptr as usize },
979        24usize,
980        concat!(
981            "Offset of field: ",
982            stringify!(___itt_clock_domain),
983            "::",
984            stringify!(fn_data)
985        )
986    );
987    assert_eq!(
988        unsafe { ::std::ptr::addr_of!((*ptr).extra1) as usize - ptr as usize },
989        32usize,
990        concat!(
991            "Offset of field: ",
992            stringify!(___itt_clock_domain),
993            "::",
994            stringify!(extra1)
995        )
996    );
997    assert_eq!(
998        unsafe { ::std::ptr::addr_of!((*ptr).extra2) as usize - ptr as usize },
999        40usize,
1000        concat!(
1001            "Offset of field: ",
1002            stringify!(___itt_clock_domain),
1003            "::",
1004            stringify!(extra2)
1005        )
1006    );
1007    assert_eq!(
1008        unsafe { ::std::ptr::addr_of!((*ptr).next) as usize - ptr as usize },
1009        48usize,
1010        concat!(
1011            "Offset of field: ",
1012            stringify!(___itt_clock_domain),
1013            "::",
1014            stringify!(next)
1015        )
1016    );
1017}
1018pub type __itt_clock_domain = ___itt_clock_domain;
1019pub type __itt_clock_domain_create_ptr__3_0_t = ::std::option::Option<
1020    unsafe extern "C" fn(
1021        fn_: __itt_get_clock_info_fn,
1022        fn_data: *mut ::std::os::raw::c_void,
1023    ) -> *mut __itt_clock_domain,
1024>;
1025extern "C" {
1026    pub static mut __itt_clock_domain_create_ptr__3_0: __itt_clock_domain_create_ptr__3_0_t;
1027}
1028pub type __itt_clock_domain_reset_ptr__3_0_t = ::std::option::Option<unsafe extern "C" fn()>;
1029extern "C" {
1030    pub static mut __itt_clock_domain_reset_ptr__3_0: __itt_clock_domain_reset_ptr__3_0_t;
1031}
1032pub type __itt_id_create_ex_ptr__3_0_t = ::std::option::Option<
1033    unsafe extern "C" fn(
1034        domain: *const __itt_domain,
1035        clock_domain: *mut __itt_clock_domain,
1036        timestamp: ::std::os::raw::c_ulonglong,
1037        id: __itt_id,
1038    ),
1039>;
1040extern "C" {
1041    pub static mut __itt_id_create_ex_ptr__3_0: __itt_id_create_ex_ptr__3_0_t;
1042}
1043pub type __itt_id_destroy_ex_ptr__3_0_t = ::std::option::Option<
1044    unsafe extern "C" fn(
1045        domain: *const __itt_domain,
1046        clock_domain: *mut __itt_clock_domain,
1047        timestamp: ::std::os::raw::c_ulonglong,
1048        id: __itt_id,
1049    ),
1050>;
1051extern "C" {
1052    pub static mut __itt_id_destroy_ex_ptr__3_0: __itt_id_destroy_ex_ptr__3_0_t;
1053}
1054pub type __itt_task_begin_ex_ptr__3_0_t = ::std::option::Option<
1055    unsafe extern "C" fn(
1056        domain: *const __itt_domain,
1057        clock_domain: *mut __itt_clock_domain,
1058        timestamp: ::std::os::raw::c_ulonglong,
1059        id: __itt_id,
1060        parentid: __itt_id,
1061        name: *mut __itt_string_handle,
1062    ),
1063>;
1064extern "C" {
1065    pub static mut __itt_task_begin_ex_ptr__3_0: __itt_task_begin_ex_ptr__3_0_t;
1066}
1067pub type __itt_task_begin_fn_ex_ptr__3_0_t = ::std::option::Option<
1068    unsafe extern "C" fn(
1069        domain: *const __itt_domain,
1070        clock_domain: *mut __itt_clock_domain,
1071        timestamp: ::std::os::raw::c_ulonglong,
1072        id: __itt_id,
1073        parentid: __itt_id,
1074        fn_: *mut ::std::os::raw::c_void,
1075    ),
1076>;
1077extern "C" {
1078    pub static mut __itt_task_begin_fn_ex_ptr__3_0: __itt_task_begin_fn_ex_ptr__3_0_t;
1079}
1080pub type __itt_task_end_ex_ptr__3_0_t = ::std::option::Option<
1081    unsafe extern "C" fn(
1082        domain: *const __itt_domain,
1083        clock_domain: *mut __itt_clock_domain,
1084        timestamp: ::std::os::raw::c_ulonglong,
1085    ),
1086>;
1087extern "C" {
1088    pub static mut __itt_task_end_ex_ptr__3_0: __itt_task_end_ex_ptr__3_0_t;
1089}
1090#[repr(C)]
1091#[derive(Debug, Copy, Clone)]
1092pub struct ___itt_counter {
1093    _unused: [u8; 0],
1094}
1095#[doc = " @brief opaque structure for counter identification\n/\n/** @cond exclude_from_documentation"]
1096pub type __itt_counter = *mut ___itt_counter;
1097pub type __itt_counter_create_ptr__3_0_t = ::std::option::Option<
1098    unsafe extern "C" fn(
1099        name: *const ::std::os::raw::c_char,
1100        domain: *const ::std::os::raw::c_char,
1101    ) -> __itt_counter,
1102>;
1103extern "C" {
1104    pub static mut __itt_counter_create_ptr__3_0: __itt_counter_create_ptr__3_0_t;
1105}
1106pub type __itt_counter_inc_ptr__3_0_t =
1107    ::std::option::Option<unsafe extern "C" fn(id: __itt_counter)>;
1108extern "C" {
1109    pub static mut __itt_counter_inc_ptr__3_0: __itt_counter_inc_ptr__3_0_t;
1110}
1111pub type __itt_counter_inc_delta_ptr__3_0_t = ::std::option::Option<
1112    unsafe extern "C" fn(id: __itt_counter, value: ::std::os::raw::c_ulonglong),
1113>;
1114extern "C" {
1115    pub static mut __itt_counter_inc_delta_ptr__3_0: __itt_counter_inc_delta_ptr__3_0_t;
1116}
1117pub type __itt_counter_dec_ptr__3_0_t =
1118    ::std::option::Option<unsafe extern "C" fn(id: __itt_counter)>;
1119extern "C" {
1120    pub static mut __itt_counter_dec_ptr__3_0: __itt_counter_dec_ptr__3_0_t;
1121}
1122pub type __itt_counter_dec_delta_ptr__3_0_t = ::std::option::Option<
1123    unsafe extern "C" fn(id: __itt_counter, value: ::std::os::raw::c_ulonglong),
1124>;
1125extern "C" {
1126    pub static mut __itt_counter_dec_delta_ptr__3_0: __itt_counter_dec_delta_ptr__3_0_t;
1127}
1128pub type __itt_counter_inc_v3_ptr__3_0_t = ::std::option::Option<
1129    unsafe extern "C" fn(domain: *const __itt_domain, name: *mut __itt_string_handle),
1130>;
1131extern "C" {
1132    pub static mut __itt_counter_inc_v3_ptr__3_0: __itt_counter_inc_v3_ptr__3_0_t;
1133}
1134pub type __itt_counter_inc_delta_v3_ptr__3_0_t = ::std::option::Option<
1135    unsafe extern "C" fn(
1136        domain: *const __itt_domain,
1137        name: *mut __itt_string_handle,
1138        delta: ::std::os::raw::c_ulonglong,
1139    ),
1140>;
1141extern "C" {
1142    pub static mut __itt_counter_inc_delta_v3_ptr__3_0: __itt_counter_inc_delta_v3_ptr__3_0_t;
1143}
1144pub type __itt_counter_dec_v3_ptr__3_0_t = ::std::option::Option<
1145    unsafe extern "C" fn(domain: *const __itt_domain, name: *mut __itt_string_handle),
1146>;
1147extern "C" {
1148    pub static mut __itt_counter_dec_v3_ptr__3_0: __itt_counter_dec_v3_ptr__3_0_t;
1149}
1150pub type __itt_counter_dec_delta_v3_ptr__3_0_t = ::std::option::Option<
1151    unsafe extern "C" fn(
1152        domain: *const __itt_domain,
1153        name: *mut __itt_string_handle,
1154        delta: ::std::os::raw::c_ulonglong,
1155    ),
1156>;
1157extern "C" {
1158    pub static mut __itt_counter_dec_delta_v3_ptr__3_0: __itt_counter_dec_delta_v3_ptr__3_0_t;
1159}
1160pub type __itt_counter_set_value_ptr__3_0_t = ::std::option::Option<
1161    unsafe extern "C" fn(id: __itt_counter, value_ptr: *mut ::std::os::raw::c_void),
1162>;
1163extern "C" {
1164    pub static mut __itt_counter_set_value_ptr__3_0: __itt_counter_set_value_ptr__3_0_t;
1165}
1166pub type __itt_counter_set_value_ex_ptr__3_0_t = ::std::option::Option<
1167    unsafe extern "C" fn(
1168        id: __itt_counter,
1169        clock_domain: *mut __itt_clock_domain,
1170        timestamp: ::std::os::raw::c_ulonglong,
1171        value_ptr: *mut ::std::os::raw::c_void,
1172    ),
1173>;
1174extern "C" {
1175    pub static mut __itt_counter_set_value_ex_ptr__3_0: __itt_counter_set_value_ex_ptr__3_0_t;
1176}
1177pub type __itt_counter_create_typed_ptr__3_0_t = ::std::option::Option<
1178    unsafe extern "C" fn(
1179        name: *const ::std::os::raw::c_char,
1180        domain: *const ::std::os::raw::c_char,
1181        type_: __itt_metadata_type,
1182    ) -> __itt_counter,
1183>;
1184extern "C" {
1185    pub static mut __itt_counter_create_typed_ptr__3_0: __itt_counter_create_typed_ptr__3_0_t;
1186}
1187pub type __itt_counter_destroy_ptr__3_0_t =
1188    ::std::option::Option<unsafe extern "C" fn(id: __itt_counter)>;
1189extern "C" {
1190    pub static mut __itt_counter_destroy_ptr__3_0: __itt_counter_destroy_ptr__3_0_t;
1191}
1192pub type __itt_marker_ex_ptr__3_0_t = ::std::option::Option<
1193    unsafe extern "C" fn(
1194        domain: *const __itt_domain,
1195        clock_domain: *mut __itt_clock_domain,
1196        timestamp: ::std::os::raw::c_ulonglong,
1197        id: __itt_id,
1198        name: *mut __itt_string_handle,
1199        scope: __itt_scope,
1200    ),
1201>;
1202extern "C" {
1203    pub static mut __itt_marker_ex_ptr__3_0: __itt_marker_ex_ptr__3_0_t;
1204}
1205pub type __itt_relation_add_to_current_ex_ptr__3_0_t = ::std::option::Option<
1206    unsafe extern "C" fn(
1207        domain: *const __itt_domain,
1208        clock_domain: *mut __itt_clock_domain,
1209        timestamp: ::std::os::raw::c_ulonglong,
1210        relation: __itt_relation,
1211        tail: __itt_id,
1212    ),
1213>;
1214extern "C" {
1215    pub static mut __itt_relation_add_to_current_ex_ptr__3_0:
1216        __itt_relation_add_to_current_ex_ptr__3_0_t;
1217}
1218pub type __itt_relation_add_ex_ptr__3_0_t = ::std::option::Option<
1219    unsafe extern "C" fn(
1220        domain: *const __itt_domain,
1221        clock_domain: *mut __itt_clock_domain,
1222        timestamp: ::std::os::raw::c_ulonglong,
1223        head: __itt_id,
1224        relation: __itt_relation,
1225        tail: __itt_id,
1226    ),
1227>;
1228extern "C" {
1229    pub static mut __itt_relation_add_ex_ptr__3_0: __itt_relation_add_ex_ptr__3_0_t;
1230}
1231pub const ___itt_track_group_type___itt_track_group_type_normal: ___itt_track_group_type = 0;
1232#[doc = " @cond exclude_from_documentation"]
1233pub type ___itt_track_group_type = ::std::os::raw::c_uint;
1234#[doc = " @cond exclude_from_documentation"]
1235pub use self::___itt_track_group_type as __itt_track_group_type;
1236#[repr(C)]
1237#[derive(Debug, Copy, Clone)]
1238pub struct ___itt_track_group {
1239    #[doc = "< Name of the track group"]
1240    pub name: *mut __itt_string_handle,
1241    #[doc = "< List of child tracks"]
1242    pub track: *mut ___itt_track,
1243    #[doc = "< Type of the track group"]
1244    pub tgtype: __itt_track_group_type,
1245    #[doc = "< Reserved. Must be zero"]
1246    pub extra1: ::std::os::raw::c_int,
1247    #[doc = "< Reserved. Must be zero"]
1248    pub extra2: *mut ::std::os::raw::c_void,
1249    pub next: *mut ___itt_track_group,
1250}
1251#[test]
1252fn bindgen_test_layout____itt_track_group() {
1253    const UNINIT: ::std::mem::MaybeUninit<___itt_track_group> = ::std::mem::MaybeUninit::uninit();
1254    let ptr = UNINIT.as_ptr();
1255    assert_eq!(
1256        ::std::mem::size_of::<___itt_track_group>(),
1257        40usize,
1258        concat!("Size of: ", stringify!(___itt_track_group))
1259    );
1260    assert_eq!(
1261        ::std::mem::align_of::<___itt_track_group>(),
1262        8usize,
1263        concat!("Alignment of ", stringify!(___itt_track_group))
1264    );
1265    assert_eq!(
1266        unsafe { ::std::ptr::addr_of!((*ptr).name) as usize - ptr as usize },
1267        0usize,
1268        concat!(
1269            "Offset of field: ",
1270            stringify!(___itt_track_group),
1271            "::",
1272            stringify!(name)
1273        )
1274    );
1275    assert_eq!(
1276        unsafe { ::std::ptr::addr_of!((*ptr).track) as usize - ptr as usize },
1277        8usize,
1278        concat!(
1279            "Offset of field: ",
1280            stringify!(___itt_track_group),
1281            "::",
1282            stringify!(track)
1283        )
1284    );
1285    assert_eq!(
1286        unsafe { ::std::ptr::addr_of!((*ptr).tgtype) as usize - ptr as usize },
1287        16usize,
1288        concat!(
1289            "Offset of field: ",
1290            stringify!(___itt_track_group),
1291            "::",
1292            stringify!(tgtype)
1293        )
1294    );
1295    assert_eq!(
1296        unsafe { ::std::ptr::addr_of!((*ptr).extra1) as usize - ptr as usize },
1297        20usize,
1298        concat!(
1299            "Offset of field: ",
1300            stringify!(___itt_track_group),
1301            "::",
1302            stringify!(extra1)
1303        )
1304    );
1305    assert_eq!(
1306        unsafe { ::std::ptr::addr_of!((*ptr).extra2) as usize - ptr as usize },
1307        24usize,
1308        concat!(
1309            "Offset of field: ",
1310            stringify!(___itt_track_group),
1311            "::",
1312            stringify!(extra2)
1313        )
1314    );
1315    assert_eq!(
1316        unsafe { ::std::ptr::addr_of!((*ptr).next) as usize - ptr as usize },
1317        32usize,
1318        concat!(
1319            "Offset of field: ",
1320            stringify!(___itt_track_group),
1321            "::",
1322            stringify!(next)
1323        )
1324    );
1325}
1326pub type __itt_track_group = ___itt_track_group;
1327pub const ___itt_track_type___itt_track_type_normal: ___itt_track_type = 0;
1328#[doc = " @brief Placeholder for custom track types. Currently, \"normal\" custom track\n is the only available track type."]
1329pub type ___itt_track_type = ::std::os::raw::c_uint;
1330#[doc = " @brief Placeholder for custom track types. Currently, \"normal\" custom track\n is the only available track type."]
1331pub use self::___itt_track_type as __itt_track_type;
1332#[repr(C)]
1333#[derive(Debug, Copy, Clone)]
1334pub struct ___itt_track {
1335    #[doc = "< Name of the track group"]
1336    pub name: *mut __itt_string_handle,
1337    #[doc = "< Parent group to a track"]
1338    pub group: *mut __itt_track_group,
1339    #[doc = "< Type of the track"]
1340    pub ttype: __itt_track_type,
1341    #[doc = "< Reserved. Must be zero"]
1342    pub extra1: ::std::os::raw::c_int,
1343    #[doc = "< Reserved. Must be zero"]
1344    pub extra2: *mut ::std::os::raw::c_void,
1345    pub next: *mut ___itt_track,
1346}
1347#[test]
1348fn bindgen_test_layout____itt_track() {
1349    const UNINIT: ::std::mem::MaybeUninit<___itt_track> = ::std::mem::MaybeUninit::uninit();
1350    let ptr = UNINIT.as_ptr();
1351    assert_eq!(
1352        ::std::mem::size_of::<___itt_track>(),
1353        40usize,
1354        concat!("Size of: ", stringify!(___itt_track))
1355    );
1356    assert_eq!(
1357        ::std::mem::align_of::<___itt_track>(),
1358        8usize,
1359        concat!("Alignment of ", stringify!(___itt_track))
1360    );
1361    assert_eq!(
1362        unsafe { ::std::ptr::addr_of!((*ptr).name) as usize - ptr as usize },
1363        0usize,
1364        concat!(
1365            "Offset of field: ",
1366            stringify!(___itt_track),
1367            "::",
1368            stringify!(name)
1369        )
1370    );
1371    assert_eq!(
1372        unsafe { ::std::ptr::addr_of!((*ptr).group) as usize - ptr as usize },
1373        8usize,
1374        concat!(
1375            "Offset of field: ",
1376            stringify!(___itt_track),
1377            "::",
1378            stringify!(group)
1379        )
1380    );
1381    assert_eq!(
1382        unsafe { ::std::ptr::addr_of!((*ptr).ttype) as usize - ptr as usize },
1383        16usize,
1384        concat!(
1385            "Offset of field: ",
1386            stringify!(___itt_track),
1387            "::",
1388            stringify!(ttype)
1389        )
1390    );
1391    assert_eq!(
1392        unsafe { ::std::ptr::addr_of!((*ptr).extra1) as usize - ptr as usize },
1393        20usize,
1394        concat!(
1395            "Offset of field: ",
1396            stringify!(___itt_track),
1397            "::",
1398            stringify!(extra1)
1399        )
1400    );
1401    assert_eq!(
1402        unsafe { ::std::ptr::addr_of!((*ptr).extra2) as usize - ptr as usize },
1403        24usize,
1404        concat!(
1405            "Offset of field: ",
1406            stringify!(___itt_track),
1407            "::",
1408            stringify!(extra2)
1409        )
1410    );
1411    assert_eq!(
1412        unsafe { ::std::ptr::addr_of!((*ptr).next) as usize - ptr as usize },
1413        32usize,
1414        concat!(
1415            "Offset of field: ",
1416            stringify!(___itt_track),
1417            "::",
1418            stringify!(next)
1419        )
1420    );
1421}
1422pub type __itt_track = ___itt_track;
1423pub type __itt_track_group_create_ptr__3_0_t = ::std::option::Option<
1424    unsafe extern "C" fn(
1425        name: *mut __itt_string_handle,
1426        track_group_type: __itt_track_group_type,
1427    ) -> *mut __itt_track_group,
1428>;
1429extern "C" {
1430    pub static mut __itt_track_group_create_ptr__3_0: __itt_track_group_create_ptr__3_0_t;
1431}
1432pub type __itt_track_create_ptr__3_0_t = ::std::option::Option<
1433    unsafe extern "C" fn(
1434        track_group: *mut __itt_track_group,
1435        name: *mut __itt_string_handle,
1436        track_type: __itt_track_type,
1437    ) -> *mut __itt_track,
1438>;
1439extern "C" {
1440    pub static mut __itt_track_create_ptr__3_0: __itt_track_create_ptr__3_0_t;
1441}
1442pub type __itt_set_track_ptr__3_0_t =
1443    ::std::option::Option<unsafe extern "C" fn(track: *mut __itt_track)>;
1444extern "C" {
1445    pub static mut __itt_set_track_ptr__3_0: __itt_set_track_ptr__3_0_t;
1446}
1447#[doc = " @cond exclude_from_gpa_documentation */\n/**\n @defgroup events Events\n @ingroup public\n Events group\n @{\n/\n/** @brief user event type"]
1448pub type __itt_event = ::std::os::raw::c_int;
1449pub type __itt_event_create_ptr__3_0_t = ::std::option::Option<
1450    unsafe extern "C" fn(
1451        name: *const ::std::os::raw::c_char,
1452        namelen: ::std::os::raw::c_int,
1453    ) -> __itt_event,
1454>;
1455extern "C" {
1456    pub static mut __itt_event_create_ptr__3_0: __itt_event_create_ptr__3_0_t;
1457}
1458pub type __itt_event_start_ptr__3_0_t =
1459    ::std::option::Option<unsafe extern "C" fn(event: __itt_event) -> ::std::os::raw::c_int>;
1460extern "C" {
1461    pub static mut __itt_event_start_ptr__3_0: __itt_event_start_ptr__3_0_t;
1462}
1463pub type __itt_event_end_ptr__3_0_t =
1464    ::std::option::Option<unsafe extern "C" fn(event: __itt_event) -> ::std::os::raw::c_int>;
1465extern "C" {
1466    pub static mut __itt_event_end_ptr__3_0: __itt_event_end_ptr__3_0_t;
1467}
1468pub type __itt_av_save_ptr__3_0_t = ::std::option::Option<
1469    unsafe extern "C" fn(
1470        data: *mut ::std::os::raw::c_void,
1471        rank: ::std::os::raw::c_int,
1472        dimensions: *const ::std::os::raw::c_int,
1473        type_: ::std::os::raw::c_int,
1474        filePath: *const ::std::os::raw::c_char,
1475        columnOrder: ::std::os::raw::c_int,
1476    ) -> ::std::os::raw::c_int,
1477>;
1478extern "C" {
1479    pub static mut __itt_av_save_ptr__3_0: __itt_av_save_ptr__3_0_t;
1480}
1481pub type __itt_enable_attach_ptr__3_0_t = ::std::option::Option<unsafe extern "C" fn()>;
1482extern "C" {
1483    pub static mut __itt_enable_attach_ptr__3_0: __itt_enable_attach_ptr__3_0_t;
1484}
1485pub type __itt_module_load_ptr__3_0_t = ::std::option::Option<
1486    unsafe extern "C" fn(
1487        start_addr: *mut ::std::os::raw::c_void,
1488        end_addr: *mut ::std::os::raw::c_void,
1489        path: *const ::std::os::raw::c_char,
1490    ),
1491>;
1492extern "C" {
1493    pub static mut __itt_module_load_ptr__3_0: __itt_module_load_ptr__3_0_t;
1494}
1495pub type __itt_module_unload_ptr__3_0_t =
1496    ::std::option::Option<unsafe extern "C" fn(addr: *mut ::std::os::raw::c_void)>;
1497extern "C" {
1498    pub static mut __itt_module_unload_ptr__3_0: __itt_module_unload_ptr__3_0_t;
1499}
1500pub const __itt_module_type___itt_module_type_unknown: __itt_module_type = 0;
1501pub const __itt_module_type___itt_module_type_elf: __itt_module_type = 1;
1502pub const __itt_module_type___itt_module_type_coff: __itt_module_type = 2;
1503#[doc = " @cond exclude_from_documentation"]
1504pub type __itt_module_type = ::std::os::raw::c_uint;
1505pub const __itt_section_type_itt_section_type_unknown: __itt_section_type = 0;
1506pub const __itt_section_type_itt_section_type_bss: __itt_section_type = 1;
1507pub const __itt_section_type_itt_section_type_data: __itt_section_type = 2;
1508pub const __itt_section_type_itt_section_type_text: __itt_section_type = 3;
1509#[doc = " @cond exclude_from_documentation"]
1510pub type __itt_section_type = ::std::os::raw::c_uint;
1511#[repr(C)]
1512#[derive(Debug, Copy, Clone)]
1513pub struct ___itt_section_info {
1514    #[doc = "< Section name in UTF8"]
1515    pub name: *const ::std::os::raw::c_char,
1516    #[doc = "< Section content and semantics description"]
1517    pub type_: __itt_section_type,
1518    #[doc = "< Section bit flags that describe attributes using bit mask\n Zero if disabled, non-zero if enabled"]
1519    pub flags: usize,
1520    #[doc = "< Section load(relocated) start address"]
1521    pub start_addr: *mut ::std::os::raw::c_void,
1522    #[doc = "< Section file offset"]
1523    pub size: usize,
1524    #[doc = "< Section size"]
1525    pub file_offset: usize,
1526}
1527#[test]
1528fn bindgen_test_layout____itt_section_info() {
1529    const UNINIT: ::std::mem::MaybeUninit<___itt_section_info> = ::std::mem::MaybeUninit::uninit();
1530    let ptr = UNINIT.as_ptr();
1531    assert_eq!(
1532        ::std::mem::size_of::<___itt_section_info>(),
1533        48usize,
1534        concat!("Size of: ", stringify!(___itt_section_info))
1535    );
1536    assert_eq!(
1537        ::std::mem::align_of::<___itt_section_info>(),
1538        8usize,
1539        concat!("Alignment of ", stringify!(___itt_section_info))
1540    );
1541    assert_eq!(
1542        unsafe { ::std::ptr::addr_of!((*ptr).name) as usize - ptr as usize },
1543        0usize,
1544        concat!(
1545            "Offset of field: ",
1546            stringify!(___itt_section_info),
1547            "::",
1548            stringify!(name)
1549        )
1550    );
1551    assert_eq!(
1552        unsafe { ::std::ptr::addr_of!((*ptr).type_) as usize - ptr as usize },
1553        8usize,
1554        concat!(
1555            "Offset of field: ",
1556            stringify!(___itt_section_info),
1557            "::",
1558            stringify!(type_)
1559        )
1560    );
1561    assert_eq!(
1562        unsafe { ::std::ptr::addr_of!((*ptr).flags) as usize - ptr as usize },
1563        16usize,
1564        concat!(
1565            "Offset of field: ",
1566            stringify!(___itt_section_info),
1567            "::",
1568            stringify!(flags)
1569        )
1570    );
1571    assert_eq!(
1572        unsafe { ::std::ptr::addr_of!((*ptr).start_addr) as usize - ptr as usize },
1573        24usize,
1574        concat!(
1575            "Offset of field: ",
1576            stringify!(___itt_section_info),
1577            "::",
1578            stringify!(start_addr)
1579        )
1580    );
1581    assert_eq!(
1582        unsafe { ::std::ptr::addr_of!((*ptr).size) as usize - ptr as usize },
1583        32usize,
1584        concat!(
1585            "Offset of field: ",
1586            stringify!(___itt_section_info),
1587            "::",
1588            stringify!(size)
1589        )
1590    );
1591    assert_eq!(
1592        unsafe { ::std::ptr::addr_of!((*ptr).file_offset) as usize - ptr as usize },
1593        40usize,
1594        concat!(
1595            "Offset of field: ",
1596            stringify!(___itt_section_info),
1597            "::",
1598            stringify!(file_offset)
1599        )
1600    );
1601}
1602pub type __itt_section_info = ___itt_section_info;
1603#[repr(C)]
1604#[derive(Debug, Copy, Clone)]
1605pub struct ___itt_module_object {
1606    #[doc = "< API version"]
1607    pub version: ::std::os::raw::c_uint,
1608    #[doc = "< Unique identifier. This is unchanged for sections that belong to the same module"]
1609    pub module_id: __itt_id,
1610    #[doc = "< Binary module format"]
1611    pub module_type: __itt_module_type,
1612    #[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"]
1613    pub module_name: *const ::std::os::raw::c_char,
1614    #[doc = "< Module buffer content"]
1615    pub module_buffer: *mut ::std::os::raw::c_void,
1616    #[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."]
1617    pub module_size: usize,
1618    #[doc = "< Reference to section information"]
1619    pub section_array: *mut __itt_section_info,
1620    pub section_number: usize,
1621}
1622#[test]
1623fn bindgen_test_layout____itt_module_object() {
1624    const UNINIT: ::std::mem::MaybeUninit<___itt_module_object> = ::std::mem::MaybeUninit::uninit();
1625    let ptr = UNINIT.as_ptr();
1626    assert_eq!(
1627        ::std::mem::size_of::<___itt_module_object>(),
1628        80usize,
1629        concat!("Size of: ", stringify!(___itt_module_object))
1630    );
1631    assert_eq!(
1632        ::std::mem::align_of::<___itt_module_object>(),
1633        8usize,
1634        concat!("Alignment of ", stringify!(___itt_module_object))
1635    );
1636    assert_eq!(
1637        unsafe { ::std::ptr::addr_of!((*ptr).version) as usize - ptr as usize },
1638        0usize,
1639        concat!(
1640            "Offset of field: ",
1641            stringify!(___itt_module_object),
1642            "::",
1643            stringify!(version)
1644        )
1645    );
1646    assert_eq!(
1647        unsafe { ::std::ptr::addr_of!((*ptr).module_id) as usize - ptr as usize },
1648        8usize,
1649        concat!(
1650            "Offset of field: ",
1651            stringify!(___itt_module_object),
1652            "::",
1653            stringify!(module_id)
1654        )
1655    );
1656    assert_eq!(
1657        unsafe { ::std::ptr::addr_of!((*ptr).module_type) as usize - ptr as usize },
1658        32usize,
1659        concat!(
1660            "Offset of field: ",
1661            stringify!(___itt_module_object),
1662            "::",
1663            stringify!(module_type)
1664        )
1665    );
1666    assert_eq!(
1667        unsafe { ::std::ptr::addr_of!((*ptr).module_name) as usize - ptr as usize },
1668        40usize,
1669        concat!(
1670            "Offset of field: ",
1671            stringify!(___itt_module_object),
1672            "::",
1673            stringify!(module_name)
1674        )
1675    );
1676    assert_eq!(
1677        unsafe { ::std::ptr::addr_of!((*ptr).module_buffer) as usize - ptr as usize },
1678        48usize,
1679        concat!(
1680            "Offset of field: ",
1681            stringify!(___itt_module_object),
1682            "::",
1683            stringify!(module_buffer)
1684        )
1685    );
1686    assert_eq!(
1687        unsafe { ::std::ptr::addr_of!((*ptr).module_size) as usize - ptr as usize },
1688        56usize,
1689        concat!(
1690            "Offset of field: ",
1691            stringify!(___itt_module_object),
1692            "::",
1693            stringify!(module_size)
1694        )
1695    );
1696    assert_eq!(
1697        unsafe { ::std::ptr::addr_of!((*ptr).section_array) as usize - ptr as usize },
1698        64usize,
1699        concat!(
1700            "Offset of field: ",
1701            stringify!(___itt_module_object),
1702            "::",
1703            stringify!(section_array)
1704        )
1705    );
1706    assert_eq!(
1707        unsafe { ::std::ptr::addr_of!((*ptr).section_number) as usize - ptr as usize },
1708        72usize,
1709        concat!(
1710            "Offset of field: ",
1711            stringify!(___itt_module_object),
1712            "::",
1713            stringify!(section_number)
1714        )
1715    );
1716}
1717pub type __itt_module_object = ___itt_module_object;
1718pub type __itt_module_load_with_sections_ptr__3_0_t =
1719    ::std::option::Option<unsafe extern "C" fn(module_obj: *mut __itt_module_object)>;
1720extern "C" {
1721    pub static mut __itt_module_load_with_sections_ptr__3_0:
1722        __itt_module_load_with_sections_ptr__3_0_t;
1723}
1724pub type __itt_module_unload_with_sections_ptr__3_0_t =
1725    ::std::option::Option<unsafe extern "C" fn(module_obj: *mut __itt_module_object)>;
1726extern "C" {
1727    pub static mut __itt_module_unload_with_sections_ptr__3_0:
1728        __itt_module_unload_with_sections_ptr__3_0_t;
1729}
1730#[repr(C)]
1731#[derive(Debug, Copy, Clone)]
1732pub struct ___itt_histogram {
1733    #[doc = "< Domain of the histogram"]
1734    pub domain: *const __itt_domain,
1735    #[doc = "< Name of the histogram"]
1736    pub nameA: *const ::std::os::raw::c_char,
1737    pub nameW: *mut ::std::os::raw::c_void,
1738    #[doc = "< Type of the histogram X axis"]
1739    pub x_type: __itt_metadata_type,
1740    #[doc = "< Type of the histogram Y axis"]
1741    pub y_type: __itt_metadata_type,
1742    #[doc = "< Reserved to the runtime"]
1743    pub extra1: ::std::os::raw::c_int,
1744    #[doc = "< Reserved to the runtime"]
1745    pub extra2: *mut ::std::os::raw::c_void,
1746    pub next: *mut ___itt_histogram,
1747}
1748#[test]
1749fn bindgen_test_layout____itt_histogram() {
1750    const UNINIT: ::std::mem::MaybeUninit<___itt_histogram> = ::std::mem::MaybeUninit::uninit();
1751    let ptr = UNINIT.as_ptr();
1752    assert_eq!(
1753        ::std::mem::size_of::<___itt_histogram>(),
1754        56usize,
1755        concat!("Size of: ", stringify!(___itt_histogram))
1756    );
1757    assert_eq!(
1758        ::std::mem::align_of::<___itt_histogram>(),
1759        8usize,
1760        concat!("Alignment of ", stringify!(___itt_histogram))
1761    );
1762    assert_eq!(
1763        unsafe { ::std::ptr::addr_of!((*ptr).domain) as usize - ptr as usize },
1764        0usize,
1765        concat!(
1766            "Offset of field: ",
1767            stringify!(___itt_histogram),
1768            "::",
1769            stringify!(domain)
1770        )
1771    );
1772    assert_eq!(
1773        unsafe { ::std::ptr::addr_of!((*ptr).nameA) as usize - ptr as usize },
1774        8usize,
1775        concat!(
1776            "Offset of field: ",
1777            stringify!(___itt_histogram),
1778            "::",
1779            stringify!(nameA)
1780        )
1781    );
1782    assert_eq!(
1783        unsafe { ::std::ptr::addr_of!((*ptr).nameW) as usize - ptr as usize },
1784        16usize,
1785        concat!(
1786            "Offset of field: ",
1787            stringify!(___itt_histogram),
1788            "::",
1789            stringify!(nameW)
1790        )
1791    );
1792    assert_eq!(
1793        unsafe { ::std::ptr::addr_of!((*ptr).x_type) as usize - ptr as usize },
1794        24usize,
1795        concat!(
1796            "Offset of field: ",
1797            stringify!(___itt_histogram),
1798            "::",
1799            stringify!(x_type)
1800        )
1801    );
1802    assert_eq!(
1803        unsafe { ::std::ptr::addr_of!((*ptr).y_type) as usize - ptr as usize },
1804        28usize,
1805        concat!(
1806            "Offset of field: ",
1807            stringify!(___itt_histogram),
1808            "::",
1809            stringify!(y_type)
1810        )
1811    );
1812    assert_eq!(
1813        unsafe { ::std::ptr::addr_of!((*ptr).extra1) as usize - ptr as usize },
1814        32usize,
1815        concat!(
1816            "Offset of field: ",
1817            stringify!(___itt_histogram),
1818            "::",
1819            stringify!(extra1)
1820        )
1821    );
1822    assert_eq!(
1823        unsafe { ::std::ptr::addr_of!((*ptr).extra2) as usize - ptr as usize },
1824        40usize,
1825        concat!(
1826            "Offset of field: ",
1827            stringify!(___itt_histogram),
1828            "::",
1829            stringify!(extra2)
1830        )
1831    );
1832    assert_eq!(
1833        unsafe { ::std::ptr::addr_of!((*ptr).next) as usize - ptr as usize },
1834        48usize,
1835        concat!(
1836            "Offset of field: ",
1837            stringify!(___itt_histogram),
1838            "::",
1839            stringify!(next)
1840        )
1841    );
1842}
1843pub type __itt_histogram = ___itt_histogram;
1844pub type __itt_histogram_create_ptr__3_0_t = ::std::option::Option<
1845    unsafe extern "C" fn(
1846        domain: *const __itt_domain,
1847        name: *const ::std::os::raw::c_char,
1848        x_type: __itt_metadata_type,
1849        y_type: __itt_metadata_type,
1850    ) -> *mut __itt_histogram,
1851>;
1852extern "C" {
1853    pub static mut __itt_histogram_create_ptr__3_0: __itt_histogram_create_ptr__3_0_t;
1854}
1855pub type __itt_histogram_submit_ptr__3_0_t = ::std::option::Option<
1856    unsafe extern "C" fn(
1857        hist: *mut __itt_histogram,
1858        length: usize,
1859        x_data: *mut ::std::os::raw::c_void,
1860        y_data: *mut ::std::os::raw::c_void,
1861    ),
1862>;
1863extern "C" {
1864    pub static mut __itt_histogram_submit_ptr__3_0: __itt_histogram_submit_ptr__3_0_t;
1865}
1866pub type __itt_counter_create_v3_ptr__3_0_t = ::std::option::Option<
1867    unsafe extern "C" fn(
1868        domain: *const __itt_domain,
1869        name: *const ::std::os::raw::c_char,
1870        type_: __itt_metadata_type,
1871    ) -> __itt_counter,
1872>;
1873extern "C" {
1874    pub static mut __itt_counter_create_v3_ptr__3_0: __itt_counter_create_v3_ptr__3_0_t;
1875}
1876pub type __itt_counter_set_value_v3_ptr__3_0_t = ::std::option::Option<
1877    unsafe extern "C" fn(counter: __itt_counter, value_ptr: *mut ::std::os::raw::c_void),
1878>;
1879extern "C" {
1880    pub static mut __itt_counter_set_value_v3_ptr__3_0: __itt_counter_set_value_v3_ptr__3_0_t;
1881}
1882#[doc = "< Undefined type"]
1883pub const __itt_context_type___itt_context_unknown: __itt_context_type = 0;
1884#[doc = "< ASCII string char* type"]
1885pub const __itt_context_type___itt_context_nameA: __itt_context_type = 1;
1886#[doc = "< Unicode string wchar_t* type"]
1887pub const __itt_context_type___itt_context_nameW: __itt_context_type = 2;
1888#[doc = "< ASCII string char* type"]
1889pub const __itt_context_type___itt_context_deviceA: __itt_context_type = 3;
1890#[doc = "< Unicode string wchar_t* type"]
1891pub const __itt_context_type___itt_context_deviceW: __itt_context_type = 4;
1892#[doc = "< ASCII string char* type"]
1893pub const __itt_context_type___itt_context_unitsA: __itt_context_type = 5;
1894#[doc = "< Unicode string wchar_t* type"]
1895pub const __itt_context_type___itt_context_unitsW: __itt_context_type = 6;
1896#[doc = "< ASCII string char* type"]
1897pub const __itt_context_type___itt_context_pci_addrA: __itt_context_type = 7;
1898#[doc = "< Unicode string wchar_t* type"]
1899pub const __itt_context_type___itt_context_pci_addrW: __itt_context_type = 8;
1900#[doc = "< Unsigned 64-bit integer type"]
1901pub const __itt_context_type___itt_context_tid: __itt_context_type = 9;
1902#[doc = "< Unsigned 64-bit integer type"]
1903pub const __itt_context_type___itt_context_max_val: __itt_context_type = 10;
1904#[doc = "< Unsigned 64-bit integer type"]
1905pub const __itt_context_type___itt_context_bandwidth_flag: __itt_context_type = 11;
1906#[doc = "< Unsigned 64-bit integer type"]
1907pub const __itt_context_type___itt_context_latency_flag: __itt_context_type = 12;
1908#[doc = "< Unsigned 64-bit integer type"]
1909pub const __itt_context_type___itt_context_occupancy_flag: __itt_context_type = 13;
1910#[doc = "< Unsigned 64-bit integer type"]
1911pub const __itt_context_type___itt_context_on_thread_flag: __itt_context_type = 14;
1912#[doc = "< Unsigned 64-bit integer type"]
1913pub const __itt_context_type___itt_context_is_abs_val_flag: __itt_context_type = 15;
1914#[doc = "< Unsigned 64-bit integer type"]
1915pub const __itt_context_type___itt_context_cpu_instructions_flag: __itt_context_type = 16;
1916#[doc = "< Unsigned 64-bit integer type"]
1917pub const __itt_context_type___itt_context_cpu_cycles_flag: __itt_context_type = 17;
1918#[doc = " @brief describes the type of context metadata"]
1919pub type __itt_context_type = ::std::os::raw::c_uint;
1920#[repr(C)]
1921#[derive(Debug, Copy, Clone)]
1922pub struct ___itt_context_metadata {
1923    #[doc = "< Type of the context metadata value"]
1924    pub type_: __itt_context_type,
1925    #[doc = "< Pointer to context metadata value itself"]
1926    pub value: *mut ::std::os::raw::c_void,
1927}
1928#[test]
1929fn bindgen_test_layout____itt_context_metadata() {
1930    const UNINIT: ::std::mem::MaybeUninit<___itt_context_metadata> =
1931        ::std::mem::MaybeUninit::uninit();
1932    let ptr = UNINIT.as_ptr();
1933    assert_eq!(
1934        ::std::mem::size_of::<___itt_context_metadata>(),
1935        16usize,
1936        concat!("Size of: ", stringify!(___itt_context_metadata))
1937    );
1938    assert_eq!(
1939        ::std::mem::align_of::<___itt_context_metadata>(),
1940        8usize,
1941        concat!("Alignment of ", stringify!(___itt_context_metadata))
1942    );
1943    assert_eq!(
1944        unsafe { ::std::ptr::addr_of!((*ptr).type_) as usize - ptr as usize },
1945        0usize,
1946        concat!(
1947            "Offset of field: ",
1948            stringify!(___itt_context_metadata),
1949            "::",
1950            stringify!(type_)
1951        )
1952    );
1953    assert_eq!(
1954        unsafe { ::std::ptr::addr_of!((*ptr).value) as usize - ptr as usize },
1955        8usize,
1956        concat!(
1957            "Offset of field: ",
1958            stringify!(___itt_context_metadata),
1959            "::",
1960            stringify!(value)
1961        )
1962    );
1963}
1964pub type __itt_context_metadata = ___itt_context_metadata;
1965pub type __itt_bind_context_metadata_to_counter_ptr__3_0_t = ::std::option::Option<
1966    unsafe extern "C" fn(
1967        counter: __itt_counter,
1968        length: usize,
1969        metadata: *mut __itt_context_metadata,
1970    ),
1971>;
1972extern "C" {
1973    pub static mut __itt_bind_context_metadata_to_counter_ptr__3_0:
1974        __itt_bind_context_metadata_to_counter_ptr__3_0_t;
1975}