1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
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: 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: 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 type size_t = ::std::os::raw::c_ulong;
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_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_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"]
#[doc = " API from this group provides control over collection and analysis of Intel Processor Trace (Intel PT) data"]
#[doc = " Information about Intel Processor Trace technology can be found here (Volume 3 chapter 35):"]
#[doc = " https://software.intel.com/sites/default/files/managed/39/c5/325462-sdm-vol-1-2abcd-3abcd.pdf"]
#[doc = " Use this API to mark particular code regions for loading detailed performance statistics."]
#[doc = " This mode makes your analysis faster and more accurate."]
#[doc = " @{"]
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_model_disable"]
#[doc = " @brief Enumerator for the disable methods"]
pub type __itt_suppress_mode = ::std::os::raw::c_uint;
#[doc = " @enum __itt_model_disable"]
#[doc = " @brief Enumerator for the disable methods"]
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: size_t,
),
>;
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: size_t,
),
>;
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"]
#[doc = " @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: size_t),
>;
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: size_t),
>;
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: size_t),
>;
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: size_t)>;
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: size_t)>;
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: size_t)>;
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: size_t)>;
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: size_t)>;
extern "C" {
pub static mut __itt_model_aggregate_task_ptr__3_0: __itt_model_aggregate_task_ptr__3_0_t;
}
#[doc = " @defgroup heap Heap"]
#[doc = " @ingroup public"]
#[doc = " Heap group"]
#[doc = " @{"]
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: size_t, 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: size_t,
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: size_t,
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: size_t,
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() {
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::null::<___itt_domain>())).flags as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(___itt_domain),
"::",
stringify!(flags)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<___itt_domain>())).nameA as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(___itt_domain),
"::",
stringify!(nameA)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<___itt_domain>())).nameW as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(___itt_domain),
"::",
stringify!(nameW)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<___itt_domain>())).extra1 as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(___itt_domain),
"::",
stringify!(extra1)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<___itt_domain>())).extra2 as *const _ as usize },
32usize,
concat!(
"Offset of field: ",
stringify!(___itt_domain),
"::",
stringify!(extra2)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<___itt_domain>())).next as *const _ 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() {
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::null::<___itt_id>())).d1 as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(___itt_id),
"::",
stringify!(d1)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<___itt_id>())).d2 as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(___itt_id),
"::",
stringify!(d2)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<___itt_id>())).d3 as *const _ 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() {
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::null::<___itt_string_handle>())).strA as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(___itt_string_handle),
"::",
stringify!(strA)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<___itt_string_handle>())).strW as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(___itt_string_handle),
"::",
stringify!(strW)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<___itt_string_handle>())).extra1 as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(___itt_string_handle),
"::",
stringify!(extra1)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<___itt_string_handle>())).extra2 as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(___itt_string_handle),
"::",
stringify!(extra2)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<___itt_string_handle>())).next as *const _ 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"]
#[doc = " @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: size_t,
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: size_t,
),
>;
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: size_t,
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: size_t,
),
>;
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"]
#[doc = " @brief The kind of relation between two instances is specified by the enumerated type __itt_relation."]
#[doc = " Relations between instances can be added with an API call. The relation"]
#[doc = " API uses instance IDs. Relations can be added before or after the actual"]
#[doc = " instances are created and persist independently of the instances. This"]
#[doc = " is the motivation for having different lifetimes for instance IDs and"]
#[doc = " 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() {
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::null::<___itt_clock_info>())).clock_freq as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(___itt_clock_info),
"::",
stringify!(clock_freq)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<___itt_clock_info>())).clock_base as *const _ 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() {
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::null::<___itt_clock_domain>())).info as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(___itt_clock_domain),
"::",
stringify!(info)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<___itt_clock_domain>())).fn_ as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(___itt_clock_domain),
"::",
stringify!(fn_)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<___itt_clock_domain>())).fn_data as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(___itt_clock_domain),
"::",
stringify!(fn_data)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<___itt_clock_domain>())).extra1 as *const _ as usize },
32usize,
concat!(
"Offset of field: ",
stringify!(___itt_clock_domain),
"::",
stringify!(extra1)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<___itt_clock_domain>())).extra2 as *const _ as usize },
40usize,
concat!(
"Offset of field: ",
stringify!(___itt_clock_domain),
"::",
stringify!(extra2)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<___itt_clock_domain>())).next as *const _ 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"]
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() {
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::null::<___itt_track_group>())).name as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(___itt_track_group),
"::",
stringify!(name)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<___itt_track_group>())).track as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(___itt_track_group),
"::",
stringify!(track)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<___itt_track_group>())).tgtype as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(___itt_track_group),
"::",
stringify!(tgtype)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<___itt_track_group>())).extra1 as *const _ as usize },
20usize,
concat!(
"Offset of field: ",
stringify!(___itt_track_group),
"::",
stringify!(extra1)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<___itt_track_group>())).extra2 as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(___itt_track_group),
"::",
stringify!(extra2)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<___itt_track_group>())).next as *const _ 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"]
#[doc = " 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"]
#[doc = " 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() {
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::null::<___itt_track>())).name as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(___itt_track),
"::",
stringify!(name)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<___itt_track>())).group as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(___itt_track),
"::",
stringify!(group)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<___itt_track>())).ttype as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(___itt_track),
"::",
stringify!(ttype)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<___itt_track>())).extra1 as *const _ as usize },
20usize,
concat!(
"Offset of field: ",
stringify!(___itt_track),
"::",
stringify!(extra1)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<___itt_track>())).extra2 as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(___itt_track),
"::",
stringify!(extra2)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<___itt_track>())).next as *const _ 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 */"]
#[doc = " @defgroup events Events"]
#[doc = " @ingroup public"]
#[doc = " Events group"]
#[doc = " @{"]
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"]
#[doc = " Zero if disabled, non-zero if enabled"]
pub flags: size_t,
#[doc = "< Section load(relocated) start address"]
pub start_addr: *mut ::std::os::raw::c_void,
#[doc = "< Section file offset"]
pub size: size_t,
#[doc = "< Section size"]
pub file_offset: size_t,
}
#[test]
fn bindgen_test_layout____itt_section_info() {
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::null::<___itt_section_info>())).name as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(___itt_section_info),
"::",
stringify!(name)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<___itt_section_info>())).type_ as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(___itt_section_info),
"::",
stringify!(type_)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<___itt_section_info>())).flags as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(___itt_section_info),
"::",
stringify!(flags)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<___itt_section_info>())).start_addr as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(___itt_section_info),
"::",
stringify!(start_addr)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<___itt_section_info>())).size as *const _ as usize },
32usize,
concat!(
"Offset of field: ",
stringify!(___itt_section_info),
"::",
stringify!(size)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<___itt_section_info>())).file_offset as *const _ 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"]
#[doc = " Contains module name when module_bufer and module_size exist"]
#[doc = " Contains module path when module_bufer and module_size absent"]
#[doc = " 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 */"]
#[doc = " If module_buffer and module_size do not exist,"]
#[doc = " the binary module exists on the system already."]
#[doc = " The module_name parameter contains the path to the module."]
pub module_size: size_t,
#[doc = "< Reference to section information"]
pub section_array: *mut __itt_section_info,
pub section_number: size_t,
}
#[test]
fn bindgen_test_layout____itt_module_object() {
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::null::<___itt_module_object>())).version as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(___itt_module_object),
"::",
stringify!(version)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<___itt_module_object>())).module_id as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(___itt_module_object),
"::",
stringify!(module_id)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<___itt_module_object>())).module_type as *const _ as usize
},
32usize,
concat!(
"Offset of field: ",
stringify!(___itt_module_object),
"::",
stringify!(module_type)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<___itt_module_object>())).module_name as *const _ as usize
},
40usize,
concat!(
"Offset of field: ",
stringify!(___itt_module_object),
"::",
stringify!(module_name)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<___itt_module_object>())).module_buffer as *const _ as usize
},
48usize,
concat!(
"Offset of field: ",
stringify!(___itt_module_object),
"::",
stringify!(module_buffer)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<___itt_module_object>())).module_size as *const _ as usize
},
56usize,
concat!(
"Offset of field: ",
stringify!(___itt_module_object),
"::",
stringify!(module_size)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<___itt_module_object>())).section_array as *const _ as usize
},
64usize,
concat!(
"Offset of field: ",
stringify!(___itt_module_object),
"::",
stringify!(section_array)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<___itt_module_object>())).section_number as *const _ 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() {
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::null::<___itt_histogram>())).domain as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(___itt_histogram),
"::",
stringify!(domain)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<___itt_histogram>())).nameA as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(___itt_histogram),
"::",
stringify!(nameA)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<___itt_histogram>())).nameW as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(___itt_histogram),
"::",
stringify!(nameW)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<___itt_histogram>())).x_type as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(___itt_histogram),
"::",
stringify!(x_type)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<___itt_histogram>())).y_type as *const _ as usize },
28usize,
concat!(
"Offset of field: ",
stringify!(___itt_histogram),
"::",
stringify!(y_type)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<___itt_histogram>())).extra1 as *const _ as usize },
32usize,
concat!(
"Offset of field: ",
stringify!(___itt_histogram),
"::",
stringify!(extra1)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<___itt_histogram>())).extra2 as *const _ as usize },
40usize,
concat!(
"Offset of field: ",
stringify!(___itt_histogram),
"::",
stringify!(extra2)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<___itt_histogram>())).next as *const _ 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: size_t,
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;
}