File: exported_data.html

package info (click to toggle)
nvidia-cuda-toolkit 11.2.2-3%2Bdeb11u3
  • links: PTS, VCS
  • area: non-free
  • in suites: bullseye
  • size: 12,794,176 kB
  • sloc: ansic: 148,865; cpp: 50,458; javascript: 21,680; xml: 11,978; python: 4,582; makefile: 1,808; sh: 553; sql: 187; perl: 153
file content (3304 lines) | stat: -rw-r--r-- 119,506 bytes parent folder | download
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
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    
    <title>SQLite Export Schema Reference &#8212; NVIDIA Nsight Systems export  documentation</title>
    
    <link rel="stylesheet" href="_static/classic.css" type="text/css" />
    <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
    <link rel="stylesheet" href="_static/custom.css" type="text/css" />
    
    <script type="text/javascript">
      var DOCUMENTATION_OPTIONS = {
        URL_ROOT:    './',
        VERSION:     '',
        COLLAPSE_INDEX: false,
        FILE_SUFFIX: '.html',
        HAS_SOURCE:  false,
        SOURCELINK_SUFFIX: '.txt'
      };
    </script>
    <script type="text/javascript" src="_static/jquery.js"></script>
    <script type="text/javascript" src="_static/underscore.js"></script>
    <script type="text/javascript" src="_static/doctools.js"></script>
    <link rel="index" title="Index" href="genindex.html" />
    <link rel="search" title="Search" href="search.html" />
    <link rel="next" title="Common SQLite examples" href="examples.html" />
    <link rel="prev" title="JSON and Text Format Description" href="json_text_format.html" /> 
  </head>
  <body role="document">
    <div class="related" role="navigation" aria-label="related navigation">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="genindex.html" title="General Index"
             accesskey="I">index</a></li>
        <li class="right" >
          <a href="examples.html" title="Common SQLite examples"
             accesskey="N">next</a> |</li>
        <li class="right" >
          <a href="json_text_format.html" title="JSON and Text Format Description"
             accesskey="P">previous</a> |</li>
        <li class="nav-item nav-item-0"><a href="index.html">NVIDIA Nsight Systems export  documentation</a> &#187;</li> 
      </ul>
    </div>  

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body" role="main">
            
  <div class="section" id="sqlite-export-schema-reference">
<h1>SQLite Export Schema Reference<a class="headerlink" href="#sqlite-export-schema-reference" title="Permalink to this headline">¶</a></h1>
<p>This section describes in-depth exported data types. Since the tool is still
BETA, please note, that the format may likely change in the future. Also, not
every exported field may have been documented at this time.</p>
<p>Schema for a concrete database can be obtained with the <cite>sqlite3</cite> tool built-in
command <cite>.schema</cite>:</p>
<div class="highlight-default"><div class="highlight"><pre><span></span><span class="n">sqlite</span><span class="o">&gt;</span> <span class="o">.</span><span class="n">schema</span>
<span class="n">CREATE</span> <span class="n">TABLE</span> <span class="n">StringIds</span> <span class="p">(</span><span class="nb">id</span> <span class="n">INTEGER</span> <span class="n">PRIMARY</span> <span class="n">KEY</span><span class="p">,</span> <span class="n">value</span> <span class="n">TEXT</span> <span class="n">NOT</span> <span class="n">NULL</span><span class="p">);</span>
<span class="n">CREATE</span> <span class="n">TABLE</span> <span class="n">SCHED_EVENTS</span> <span class="p">(</span><span class="nb">id</span> <span class="n">INTEGER</span> <span class="n">PRIMARY</span> <span class="n">KEY</span> <span class="n">AUTOINCREMENT</span><span class="p">,</span> <span class="n">start</span> <span class="n">INT</span> <span class="n">NOT</span> <span class="n">NULL</span><span class="p">,</span> <span class="n">cpu</span> <span class="n">INT</span> <span class="n">NOT</span> <span class="n">NULL</span><span class="p">,</span> <span class="n">isSchedIn</span> <span class="n">INT</span> <span class="n">NOT</span> <span class="n">NULL</span><span class="p">,</span> <span class="n">globalTid</span> <span class="n">INT</span> <span class="n">NOT</span> <span class="n">NULL</span><span class="p">);</span>
<span class="n">CREATE</span> <span class="n">TABLE</span> <span class="n">sqlite_sequence</span><span class="p">(</span><span class="n">name</span><span class="p">,</span><span class="n">seq</span><span class="p">);</span>
<span class="n">CREATE</span> <span class="n">TABLE</span> <span class="n">COMPOSITE_EVENTS</span> <span class="p">(</span><span class="nb">id</span> <span class="n">INT</span> <span class="n">NOT</span> <span class="n">NULL</span> <span class="n">PRIMARY</span> <span class="n">KEY</span><span class="p">,</span> <span class="n">start</span> <span class="n">INT</span> <span class="n">NOT</span> <span class="n">NULL</span><span class="p">,</span> <span class="n">cpu</span> <span class="n">INT</span> <span class="n">NOT</span> <span class="n">NULL</span><span class="p">,</span> <span class="n">threadState</span> <span class="n">INT</span> <span class="n">NOT</span> <span class="n">NULL</span><span class="p">,</span> <span class="n">globalTid</span> <span class="n">INT</span> <span class="n">NOT</span> <span class="n">NULL</span><span class="p">,</span> <span class="n">cpuCycles</span> <span class="n">INT</span> <span class="n">NOT</span> <span class="n">NULL</span><span class="p">);</span>
<span class="o">...</span>
</pre></div>
</div>
<p>Tables are created lazily, therefore not every table described below might be
present in a particular report.</p>
<p>Current logic behind the chosen layout is that each data type gets it&#8217;s own
table in the exported database. Since usage patterns for exported data may vary
greatly and no default use cases has been established yet, no indexes or extra
constraints are created. Instead, refer to the <a class="reference internal" href="examples.html#examples"><span class="std std-ref">Examples</span></a>
section for list of common recipes.</p>
<p>Due to current limitations, all fields are declared as NOT NULL, even where
actual value may be missing, instead default value for that field is exported.
This might change in future versions.</p>
<div class="section" id="cuda">
<h2>CUDA<a class="headerlink" href="#cuda" title="Permalink to this headline">¶</a></h2>
<p>See <a class="reference external" href="https://docs.nvidia.com/cupti/Cupti/index.html">https://docs.nvidia.com/cupti/Cupti/index.html</a> for detailed information on
collected event and data types.</p>
<div class="section" id="runtime-api">
<h3>Runtime API<a class="headerlink" href="#runtime-api" title="Permalink to this headline">¶</a></h3>
<table border="1" class="colwidths-given docutils">
<colgroup>
<col width="30%" />
<col width="20%" />
<col width="50%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Table name</th>
<th class="head" colspan="2"><strong>CUPTI_ACTIVITY_KIND_RUNTIME</strong></th>
</tr>
<tr class="row-even"><th class="head">Column Name</th>
<th class="head">Column Type</th>
<th class="head">Column Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-odd"><td>start</td>
<td>INT NOT NULL</td>
<td>Event start timestamp in nanoseconds.</td>
</tr>
<tr class="row-even"><td>end</td>
<td>INT NOT NULL</td>
<td>Event end timestamp in nanoseconds.</td>
</tr>
<tr class="row-odd"><td>globalTid</td>
<td>INT</td>
<td>Serialized <a class="reference internal" href="examples.html#globalid"><span class="std std-ref">GlobalId</span></a>.</td>
</tr>
<tr class="row-even"><td>correlationId</td>
<td>INT</td>
<td>Use this value to find events in
<code class="docutils literal"><span class="pre">CUPTI_ACTIVITY_KIND_KERNEL</span></code>,
<code class="docutils literal"><span class="pre">CUPTI_ACTIVITY_KIND_MEMSET</span></code>,
<code class="docutils literal"><span class="pre">CUPTI_ACTIVITY_KIND_MEMCPY</span></code>, tables that this
function call has triggered. For an example refer to
<a class="reference internal" href="examples.html#transfer-cuda-kernel-on-api"><span class="std std-ref">Transfer CUDA kernel names onto API ranges</span></a>.</td>
</tr>
<tr class="row-odd"><td>nameId</td>
<td>INT NOT NULL</td>
<td><a class="reference internal" href="#stringid"><span class="std std-ref">StringId</span></a> of function name.</td>
</tr>
<tr class="row-even"><td>returnValue</td>
<td>INT NOT NULL</td>
<td>Return value of function call.</td>
</tr>
<tr class="row-odd"><td>callchainId</td>
<td>INTEGER REFERENCES
CUDA_CALLCHAINS(id)</td>
<td>An ID of a callchain for a given API call.</td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="cublas-events">
<h3>CuBLAS events<a class="headerlink" href="#cublas-events" title="Permalink to this headline">¶</a></h3>
<table border="1" class="colwidths-given docutils">
<colgroup>
<col width="30%" />
<col width="20%" />
<col width="50%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Table name</th>
<th class="head" colspan="2"><strong>CUBLAS_EVENTS</strong></th>
</tr>
<tr class="row-even"><th class="head">Column Name</th>
<th class="head">Column Type</th>
<th class="head">Column Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-odd"><td>start</td>
<td>INT NOT NULL</td>
<td>Event start timestamp in nanoseconds.</td>
</tr>
<tr class="row-even"><td>end</td>
<td>INT NOT NULL</td>
<td>Event end timestamp in nanoseconds.</td>
</tr>
<tr class="row-odd"><td>globalTid</td>
<td>INT</td>
<td>Serialized <a class="reference internal" href="examples.html#globalid"><span class="std std-ref">GlobalId</span></a>.</td>
</tr>
<tr class="row-even"><td>nameId</td>
<td>INT NOT NULL</td>
<td><a class="reference internal" href="#stringid"><span class="std std-ref">StringId</span></a> of function name.</td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="cudnn-events">
<h3>CuDNN events<a class="headerlink" href="#cudnn-events" title="Permalink to this headline">¶</a></h3>
<table border="1" class="colwidths-given docutils">
<colgroup>
<col width="30%" />
<col width="20%" />
<col width="50%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Table name</th>
<th class="head" colspan="2"><strong>CUDNN_EVENTS</strong></th>
</tr>
<tr class="row-even"><th class="head">Column Name</th>
<th class="head">Column Type</th>
<th class="head">Column Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-odd"><td>start</td>
<td>INT NOT NULL</td>
<td>Event start timestamp in nanoseconds.</td>
</tr>
<tr class="row-even"><td>end</td>
<td>INT NOT NULL</td>
<td>Event end timestamp in nanoseconds.</td>
</tr>
<tr class="row-odd"><td>globalTid</td>
<td>INT</td>
<td>Serialized <a class="reference internal" href="examples.html#globalid"><span class="std std-ref">GlobalId</span></a>.</td>
</tr>
<tr class="row-even"><td>nameId</td>
<td>INT NOT NULL</td>
<td><a class="reference internal" href="#stringid"><span class="std std-ref">StringId</span></a> of function name.</td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="cuda-graph-node-creation-events">
<h3>CUDA graph node creation events<a class="headerlink" href="#cuda-graph-node-creation-events" title="Permalink to this headline">¶</a></h3>
<p>See <a class="reference internal" href="examples.html#select-origin-cuda-api"><span class="std std-ref">mapping API calls to graph node creation</span></a> for an example.</p>
<table border="1" class="colwidths-given docutils">
<colgroup>
<col width="30%" />
<col width="20%" />
<col width="50%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Table name</th>
<th class="head" colspan="2"><strong>CUDA_GRAPH_EVENTS</strong></th>
</tr>
<tr class="row-even"><th class="head">Column Name</th>
<th class="head">Column Type</th>
<th class="head">Column Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-odd"><td>start</td>
<td>INT NOT NULL</td>
<td>Event start timestamp in nanoseconds.</td>
</tr>
<tr class="row-even"><td>end</td>
<td>INT NOT NULL</td>
<td>Event end timestamp in nanoseconds.</td>
</tr>
<tr class="row-odd"><td>globalTid</td>
<td>INT</td>
<td>Serialized <a class="reference internal" href="examples.html#globalid"><span class="std std-ref">GlobalId</span></a>.</td>
</tr>
<tr class="row-even"><td>nameId</td>
<td>INT NOT NULL
REFERENCES
StringIds</td>
<td><a class="reference internal" href="#stringid"><span class="std std-ref">StringId</span></a> of &#8220;Graph Node Creation&#8221;
string.</td>
</tr>
<tr class="row-odd"><td>graphNodeId</td>
<td>INT NOT NULL</td>
<td>CUDA graph node creation id.</td>
</tr>
<tr class="row-even"><td>originalGraphNodeId</td>
<td>INT</td>
<td>In case the node was cloned, this field will
reference the original graph node id.</td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="kernel-events">
<h3>Kernel events<a class="headerlink" href="#kernel-events" title="Permalink to this headline">¶</a></h3>
<table border="1" class="colwidths-given docutils">
<colgroup>
<col width="30%" />
<col width="20%" />
<col width="50%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Table name</th>
<th class="head" colspan="2"><strong>CUPTI_ACTIVITY_KIND_KERNEL</strong></th>
</tr>
<tr class="row-even"><th class="head">Column Name</th>
<th class="head">Column Type</th>
<th class="head">Column Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-odd"><td>start</td>
<td>INT NOT NULL</td>
<td>Event start timestamp in nanoseconds.</td>
</tr>
<tr class="row-even"><td>end</td>
<td>INT NOT NULL</td>
<td>Event end timestamp in nanoseconds.</td>
</tr>
<tr class="row-odd"><td>deviceId</td>
<td>INT NOT NULL</td>
<td>The ID of the device where the kernel is executing.</td>
</tr>
<tr class="row-even"><td>contextId</td>
<td>INT NOT NULL</td>
<td>The ID of the context where the kernel is executing.</td>
</tr>
<tr class="row-odd"><td>streamId</td>
<td>INT NOT NULL</td>
<td>The ID of the stream where the kernel is executing.</td>
</tr>
<tr class="row-even"><td>correlationId</td>
<td>INT</td>
<td>Use this value to find events in
<code class="docutils literal"><span class="pre">CUPTI_ACTIVITY_KIND_RUNTIME</span></code> table that triggered
execution of given kernel. For an example refer to
<a class="reference internal" href="examples.html#transfer-cuda-kernel-on-api"><span class="std std-ref">Transfer CUDA kernel names onto API ranges</span></a>.</td>
</tr>
<tr class="row-odd"><td>globalPid</td>
<td>INT</td>
<td>Serialized <a class="reference internal" href="examples.html#globalid"><span class="std std-ref">GlobalId</span></a>.</td>
</tr>
<tr class="row-even"><td>demangledName</td>
<td>INT NOT NULL</td>
<td><a class="reference internal" href="#stringid"><span class="std std-ref">StringId</span></a> of kernel name.</td>
</tr>
<tr class="row-odd"><td>shortName</td>
<td>INT NOT NULL</td>
<td><a class="reference internal" href="#stringid"><span class="std std-ref">StringId</span></a> of
short (without arguments) function name.</td>
</tr>
<tr class="row-even"><td>launchType</td>
<td>INT</td>
<td>The indicates if the kernel was executed via a
regular launch or via a single/multi device
cooperative launch.</td>
</tr>
<tr class="row-odd"><td>cacheConfig</td>
<td>INT</td>
<td>The cache configuration used for the kernel. The
value is one of the CUfunc_cache enumeration values
from cuda.h.</td>
</tr>
<tr class="row-even"><td>registersPerThread</td>
<td>INT NOT NULL</td>
<td>The number of registers required for each thread
executing the kernel.</td>
</tr>
<tr class="row-odd"><td>gridX</td>
<td>INT NOT NULL</td>
<td>The X-dimension grid size for the kernel.</td>
</tr>
<tr class="row-even"><td>gridY</td>
<td>INT NOT NULL</td>
<td>The Y-dimension grid size for the kernel.</td>
</tr>
<tr class="row-odd"><td>gridZ</td>
<td>INT NOT NULL</td>
<td>The Z-dimension grid size for the kernel.</td>
</tr>
<tr class="row-even"><td>blockX</td>
<td>INT NOT NULL</td>
<td>The X-dimension block size for the kernel.</td>
</tr>
<tr class="row-odd"><td>blockY</td>
<td>INT NOT NULL</td>
<td>The Y-dimension block size for the kernel.</td>
</tr>
<tr class="row-even"><td>blockZ</td>
<td>INT NOT NULL</td>
<td>The Z-dimension block size for the kernel.</td>
</tr>
<tr class="row-odd"><td>staticSharedMemory</td>
<td>INT NOT NULL</td>
<td>The static shared memory allocated for the kernel,
in bytes.</td>
</tr>
<tr class="row-even"><td>dynamicSharedMemory</td>
<td>INT NOT NULL</td>
<td>The dynamic shared memory reserved for the kernel,
in bytes.</td>
</tr>
<tr class="row-odd"><td>localMemoryPerThread</td>
<td>INT NOT NULL</td>
<td>The amount of local memory reserved for each thread,
in bytes.</td>
</tr>
<tr class="row-even"><td>localMemoryTotal</td>
<td>INT NOT NULL</td>
<td>The total amount of local memory reserved for the
kernel, in bytes.</td>
</tr>
<tr class="row-odd"><td>gridId</td>
<td>INT NOT NULL</td>
<td>The grid ID of the kernel. Each kernel is assigned a
unique grid ID at runtime.</td>
</tr>
<tr class="row-even"><td>sharedMemoryExecuted</td>
<td>INT</td>
<td>Shared memory size set by the driver.</td>
</tr>
<tr class="row-odd"><td>graphNodeId</td>
<td>INT</td>
<td>CUDA graph node creation id.</td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="memset-events">
<h3>Memset Events<a class="headerlink" href="#memset-events" title="Permalink to this headline">¶</a></h3>
<table border="1" class="colwidths-given docutils">
<colgroup>
<col width="30%" />
<col width="20%" />
<col width="50%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Table name</th>
<th class="head" colspan="2"><strong>CUPTI_ACTIVITY_KIND_MEMSET</strong></th>
</tr>
<tr class="row-even"><th class="head">Column Name</th>
<th class="head">Column Type</th>
<th class="head">Column Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-odd"><td>start</td>
<td>INT NOT NULL</td>
<td>Event start timestamp in nanoseconds.</td>
</tr>
<tr class="row-even"><td>end</td>
<td>INT NOT NULL</td>
<td>Event end timestamp in nanoseconds.</td>
</tr>
<tr class="row-odd"><td>deviceId</td>
<td>INT NOT NULL</td>
<td>The ID of the device where the memory set is occurring.</td>
</tr>
<tr class="row-even"><td>contextId</td>
<td>INT NOT NULL</td>
<td>The ID of the context where the memory set is occurring.</td>
</tr>
<tr class="row-odd"><td>streamId</td>
<td>INT NOT NULL</td>
<td>The ID of the stream where the memory set is occurring.</td>
</tr>
<tr class="row-even"><td>correlationId</td>
<td>INT</td>
<td>Use this value to find events in
<code class="docutils literal"><span class="pre">CUPTI_ACTIVITY_KIND_RUNTIME</span></code> table that triggered
execution of given memory operation.</td>
</tr>
<tr class="row-odd"><td>globalPid</td>
<td>INT</td>
<td>Serialized <a class="reference internal" href="examples.html#globalid"><span class="std std-ref">GlobalId</span></a>.</td>
</tr>
<tr class="row-even"><td>value</td>
<td>INT NOT NULL</td>
<td>The value being assigned to memory by the memory set.</td>
</tr>
<tr class="row-odd"><td>bytes</td>
<td>INT NOT NULL</td>
<td>The number of bytes being set by the memory set.</td>
</tr>
<tr class="row-even"><td>graphNodeId</td>
<td>INT</td>
<td>CUDA graph node creation id.</td>
</tr>
<tr class="row-odd"><td>memKind</td>
<td>INT</td>
<td>The type of memory being set.
See CUpti_ActivityMemoryKind</td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="memcpy-events">
<h3>Memcpy Events<a class="headerlink" href="#memcpy-events" title="Permalink to this headline">¶</a></h3>
<table border="1" class="colwidths-given docutils">
<colgroup>
<col width="30%" />
<col width="20%" />
<col width="50%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Table name</th>
<th class="head" colspan="2"><strong>CUPTI_ACTIVITY_KIND_MEMCPY</strong></th>
</tr>
<tr class="row-even"><th class="head">Column Name</th>
<th class="head">Column Type</th>
<th class="head">Column Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-odd"><td>start</td>
<td>INT NOT NULL</td>
<td>Event start timestamp in nanoseconds.</td>
</tr>
<tr class="row-even"><td>end</td>
<td>INT NOT NULL</td>
<td>Event end timestamp in nanoseconds.</td>
</tr>
<tr class="row-odd"><td>deviceId</td>
<td>INT NOT NULL</td>
<td>The ID of the device where the memory copy is occurring.</td>
</tr>
<tr class="row-even"><td>contextId</td>
<td>INT NOT NULL</td>
<td>The ID of the context where the memory copy is occurring.</td>
</tr>
<tr class="row-odd"><td>streamId</td>
<td>INT NOT NULL</td>
<td>The ID of the stream where the memory copy is occurring.</td>
</tr>
<tr class="row-even"><td>correlationId</td>
<td>INT</td>
<td>Use this value to find events in
<code class="docutils literal"><span class="pre">CUPTI_ACTIVITY_KIND_RUNTIME</span></code> table that triggered
execution of given memory operation.</td>
</tr>
<tr class="row-odd"><td>globalPid</td>
<td>INT</td>
<td>Serialized <a class="reference internal" href="examples.html#globalid"><span class="std std-ref">GlobalId</span></a>.</td>
</tr>
<tr class="row-even"><td>bytes</td>
<td>INT NOT NULL</td>
<td>The number of bytes transferred by the memory copy.</td>
</tr>
<tr class="row-odd"><td>copyKind</td>
<td>INT NOT NULL</td>
<td><a class="reference internal" href="#cudacopykind"><span class="std std-ref">The kind of the memory copy.</span></a></td>
</tr>
<tr class="row-even"><td>srcId</td>
<td>INT</td>
<td>The ID of the source CPU/device involved in the
memory transfer, page fault, thrashing, throttling
or remote map operation.</td>
</tr>
<tr class="row-odd"><td>srcKind</td>
<td>INT</td>
<td>The source memory kind read by the memory copy.
See CUpti_ActivityMemoryKind.</td>
</tr>
<tr class="row-even"><td>dstKind</td>
<td>INT</td>
<td>The destination memory kind read by the memory copy.
See CUpti_ActivityMemoryKind.</td>
</tr>
<tr class="row-odd"><td>srcDeviceId</td>
<td>INT</td>
<td>The ID of the device where memory is being copied from.</td>
</tr>
<tr class="row-even"><td>srcContextId</td>
<td>INT</td>
<td>The ID of the context owning the memory being copied from.</td>
</tr>
<tr class="row-odd"><td>dstDeviceId</td>
<td>INT</td>
<td>The ID of the device where memory is being copied to.</td>
</tr>
<tr class="row-even"><td>dstContextId</td>
<td>INT</td>
<td>The ID of the context owning the memory being copied to.</td>
</tr>
<tr class="row-odd"><td>graphNodeId</td>
<td>INT</td>
<td>CUDA graph node creation id.</td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="synchronization-events">
<h3>Synchronization Events<a class="headerlink" href="#synchronization-events" title="Permalink to this headline">¶</a></h3>
<table border="1" class="colwidths-given docutils">
<colgroup>
<col width="30%" />
<col width="20%" />
<col width="50%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Table name</th>
<th class="head" colspan="2"><strong>CUPTI_ACTIVITY_KIND_SYNCHRONIZATION</strong></th>
</tr>
<tr class="row-even"><th class="head">Column Name</th>
<th class="head">Column Type</th>
<th class="head">Column Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-odd"><td>start</td>
<td>INT NOT NULL</td>
<td>Event start timestamp in nanoseconds.</td>
</tr>
<tr class="row-even"><td>end</td>
<td>INT NOT NULL</td>
<td>Event end timestamp in nanoseconds.</td>
</tr>
<tr class="row-odd"><td>deviceId</td>
<td>INT NOT NULL</td>
<td>The ID of the device where the memory set is occurring.</td>
</tr>
<tr class="row-even"><td>contextId</td>
<td>INT NOT NULL</td>
<td>The ID of the context for which the synchronization
API is called. In case of context synchronization API
it is the context id for which the API is called. In
case of stream/event synchronization it is the ID of
the context where the stream/event was created.</td>
</tr>
<tr class="row-odd"><td>streamId</td>
<td>INT NOT NULL</td>
<td>The compute stream for which the synchronization API
is called.</td>
</tr>
<tr class="row-even"><td>correlationId</td>
<td>INT</td>
<td>The correlation ID of the API to which this result is
associated.</td>
</tr>
<tr class="row-odd"><td>globalPid</td>
<td>INT</td>
<td>Serialized <a class="reference internal" href="examples.html#globalid"><span class="std std-ref">GlobalId</span></a>.</td>
</tr>
<tr class="row-even"><td>syncType</td>
<td>INT NOT NULL</td>
<td>The CUpti_ActivitySynchronizationType type of record.</td>
</tr>
<tr class="row-odd"><td>eventId</td>
<td>INT NOT NULL</td>
<td>The event ID for which the synchronization API is called.</td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="cuda-callchains">
<h3>CUDA callchains<a class="headerlink" href="#cuda-callchains" title="Permalink to this headline">¶</a></h3>
<p>Callchain entries for CUDA events.
Refer to <a class="reference internal" href="examples.html#select-cuda-backtraces"><span class="std std-ref">Select CUDA calls with backtraces</span></a> for an example.</p>
<table border="1" class="colwidths-given docutils">
<colgroup>
<col width="30%" />
<col width="20%" />
<col width="50%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Table name</th>
<th class="head" colspan="2"><strong>CUDA_CALLCHAINS</strong></th>
</tr>
<tr class="row-even"><th class="head">Column Name</th>
<th class="head">Column Type</th>
<th class="head">Column Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-odd"><td>id</td>
<td>id INTEGER NOT
NULL</td>
<td>Part of <strong>PRIMARY KEY (id, stackDepth)</strong>.
Maps to <strong>CUPTI_ACTIVITY_KIND_RUNTIME.callchainId</strong>.</td>
</tr>
<tr class="row-even"><td>stackDepth</td>
<td>INT NOT NULL</td>
<td>Zero-base index of given function in call stack.</td>
</tr>
<tr class="row-odd"><td>symbol</td>
<td>INT NOT NULL</td>
<td><a class="reference internal" href="#stringid"><span class="std std-ref">StringId</span></a> of function name.</td>
</tr>
<tr class="row-even"><td>module</td>
<td>INT NOT NULL</td>
<td><a class="reference internal" href="#stringid"><span class="std std-ref">StringId</span></a> of module name.</td>
</tr>
<tr class="row-odd"><td>unresolved</td>
<td>INTEGER</td>
<td>True if the symbol was not resolved.</td>
</tr>
<tr class="row-even"><td>originalIP</td>
<td>INTEGER</td>
<td>Instruction pointer value.</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="nvtx">
<h2>NVTX<a class="headerlink" href="#nvtx" title="Permalink to this headline">¶</a></h2>
<p>All NVTX events are collected in a single table. Differentiate between marks,
start/end and push/pop ranges by the <a class="reference external" href="#nvtx-eventtype-values">eventType</a> column.</p>
<table border="1" class="colwidths-given docutils">
<colgroup>
<col width="30%" />
<col width="20%" />
<col width="50%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Table name</th>
<th class="head" colspan="2"><strong>NVTX_EVENTS</strong></th>
</tr>
<tr class="row-even"><th class="head">Column Name</th>
<th class="head">Column Type</th>
<th class="head">Column Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-odd"><td>start</td>
<td>INT NOT NULL</td>
<td>Event start timestamp in nanoseconds.</td>
</tr>
<tr class="row-even"><td>end</td>
<td>INT</td>
<td>Event end timestamp in nanoseconds. End timestamp is
not available, if event is atomic like Mark, or has
not completed before the end of profiling.</td>
</tr>
<tr class="row-odd"><td>eventType</td>
<td>INT NOT NULL</td>
<td><a class="reference external" href="#nvtx-eventtype-values">Event type</a> enum value.</td>
</tr>
<tr class="row-even"><td>rangeId</td>
<td>INT</td>
<td>The correlation ID returned from a nvtxRangeStart
call. Available for start/end ranges only.</td>
</tr>
<tr class="row-odd"><td>text</td>
<td>TEXT</td>
<td>Optional text message for a given event.</td>
</tr>
<tr class="row-even"><td>category</td>
<td>INT</td>
<td>User-controlled ID that can be used to group events.</td>
</tr>
<tr class="row-odd"><td>color</td>
<td>INT</td>
<td>Encoded ARGB color value.</td>
</tr>
<tr class="row-even"><td>globalTid</td>
<td>INT</td>
<td>Serialized <a class="reference internal" href="examples.html#globalid"><span class="std std-ref">GlobalId</span></a>.</td>
</tr>
<tr class="row-odd"><td>endGlobalTid</td>
<td>INT</td>
<td>Serialized <a class="reference internal" href="examples.html#globalid"><span class="std std-ref">GlobalId</span></a>. Available when
start/end range has ended on a thread other than the
one it started on.</td>
</tr>
<tr class="row-even"><td>textId</td>
<td>INT</td>
<td><a class="reference internal" href="#stringid"><span class="std std-ref">StringId</span></a> of NVTX domain registered
strings.</td>
</tr>
<tr class="row-odd"><td>domainId</td>
<td>INT</td>
<td>User-controlled ID that can be used to group events.</td>
</tr>
<tr class="row-even"><td>uint64Value</td>
<td>INT</td>
<td>One of possible payload value union members.</td>
</tr>
<tr class="row-odd"><td>int64Value</td>
<td>INT</td>
<td>One of possible payload value union members.</td>
</tr>
<tr class="row-even"><td>doubleValue</td>
<td>REAL</td>
<td>One of possible payload value union members.</td>
</tr>
<tr class="row-odd"><td>uint32Value</td>
<td>INT</td>
<td>One of possible payload value union members.</td>
</tr>
<tr class="row-even"><td>int32Value</td>
<td>INT</td>
<td>One of possible payload value union members.</td>
</tr>
<tr class="row-odd"><td>floatValue</td>
<td>REAL</td>
<td>One of possible payload value union members.</td>
</tr>
<tr class="row-even"><td>jsonTextId</td>
<td>INT</td>
<td>One of possible payload value union members.</td>
</tr>
<tr class="row-odd"><td>jsonText</td>
<td>INT</td>
<td>One of possible payload value union members.</td>
</tr>
</tbody>
</table>
<div class="section" id="nvtx-eventtype-values">
<h3>NVTX eventType values<a class="headerlink" href="#nvtx-eventtype-values" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>33 - NvtxCategory</li>
<li>34 - NvtxMark</li>
<li>39 - NvtxThread</li>
<li>59 - NvtxPushPopRange</li>
<li>60 - NvtxStartEndRange</li>
<li>75 - NvtxDomainCreate</li>
<li>76 - NvtxDomainDestroy</li>
</ul>
</div>
<div class="section" id="difference-between-text-and-textid-columns">
<h3>Difference between text and textId columns<a class="headerlink" href="#difference-between-text-and-textid-columns" title="Permalink to this headline">¶</a></h3>
<p>If an NVTX event message was passed via call to <code class="docutils literal"><span class="pre">nvtxDomainRegisterString</span></code>
function, then the message will be available through <code class="docutils literal"><span class="pre">textId</span></code> field,
otherwise the <code class="docutils literal"><span class="pre">text</span></code> field will contain the message if it was provided.</p>
</div>
</div>
<div class="section" id="opengl">
<h2>OpenGL<a class="headerlink" href="#opengl" title="Permalink to this headline">¶</a></h2>
<table border="1" class="colwidths-given docutils">
<colgroup>
<col width="30%" />
<col width="20%" />
<col width="50%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Table name</th>
<th class="head" colspan="2"><strong>OPENGL_API</strong>, <strong>OPENGL_WORKLOAD</strong></th>
</tr>
<tr class="row-even"><th class="head">Column Name</th>
<th class="head">Column Type</th>
<th class="head">Column Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-odd"><td>start</td>
<td>INT NOT NULL</td>
<td>Event start timestamp in nanoseconds.</td>
</tr>
<tr class="row-even"><td>end</td>
<td>INT NOT NULL</td>
<td>Event end timestamp in nanoseconds.</td>
</tr>
<tr class="row-odd"><td>globalTid</td>
<td>INT NOT NULL</td>
<td>Serialized <a class="reference internal" href="examples.html#globalid"><span class="std std-ref">GlobalId</span></a>.</td>
</tr>
<tr class="row-even"><td>nameId</td>
<td>INT NOT NULL</td>
<td><a class="reference internal" href="#stringid"><span class="std std-ref">StringId</span></a> of function name.</td>
</tr>
<tr class="row-odd"><td>returnValue</td>
<td>INT NOT NULL</td>
<td>Return value of function call.</td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="os-runtime-libraries-trace">
<h2>OS Runtime Libraries Trace<a class="headerlink" href="#os-runtime-libraries-trace" title="Permalink to this headline">¶</a></h2>
<p>OS runtime libraries can be traced to gather information about low-level
userspace APIs. This traces the system call wrappers and thread synchronization
interfaces exposed by the C runtime and POSIX Threads (pthread) libraries. This
does not perform a complete runtime library API trace, but instead focuses on
the functions that can take a long time to execute, or could potentially cause
your thread be unscheduled from the CPU while waiting for an event to complete.</p>
<p>OSRT events may have callchains attached to them, depending on selected
profiling settings. In such cases, one can use <strong>callchainId</strong> column to select
relevant callchains from <strong>OSRT_CALLCHAINS</strong> table, refer to
<a class="reference internal" href="examples.html#osrt-callchains"><span class="std std-ref">OSRT Callchains</span></a> for an example.</p>
<table border="1" class="colwidths-given docutils">
<colgroup>
<col width="30%" />
<col width="20%" />
<col width="50%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Table name</th>
<th class="head" colspan="2"><strong>OSRT_API</strong></th>
</tr>
<tr class="row-even"><th class="head">Column Name</th>
<th class="head">Column Type</th>
<th class="head">Column Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-odd"><td>start</td>
<td>INT NOT NULL</td>
<td>Event start timestamp in nanoseconds.</td>
</tr>
<tr class="row-even"><td>end</td>
<td>INT NOT NULL</td>
<td>Event end timestamp in nanoseconds.</td>
</tr>
<tr class="row-odd"><td>globalTid</td>
<td>INT NOT NULL</td>
<td>Serialized <a class="reference internal" href="examples.html#globalid"><span class="std std-ref">GlobalId</span></a>.</td>
</tr>
<tr class="row-even"><td>nameId</td>
<td>INT NOT NULL</td>
<td><a class="reference internal" href="#stringid"><span class="std std-ref">StringId</span></a> of function name.</td>
</tr>
<tr class="row-odd"><td>returnValue</td>
<td>INT NOT NULL</td>
<td>Return value of function call.</td>
</tr>
<tr class="row-even"><td>callchainId</td>
<td>INT NOT NULL</td>
<td>De facto FOREIGN KEY to OSRT_CALLCHAINS.id.
The value of 0 is used instead of <strong>NULL</strong>.</td>
</tr>
</tbody>
</table>
<div class="section" id="osrt-callchains">
<h3>OSRT Callchains<a class="headerlink" href="#osrt-callchains" title="Permalink to this headline">¶</a></h3>
<table border="1" class="colwidths-given docutils">
<colgroup>
<col width="30%" />
<col width="20%" />
<col width="50%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Table name</th>
<th class="head" colspan="2"><strong>OSRT_CALLCHAINS</strong></th>
</tr>
<tr class="row-even"><th class="head">Column Name</th>
<th class="head">Column Type</th>
<th class="head">Column Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-odd"><td>id</td>
<td>INT NOT NULL</td>
<td>Part of <strong>PRIMARY KEY (id, stackDepth)</strong>.
Maps to <strong>OSRT_API.callchainId</strong>.</td>
</tr>
<tr class="row-even"><td>stackDepth</td>
<td>INT NOT NULL</td>
<td>Zero-base index of given function in call stack.</td>
</tr>
<tr class="row-odd"><td>symbol</td>
<td>INT NOT NULL</td>
<td><a class="reference internal" href="#stringid"><span class="std std-ref">StringId</span></a> of function name.</td>
</tr>
<tr class="row-even"><td>module</td>
<td>INT NOT NULL</td>
<td><a class="reference internal" href="#stringid"><span class="std std-ref">StringId</span></a> of module name.</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="profiler-overhead">
<h2>Profiler Overhead<a class="headerlink" href="#profiler-overhead" title="Permalink to this headline">¶</a></h2>
<table border="1" class="colwidths-given docutils">
<colgroup>
<col width="30%" />
<col width="20%" />
<col width="50%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Table name</th>
<th class="head" colspan="2"><strong>PROFILER_OVERHEAD</strong></th>
</tr>
<tr class="row-even"><th class="head">Column Name</th>
<th class="head">Column Type</th>
<th class="head">Column Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-odd"><td>start</td>
<td>INT NOT NULL</td>
<td>Event start timestamp in nanoseconds.</td>
</tr>
<tr class="row-even"><td>end</td>
<td>INT NOT NULL</td>
<td>Event end timestamp in nanoseconds.</td>
</tr>
<tr class="row-odd"><td>globalTid</td>
<td>INT NOT NULL</td>
<td>Serialized <a class="reference internal" href="examples.html#globalid"><span class="std std-ref">GlobalId</span></a>.</td>
</tr>
<tr class="row-even"><td>nameId</td>
<td>INT NOT NULL</td>
<td><a class="reference internal" href="#stringid"><span class="std std-ref">StringId</span></a> of function name.</td>
</tr>
<tr class="row-odd"><td>returnValue</td>
<td>INT NOT NULL</td>
<td>Return value of function call.</td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="sched-events">
<h2>Sched events<a class="headerlink" href="#sched-events" title="Permalink to this headline">¶</a></h2>
<p>Thread scheduling events, refer to <a class="reference internal" href="examples.html#thread-summary-sched"><span class="std std-ref">Thread Summary</span></a> for an example.</p>
<table border="1" class="colwidths-given docutils">
<colgroup>
<col width="30%" />
<col width="20%" />
<col width="50%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Table name</th>
<th class="head" colspan="2"><strong>SCHED_EVENTS</strong></th>
</tr>
<tr class="row-even"><th class="head">Column Name</th>
<th class="head">Column Type</th>
<th class="head">Column Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-odd"><td>start</td>
<td>INT NOT NULL</td>
<td>Event start timestamp in nanoseconds.</td>
</tr>
<tr class="row-even"><td>cpu</td>
<td>INT NOT NULL</td>
<td>Id of CPU this thread was scheduled in or out.</td>
</tr>
<tr class="row-odd"><td>isSchedIn</td>
<td>INT NOT NULL</td>
<td><cite>0</cite> if thread was scheduled out, non-zero - otherwise.</td>
</tr>
<tr class="row-even"><td>globalTid</td>
<td>INT NOT NULL</td>
<td>Serialized <a class="reference internal" href="examples.html#globalid"><span class="std std-ref">GlobalId</span></a>.</td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="composite-events">
<h2>Composite events<a class="headerlink" href="#composite-events" title="Permalink to this headline">¶</a></h2>
<p>Thread sampling events, refer to <a class="reference internal" href="examples.html#thread-summary-composite"><span class="std std-ref">Thread Summary</span></a> for an example.</p>
<table border="1" class="colwidths-given docutils">
<colgroup>
<col width="30%" />
<col width="20%" />
<col width="50%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Table name</th>
<th class="head" colspan="2"><strong>COMPOSITE_EVENTS</strong></th>
</tr>
<tr class="row-even"><th class="head">Column Name</th>
<th class="head">Column Type</th>
<th class="head">Column Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-odd"><td>start</td>
<td>INT NOT NULL</td>
<td>Event start timestamp in nanoseconds.</td>
</tr>
<tr class="row-even"><td>cpu</td>
<td>INT NOT NULL</td>
<td>Id of CPU this thread was running on.</td>
</tr>
<tr class="row-odd"><td>threadState</td>
<td>INT NOT NULL</td>
<td><a class="reference internal" href="#threadstate-enum"><span class="std std-ref">Thread state at the moment of sampling.</span></a></td>
</tr>
<tr class="row-even"><td>globalTid</td>
<td>INT NOT NULL</td>
<td>Serialized <a class="reference internal" href="examples.html#globalid"><span class="std std-ref">GlobalId</span></a>.</td>
</tr>
<tr class="row-odd"><td>cpuCycles</td>
<td>INT NOT NULL</td>
<td>The value of Performance Monitoring Unit (PMU) counter.</td>
</tr>
</tbody>
</table>
<div class="section" id="sampling-callchains">
<h3>Sampling callchains<a class="headerlink" href="#sampling-callchains" title="Permalink to this headline">¶</a></h3>
<p>Callchain entries obtained from composite events, used to construct function table views.
Refer to <a class="reference internal" href="examples.html#id1"><span class="std std-ref">Function table</span></a> for an example.</p>
<table border="1" class="colwidths-given docutils">
<colgroup>
<col width="30%" />
<col width="20%" />
<col width="50%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Table name</th>
<th class="head" colspan="2"><strong>SAMPLING_CALLCHAINS</strong></th>
</tr>
<tr class="row-even"><th class="head">Column Name</th>
<th class="head">Column Type</th>
<th class="head">Column Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-odd"><td>id</td>
<td>id INT NOT NULL
REFERENCES
COMPOSITE_EVENTS</td>
<td>Foreign key on COMPOSITE_EVENTS.id. Used to select
call stack entries for a given composite event.</td>
</tr>
<tr class="row-even"><td>stackDepth</td>
<td>INT NOT NULL</td>
<td>Zero-base index of given function in call stack.</td>
</tr>
<tr class="row-odd"><td>symbol</td>
<td>INT NOT NULL</td>
<td><a class="reference internal" href="#stringid"><span class="std std-ref">StringId</span></a> of function name.</td>
</tr>
<tr class="row-even"><td>module</td>
<td>INT NOT NULL</td>
<td><a class="reference internal" href="#stringid"><span class="std std-ref">StringId</span></a> of module name.</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="dx12-events">
<h2>DX12 events<a class="headerlink" href="#dx12-events" title="Permalink to this headline">¶</a></h2>
<table border="1" class="colwidths-given docutils">
<colgroup>
<col width="30%" />
<col width="20%" />
<col width="50%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Table name</th>
<th class="head" colspan="2"><strong>DX12_API</strong>, <strong>DX12_WORKLOAD</strong></th>
</tr>
<tr class="row-even"><th class="head">Column Name</th>
<th class="head">Column Type</th>
<th class="head">Column Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-odd"><td>start</td>
<td>INT NOT NULL</td>
<td>Event start timestamp in nanoseconds.</td>
</tr>
<tr class="row-even"><td>end</td>
<td>INT NOT NULL</td>
<td>Event end timestamp in nanoseconds.</td>
</tr>
<tr class="row-odd"><td>eventClass</td>
<td>INT NOT NULL</td>
<td><a class="reference external" href="#dx12-event-class-values">DX12 event class</a> enum
value.</td>
</tr>
<tr class="row-even"><td>globalTid</td>
<td>INT</td>
<td>Serialized <a class="reference internal" href="examples.html#globalid"><span class="std std-ref">GlobalId</span></a>.</td>
</tr>
<tr class="row-odd"><td>correlationId</td>
<td>INT</td>
<td>First ID in range of correlation values matching an
API call to GPU workloads.</td>
</tr>
<tr class="row-even"><td>endCorrelationId</td>
<td>INT</td>
<td>Last ID in range of correlation values matching an
API call to GPU workloads.</td>
</tr>
<tr class="row-odd"><td>nameId</td>
<td>INT NOT NULL</td>
<td><a class="reference internal" href="#stringid"><span class="std std-ref">StringId</span></a> of function name.</td>
</tr>
<tr class="row-even"><td>shortContextId</td>
<td>INT</td>
<td>Short form of COM interface object address, either
D3D12CommandQueue or D3D12GraphicsCommandList.</td>
</tr>
<tr class="row-odd"><td>longContextId</td>
<td>INT</td>
<td>Long form of COM interface object address, either
D3D12CommandQueue or D3D12GraphicsCommandList.</td>
</tr>
<tr class="row-even"><td>frameId</td>
<td>INT</td>
<td>Index of graphics frame. Frame 1 is the first frame
in the trace session.</td>
</tr>
<tr class="row-odd"><td>color</td>
<td>INT</td>
<td>Color assigned by the user code to a PIX performance
marker.</td>
</tr>
<tr class="row-even"><td>textId</td>
<td>INT</td>
<td><a class="reference internal" href="#stringid"><span class="std std-ref">StringId</span></a> of text string assigned
by the user code to a PIX performance marker.</td>
</tr>
<tr class="row-odd"><td>commandListType</td>
<td>INT</td>
<td>See D3D12CommandList documentation for type
enumeration.</td>
</tr>
<tr class="row-even"><td>objectName</td>
<td>INT</td>
<td><a class="reference internal" href="#stringid"><span class="std std-ref">StringId</span></a> of a name assigned by the
user code to a D3D12 object.</td>
</tr>
</tbody>
</table>
<div class="section" id="dx12-event-class-values">
<h3>DX12 event class values<a class="headerlink" href="#dx12-event-class-values" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>41 - TRACE_PROCESS_EVENT_DX12_API</li>
<li>42 - TRACE_PROCESS_EVENT_DX12_WORKLOAD</li>
<li>43 - TRACE_PROCESS_EVENT_DX12_START</li>
<li>44 - TRACE_PROCESS_EVENT_DX12_FINISH</li>
<li>52 - TRACE_PROCESS_EVENT_DX12_DISPLAY</li>
<li>59 - TRACE_PROCESS_EVENT_DX12_CREATE_OBJECT</li>
<li>65 - TRACE_PROCESS_EVENT_DX12_DEBUG_API</li>
</ul>
</div>
</div>
<div class="section" id="vulkan-events">
<h2>Vulkan events<a class="headerlink" href="#vulkan-events" title="Permalink to this headline">¶</a></h2>
<table border="1" class="colwidths-given docutils">
<colgroup>
<col width="30%" />
<col width="20%" />
<col width="50%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Table name</th>
<th class="head" colspan="2"><strong>VULKAN_API</strong></th>
</tr>
<tr class="row-even"><th class="head">Column Name</th>
<th class="head">Column Type</th>
<th class="head">Column Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-odd"><td>id</td>
<td>INT NOT NULL
PRIMARY KEY</td>
<td>An event ID used to query related records in
<strong>VULKAN_PIPELINE_CREATION_EVENTS</strong>.</td>
</tr>
<tr class="row-even"><td>start</td>
<td>INT NOT NULL</td>
<td>Event start timestamp in nanoseconds.</td>
</tr>
<tr class="row-odd"><td>end</td>
<td>INT NOT NULL</td>
<td>Event end timestamp in nanoseconds.</td>
</tr>
<tr class="row-even"><td>eventClass</td>
<td>INT NOT NULL</td>
<td><a class="reference external" href="#vulkan-event-class-values">Vulkan event class</a> enum value.</td>
</tr>
<tr class="row-odd"><td>globalTid</td>
<td>INT</td>
<td>Serialized <a class="reference internal" href="examples.html#globalid"><span class="std std-ref">GlobalId</span></a>.</td>
</tr>
<tr class="row-even"><td>correlationId</td>
<td>INT</td>
<td>First ID in range of correlation values matching an
API call to GPU workloads.</td>
</tr>
<tr class="row-odd"><td>endCorrelationId</td>
<td>INT</td>
<td>Last ID in range of correlation values matching an
API call to GPU workloads.</td>
</tr>
<tr class="row-even"><td>nameId</td>
<td>INT NOT NULL</td>
<td><a class="reference internal" href="#stringid"><span class="std std-ref">StringId</span></a> of function name.</td>
</tr>
<tr class="row-odd"><td>contextId</td>
<td>INT</td>
<td><a class="reference internal" href="#stringid"><span class="std std-ref">Short form</span></a> of interface object
address, either VkDevice, VkInstance, VkQueue,
VkDeviceMemory, VkEvent or VkCommandBuffer.</td>
</tr>
</tbody>
</table>
<table border="1" class="colwidths-given docutils">
<colgroup>
<col width="30%" />
<col width="20%" />
<col width="50%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Table name</th>
<th class="head" colspan="2"><strong>VULKAN_PIPELINE_CREATION_EVENTS</strong></th>
</tr>
<tr class="row-even"><th class="head">Column Name</th>
<th class="head">Column Type</th>
<th class="head">Column Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-odd"><td>id</td>
<td>INT NOT NULL
PRIMARY KEY</td>
<td>An ID used to query related records in
<strong>VULKAN_PIPELINE_STAGE_EVENTS</strong>.</td>
</tr>
<tr class="row-even"><td>duration</td>
<td>INT</td>
<td>Event duration in nanoseconds.</td>
</tr>
<tr class="row-odd"><td>flags</td>
<td>INT</td>
<td>Vulkan <a class="reference external" href="#vulkan-flags">flags</a> value.</td>
</tr>
<tr class="row-even"><td>traceEventId</td>
<td>INT REFERENCES
VULKAN_API</td>
<td>Foreign key on VULKAN_API.id.</td>
</tr>
</tbody>
</table>
<table border="1" class="colwidths-given docutils">
<colgroup>
<col width="30%" />
<col width="20%" />
<col width="50%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Table name</th>
<th class="head" colspan="2"><strong>VULKAN_PIPELINE_STAGE_EVENTS</strong></th>
</tr>
<tr class="row-even"><th class="head">Column Name</th>
<th class="head">Column Type</th>
<th class="head">Column Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-odd"><td>duration</td>
<td>INT</td>
<td>Event duration in nanoseconds.</td>
</tr>
<tr class="row-even"><td>flags</td>
<td>INT</td>
<td>Vulkan <a class="reference external" href="#vulkan-flags">flags</a> value.</td>
</tr>
<tr class="row-odd"><td>creationEventId</td>
<td>INT REFERENCES
VULKAN_PIPELINE_CREATION_EVENTS</td>
<td>Foreign key on VULKAN_PIPELINE_CREATION_EVENTS.id.</td>
</tr>
</tbody>
</table>
<table border="1" class="colwidths-given docutils">
<colgroup>
<col width="30%" />
<col width="20%" />
<col width="50%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Table name</th>
<th class="head" colspan="2"><strong>VULKAN_WORKLOAD</strong></th>
</tr>
<tr class="row-even"><th class="head">Column Name</th>
<th class="head">Column Type</th>
<th class="head">Column Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-odd"><td>start</td>
<td>INT NOT NULL</td>
<td>Event start timestamp in nanoseconds.</td>
</tr>
<tr class="row-even"><td>end</td>
<td>INT NOT NULL</td>
<td>Event end timestamp in nanoseconds.</td>
</tr>
<tr class="row-odd"><td>eventClass</td>
<td>INT NOT NULL</td>
<td><a class="reference external" href="#vulkan-event-class-values">Vulkan event class</a> enum value.</td>
</tr>
<tr class="row-even"><td>globalTid</td>
<td>INT</td>
<td>Serialized <a class="reference internal" href="examples.html#globalid"><span class="std std-ref">GlobalId</span></a>.</td>
</tr>
<tr class="row-odd"><td>correlationId</td>
<td>INT</td>
<td>First ID in range of correlation values matching an
API call to GPU workloads.</td>
</tr>
<tr class="row-even"><td>endCorrelationId</td>
<td>INT</td>
<td>Last ID in range of correlation values matching an
API call to GPU workloads.</td>
</tr>
<tr class="row-odd"><td>nameId</td>
<td>INT NOT NULL</td>
<td><a class="reference internal" href="#stringid"><span class="std std-ref">StringId</span></a> of function name.</td>
</tr>
<tr class="row-even"><td>contextId</td>
<td>INT</td>
<td><a class="reference internal" href="#stringid"><span class="std std-ref">Short form</span></a> of interface object
address, either VkDevice, VkInstance, VkQueue,
VkDeviceMemory, VkEvent or VkCommandBuffer.</td>
</tr>
</tbody>
</table>
<div class="section" id="vulkan-event-class-values">
<h3>Vulkan event class values<a class="headerlink" href="#vulkan-event-class-values" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>53 - TRACE_PROCESS_EVENT_VULKAN_API</li>
<li>54 - TRACE_PROCESS_EVENT_VULKAN_WORKLOAD</li>
<li>55 - TRACE_PROCESS_EVENT_VULKAN_START</li>
<li>56 - TRACE_PROCESS_EVENT_VULKAN_FINISH</li>
<li>60 - TRACE_PROCESS_EVENT_VULKAN_CREATE_OBJECT</li>
<li>66 - TRACE_PROCESS_EVENT_VULKAN_DEBUG_API</li>
</ul>
</div>
<div class="section" id="vulkan-flags">
<h3>Vulkan flags<a class="headerlink" href="#vulkan-flags" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>VALID_BIT = 0x00000001</li>
<li>CACHE_HIT_BIT = 0x00000002</li>
<li>BASE_PIPELINE_ACCELERATION_BIT = 0x00000004</li>
</ul>
</div>
</div>
<div class="section" id="gpu-context-switch-events">
<h2>GPU context switch events<a class="headerlink" href="#gpu-context-switch-events" title="Permalink to this headline">¶</a></h2>
<table border="1" class="colwidths-given docutils">
<colgroup>
<col width="30%" />
<col width="20%" />
<col width="50%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Table name</th>
<th class="head" colspan="2"><strong>FECS_EVENTS</strong></th>
</tr>
<tr class="row-even"><th class="head">Column Name</th>
<th class="head">Column Type</th>
<th class="head">Column Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-odd"><td>tag</td>
<td>INT NOT NULL</td>
<td><p class="first">Context switch event type. Supported values are:</p>
<ul class="last simple">
<li>7 - END</li>
<li>8 - START</li>
</ul>
</td>
</tr>
<tr class="row-even"><td>vmId</td>
<td>INT NOT NULL</td>
<td>Serialized <a class="reference internal" href="examples.html#globalid"><span class="std std-ref">GlobalId</span></a>.</td>
</tr>
<tr class="row-odd"><td>seqNo</td>
<td>INT NOT NULL</td>
<td>Sequential event number used to detect buffer
overflow and loss of events.</td>
</tr>
<tr class="row-even"><td>contextId</td>
<td>INT NOT NULL</td>
<td>Internal ID of the graphics context.</td>
</tr>
<tr class="row-odd"><td>timestamp</td>
<td>INT NOT NULL</td>
<td>Event start timestamp in nanoseconds.</td>
</tr>
<tr class="row-even"><td>globalPid</td>
<td>INT</td>
<td>Serialized <a class="reference internal" href="examples.html#globalid"><span class="std std-ref">GlobalId</span></a>.</td>
</tr>
<tr class="row-odd"><td>gpuId</td>
<td>INT</td>
<td>Serialized <a class="reference internal" href="examples.html#globalid"><span class="std std-ref">GlobalId</span></a>.</td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="sli-events">
<h2>SLI events<a class="headerlink" href="#sli-events" title="Permalink to this headline">¶</a></h2>
<table border="1" class="colwidths-given docutils">
<colgroup>
<col width="30%" />
<col width="20%" />
<col width="50%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Table name</th>
<th class="head"><strong>SLI_QUERIES</strong></th>
<th class="head">&#160;</th>
</tr>
<tr class="row-even"><th class="head">Column Name</th>
<th class="head">Column Type</th>
<th class="head">Column Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-odd"><td>start</td>
<td>INT NOT NULL</td>
<td>Event start timestamp in nanoseconds.</td>
</tr>
<tr class="row-even"><td>end</td>
<td>INT NOT NULL</td>
<td>Event end timestamp in nanoseconds.</td>
</tr>
<tr class="row-odd"><td>eventClass</td>
<td>INT NOT NULL</td>
<td><a class="reference external" href="#sli-event-class-values">SLI event class</a> enum
value.</td>
</tr>
<tr class="row-even"><td>globalTid</td>
<td>INT</td>
<td>Serialized <a class="reference internal" href="examples.html#globalid"><span class="std std-ref">GlobalId</span></a>.</td>
</tr>
<tr class="row-odd"><td>gpu</td>
<td>INT</td>
<td>GPU index.</td>
</tr>
<tr class="row-even"><td>frameId</td>
<td>INT</td>
<td>Index of graphics frame. Frame 1 is the first
frame in the trace session.</td>
</tr>
<tr class="row-odd"><td>occQueryIssued</td>
<td>INT</td>
<td>Occlusion query issued.</td>
</tr>
<tr class="row-even"><td>occQueryAsked</td>
<td>INT</td>
<td>Occlusion query asked.</td>
</tr>
<tr class="row-odd"><td>eventQueryIssued</td>
<td>INT</td>
<td>Event query issued.</td>
</tr>
<tr class="row-even"><td>eventQueryAsked</td>
<td>INT</td>
<td>Event query asked.</td>
</tr>
<tr class="row-odd"><td>numberOfTransferEvents</td>
<td>INT</td>
<td>Number of transfer events.</td>
</tr>
<tr class="row-even"><td>amountOfTransferredData</td>
<td>INT</td>
<td>Cumulative size of resource data that was
transferred.</td>
</tr>
</tbody>
</table>
<table border="1" class="colwidths-given docutils">
<colgroup>
<col width="30%" />
<col width="20%" />
<col width="50%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Table name</th>
<th class="head"><strong>SLI_P2P</strong></th>
<th class="head">&#160;</th>
</tr>
<tr class="row-even"><th class="head">Column Name</th>
<th class="head">Column Type</th>
<th class="head">Column Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-odd"><td>start</td>
<td>INT NOT NULL</td>
<td>Event start timestamp in nanoseconds.</td>
</tr>
<tr class="row-even"><td>end</td>
<td>INT NOT NULL</td>
<td>Event end timestamp in nanoseconds.</td>
</tr>
<tr class="row-odd"><td>eventClass</td>
<td>INT NOT NULL</td>
<td><a class="reference external" href="#sli-event-class-values">SLI event class</a> enum
value.</td>
</tr>
<tr class="row-even"><td>globalTid</td>
<td>INT</td>
<td>Serialized <a class="reference internal" href="examples.html#globalid"><span class="std std-ref">GlobalId</span></a>.</td>
</tr>
<tr class="row-odd"><td>gpu</td>
<td>INT</td>
<td>GPU index.</td>
</tr>
<tr class="row-even"><td>frameId</td>
<td>INT</td>
<td>Index of graphics frame. Frame 1 is the first
frame in the trace session.</td>
</tr>
<tr class="row-odd"><td>transferSkipped</td>
<td>INT NOT NULL</td>
<td>Number of transfers that were skipped.</td>
</tr>
<tr class="row-even"><td>srcGpu</td>
<td>INT NOT NULL</td>
<td>Source GPU id.</td>
</tr>
<tr class="row-odd"><td>dstGpu</td>
<td>INT NOT NULL</td>
<td>Destination GPU id.</td>
</tr>
<tr class="row-even"><td>numSubresources</td>
<td>INT NOT NULL</td>
<td>Number of sub resources to transfer.</td>
</tr>
<tr class="row-odd"><td>resourceSize</td>
<td>INT NOT NULL</td>
<td>Size of resource.</td>
</tr>
<tr class="row-even"><td>subresourceIdx</td>
<td>INT NOT NULL</td>
<td>Sub resource index.</td>
</tr>
<tr class="row-odd"><td>smplWidth</td>
<td>INT</td>
<td>The sub-resource surface width in samples.</td>
</tr>
<tr class="row-even"><td>smplHeight</td>
<td>INT</td>
<td>The sub-resource surface height in samples.</td>
</tr>
<tr class="row-odd"><td>smplDepth</td>
<td>INT</td>
<td>The sub-resource surface depth in samples.</td>
</tr>
<tr class="row-even"><td>bytesPerElement</td>
<td>INT</td>
<td>Number of bytes per element.</td>
</tr>
<tr class="row-odd"><td>dxgiFormat</td>
<td>INT</td>
<td>Resource data format. See DXGI_FORMAT
enumeration.</td>
</tr>
<tr class="row-even"><td>logSurfaceNames</td>
<td>TEXT</td>
<td>Surface name.</td>
</tr>
<tr class="row-odd"><td>transferInfo</td>
<td>INT</td>
<td><a class="reference external" href="#sli-transfer-info-values">SLI transfer info</a>
enum value.</td>
</tr>
<tr class="row-even"><td>isEarlyPushManagedByNVAPI</td>
<td>INT</td>
<td>Is early push managed by NVAPI. 0 = False,
1 = True.</td>
</tr>
<tr class="row-odd"><td>useAsyncP2PForResolve</td>
<td>INT</td>
<td>Use async Peer-to-Peer for resolve. 0 = False,
1 = True.</td>
</tr>
<tr class="row-even"><td>transferFuncName</td>
<td>TEXT</td>
<td>&#8220;A - BE&#8221; for asynchronous transfer,
&#8220;S - BE&#8221; for synchronous transfer.</td>
</tr>
<tr class="row-odd"><td>regimeName</td>
<td>TEXT</td>
<td>Name of the regime scope that includes the
resource.
The name is assigned in the application code.</td>
</tr>
<tr class="row-even"><td>debugName</td>
<td>TEXT</td>
<td>Debug name assigned to the resource by the
application code.</td>
</tr>
<tr class="row-odd"><td>bindType</td>
<td>TEXT</td>
<td>Bind type.</td>
</tr>
</tbody>
</table>
<table border="1" class="colwidths-given docutils">
<colgroup>
<col width="30%" />
<col width="20%" />
<col width="50%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Table name</th>
<th class="head" colspan="2"><strong>SLI_STATS</strong></th>
</tr>
<tr class="row-even"><th class="head">Column Name</th>
<th class="head">Column Type</th>
<th class="head">Column Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-odd"><td>start</td>
<td>INT NOT NULL</td>
<td>Event start timestamp in nanoseconds.</td>
</tr>
<tr class="row-even"><td>end</td>
<td>INT NOT NULL</td>
<td>Event end timestamp in nanoseconds.</td>
</tr>
<tr class="row-odd"><td>eventClass</td>
<td>INT NOT NULL</td>
<td><a class="reference external" href="#sli-event-class-values">SLI event class</a> enum
value.</td>
</tr>
<tr class="row-even"><td>globalTid</td>
<td>INT</td>
<td>Serialized <a class="reference internal" href="examples.html#globalid"><span class="std std-ref">GlobalId</span></a>.</td>
</tr>
<tr class="row-odd"><td>gpu</td>
<td>INT</td>
<td>GPU index.</td>
</tr>
<tr class="row-even"><td>countComplexFrames</td>
<td>INT NOT NULL</td>
<td>Complex frames count.</td>
</tr>
<tr class="row-odd"><td>countStats</td>
<td>INT NOT NULL</td>
<td>Number of frame statistics collected so far for the
inactive-time histogram.</td>
</tr>
<tr class="row-even"><td>totalInactiveTime</td>
<td>INT NOT NULL</td>
<td>Total inactive time. Units = microseconds.</td>
</tr>
<tr class="row-odd"><td>minPBSize</td>
<td>INT NOT NULL</td>
<td>Min push buffer size.</td>
</tr>
<tr class="row-even"><td>maxPBSize</td>
<td>INT NOT NULL</td>
<td>Max push buffer size.</td>
</tr>
<tr class="row-odd"><td>totalPBSize</td>
<td>INT NOT NULL</td>
<td>Total push buffer size.</td>
</tr>
</tbody>
</table>
<div class="section" id="sli-event-class-values">
<h3>SLI event class values<a class="headerlink" href="#sli-event-class-values" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>62 - TRACE_PROCESS_EVENT_SLI</li>
<li>63 - TRACE_PROCESS_EVENT_SLI_START</li>
<li>64 - TRACE_PROCESS_EVENT_SLI_FINISH</li>
</ul>
</div>
<div class="section" id="sli-transfer-info-values">
<h3>SLI transfer info values<a class="headerlink" href="#sli-transfer-info-values" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>0 - P2P_SKIPPED</li>
<li>1 - P2P_EARLY_PUSH</li>
<li>2 - P2P_PUSH_FAILED</li>
<li>3 - P2P_2WAY_OR_PULL</li>
<li>4 - P2P_PRESENT</li>
<li>5 - P2P_DX12_INIT_PUSH_ON_WRITE</li>
</ul>
</div>
</div>
<div class="section" id="event-tracing-for-windows-etw">
<h2>Event Tracing for Windows (ETW)<a class="headerlink" href="#event-tracing-for-windows-etw" title="Permalink to this headline">¶</a></h2>
<table border="1" class="colwidths-given docutils">
<colgroup>
<col width="30%" />
<col width="20%" />
<col width="50%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Table name</th>
<th class="head" colspan="2"><strong>ETW_EVENTS</strong></th>
</tr>
<tr class="row-even"><th class="head">Column Name</th>
<th class="head">Column Type</th>
<th class="head">Column Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-odd"><td>start</td>
<td>INT NOT NULL</td>
<td>Event start timestamp in nanoseconds.</td>
</tr>
<tr class="row-even"><td>end</td>
<td>INT NOT NULL</td>
<td>Event end timestamp in nanoseconds.</td>
</tr>
<tr class="row-odd"><td>globalTid</td>
<td>INT</td>
<td>Serialized <a class="reference internal" href="examples.html#globalid"><span class="std std-ref">GlobalId</span></a>.</td>
</tr>
<tr class="row-even"><td>providerName</td>
<td>INT</td>
<td><a class="reference internal" href="#stringid"><span class="std std-ref">StringId</span></a> of tracing events
provider name.</td>
</tr>
<tr class="row-odd"><td>taskName</td>
<td>INT</td>
<td><a class="reference internal" href="#stringid"><span class="std std-ref">StringId</span></a> of event task name.</td>
</tr>
<tr class="row-even"><td>description</td>
<td>INT</td>
<td><a class="reference internal" href="#stringid"><span class="std std-ref">StringId</span></a> of decoded event value.</td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="openmp-events">
<h2>OpenMP Events<a class="headerlink" href="#openmp-events" title="Permalink to this headline">¶</a></h2>
<div class="section" id="thread-event">
<h3>Thread Event<a class="headerlink" href="#thread-event" title="Permalink to this headline">¶</a></h3>
<table border="1" class="colwidths-given docutils">
<colgroup>
<col width="30%" />
<col width="20%" />
<col width="50%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Table name</th>
<th class="head" colspan="2"><strong>OPENMP_EVENT_KIND_THREAD</strong></th>
</tr>
<tr class="row-even"><th class="head">Column Name</th>
<th class="head">Column Type</th>
<th class="head">Column Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-odd"><td>start</td>
<td>INT NOT NULL</td>
<td>Event start timestamp in nanoseconds.</td>
</tr>
<tr class="row-even"><td>end</td>
<td>INT NOT NULL</td>
<td>Event end timestamp in nanoseconds.</td>
</tr>
<tr class="row-odd"><td>eventClass</td>
<td>INT NOT NULL</td>
<td><a class="reference external" href="#openmp-event-class-values">OpenMP event class</a> enum
value.</td>
</tr>
<tr class="row-even"><td>globalTid</td>
<td>INT</td>
<td>Serialized <a class="reference internal" href="examples.html#globalid"><span class="std std-ref">GlobalId</span></a>.</td>
</tr>
<tr class="row-odd"><td>correlationId</td>
<td>INT</td>
<td>Currently unused</td>
</tr>
<tr class="row-even"><td>nameId</td>
<td>INT NOT NULL</td>
<td><a class="reference internal" href="#stringid"><span class="std std-ref">StringId</span></a> of event name</td>
</tr>
<tr class="row-odd"><td>eventKind</td>
<td>INT</td>
<td><a class="reference external" href="#openmp-event-kind-values">OpenMP event kind</a> enum
value.</td>
</tr>
<tr class="row-even"><td>threadId</td>
<td>INT</td>
<td>Internal thread sequence starting from 1. Note that
this is not the OS thread Id.</td>
</tr>
<tr class="row-odd"><td>threadType</td>
<td>INT</td>
<td><a class="reference external" href="#openmp-thread-type-values">OpenMP thread type</a> enum
value. See <a class="reference external" href="https://www.openmp.org/spec-html/5.0/openmpsu185.html#x233-11730004.4.4.10">https://www.openmp.org/spec-html/5.0/openmpsu185.html#x233-11730004.4.4.10</a></td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="parallel-event">
<h3>Parallel Event<a class="headerlink" href="#parallel-event" title="Permalink to this headline">¶</a></h3>
<table border="1" class="colwidths-given docutils">
<colgroup>
<col width="30%" />
<col width="20%" />
<col width="50%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Table name</th>
<th class="head" colspan="2"><strong>OPENMP_EVENT_KIND_PARALLEL</strong></th>
</tr>
<tr class="row-even"><th class="head">Column Name</th>
<th class="head">Column Type</th>
<th class="head">Column Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-odd"><td>start</td>
<td>INT NOT NULL</td>
<td>Event start timestamp in nanoseconds.</td>
</tr>
<tr class="row-even"><td>end</td>
<td>INT NOT NULL</td>
<td>Event end timestamp in nanoseconds.</td>
</tr>
<tr class="row-odd"><td>eventClass</td>
<td>INT NOT NULL</td>
<td><a class="reference external" href="#openmp-event-class-values">OpenMP event class</a> enum
value.</td>
</tr>
<tr class="row-even"><td>globalTid</td>
<td>INT</td>
<td>Serialized <a class="reference internal" href="examples.html#globalid"><span class="std std-ref">GlobalId</span></a>.</td>
</tr>
<tr class="row-odd"><td>correlationId</td>
<td>INT</td>
<td>Currently unused</td>
</tr>
<tr class="row-even"><td>nameId</td>
<td>INT NOT NULL</td>
<td><a class="reference internal" href="#stringid"><span class="std std-ref">StringId</span></a> of event name</td>
</tr>
<tr class="row-odd"><td>eventKind</td>
<td>INT</td>
<td><a class="reference external" href="#openmp-event-kind-values">OpenMP event kind</a> enum
value.</td>
</tr>
<tr class="row-even"><td>parallelId</td>
<td>INT</td>
<td>Internal parallel region sequence starting from 1.</td>
</tr>
<tr class="row-odd"><td>parentTaskId</td>
<td>INT</td>
<td>Id for task that creates this parallel region.</td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="syncregion-syncregionwait-event">
<h3>SyncRegion/SyncRegionWait Event<a class="headerlink" href="#syncregion-syncregionwait-event" title="Permalink to this headline">¶</a></h3>
<table border="1" class="colwidths-given docutils">
<colgroup>
<col width="30%" />
<col width="20%" />
<col width="50%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Table name</th>
<th class="head" colspan="2"><strong>OPENMP_EVENT_KIND_SYNC_REGION / OPENMP_EVENT_KIND_SYNC_REGION_WAIT</strong></th>
</tr>
<tr class="row-even"><th class="head">Column Name</th>
<th class="head">Column Type</th>
<th class="head">Column Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-odd"><td>start</td>
<td>INT NOT NULL</td>
<td>Event start timestamp in nanoseconds.</td>
</tr>
<tr class="row-even"><td>end</td>
<td>INT NOT NULL</td>
<td>Event end timestamp in nanoseconds.</td>
</tr>
<tr class="row-odd"><td>eventClass</td>
<td>INT NOT NULL</td>
<td><a class="reference external" href="#openmp-event-class-values">OpenMP event class</a> enum
value.</td>
</tr>
<tr class="row-even"><td>globalTid</td>
<td>INT</td>
<td>Serialized <a class="reference internal" href="examples.html#globalid"><span class="std std-ref">GlobalId</span></a>.</td>
</tr>
<tr class="row-odd"><td>correlationId</td>
<td>INT</td>
<td>Currently unused</td>
</tr>
<tr class="row-even"><td>nameId</td>
<td>INT NOT NULL</td>
<td><a class="reference internal" href="#stringid"><span class="std std-ref">StringId</span></a> of event name</td>
</tr>
<tr class="row-odd"><td>eventKind</td>
<td>INT</td>
<td><a class="reference external" href="#openmp-event-kind-values">OpenMP event kind</a> enum
value.</td>
</tr>
<tr class="row-even"><td>parallelId</td>
<td>INT</td>
<td>Id of parallel region that this event belongs to.</td>
</tr>
<tr class="row-odd"><td>taskId</td>
<td>INT</td>
<td>Id of task that this event belongs to.</td>
</tr>
<tr class="row-even"><td>kind</td>
<td>INT</td>
<td><a class="reference external" href="#openmp-sync-region-kind-values">OpenMP sync region kind</a>
enum value. See <a class="reference external" href="https://www.openmp.org/spec-html/5.0/openmpsu185.html#x233-11830004.4.4.13">https://www.openmp.org/spec-html/5.0/openmpsu185.html#x233-11830004.4.4.13</a>.</td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="task-event">
<h3>Task Event<a class="headerlink" href="#task-event" title="Permalink to this headline">¶</a></h3>
<table border="1" class="colwidths-given docutils">
<colgroup>
<col width="30%" />
<col width="20%" />
<col width="50%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Table name</th>
<th class="head" colspan="2"><strong>OPENMP_EVENT_KIND_TASK</strong></th>
</tr>
<tr class="row-even"><th class="head">Column Name</th>
<th class="head">Column Type</th>
<th class="head">Column Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-odd"><td>start</td>
<td>INT NOT NULL</td>
<td>Event start timestamp in nanoseconds.</td>
</tr>
<tr class="row-even"><td>end</td>
<td>INT NOT NULL</td>
<td>Event end timestamp in nanoseconds.</td>
</tr>
<tr class="row-odd"><td>eventClass</td>
<td>INT NOT NULL</td>
<td><a class="reference external" href="#openmp-event-class-values">OpenMP event class</a> enum
value.</td>
</tr>
<tr class="row-even"><td>globalTid</td>
<td>INT</td>
<td>Serialized <a class="reference internal" href="examples.html#globalid"><span class="std std-ref">GlobalId</span></a>.</td>
</tr>
<tr class="row-odd"><td>correlationId</td>
<td>INT</td>
<td>Use this value to find events in
<code class="docutils literal"><span class="pre">OPENMP_EVENT_KIND_TASK</span></code> table that are different
parts (generated due to task switching) of the same
task.</td>
</tr>
<tr class="row-even"><td>nameId</td>
<td>INT NOT NULL</td>
<td><a class="reference internal" href="#stringid"><span class="std std-ref">StringId</span></a> of event name</td>
</tr>
<tr class="row-odd"><td>eventKind</td>
<td>INT</td>
<td><a class="reference external" href="#openmp-event-kind-values">OpenMP event kind</a> enum
value.</td>
</tr>
<tr class="row-even"><td>parallelId</td>
<td>INT</td>
<td>Id of parallel region that this task belongs to.</td>
</tr>
<tr class="row-odd"><td>taskId</td>
<td>INT</td>
<td>Internal task sequence starting from 1.</td>
</tr>
<tr class="row-even"><td>kind</td>
<td>INT</td>
<td><a class="reference external" href="#openmp-task-kind-values">OpenMP task kind</a>
enum value.</td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="master-event">
<h3>Master Event<a class="headerlink" href="#master-event" title="Permalink to this headline">¶</a></h3>
<table border="1" class="colwidths-given docutils">
<colgroup>
<col width="30%" />
<col width="20%" />
<col width="50%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Table name</th>
<th class="head" colspan="2"><strong>OPENMP_EVENT_KIND_MASTER</strong></th>
</tr>
<tr class="row-even"><th class="head">Column Name</th>
<th class="head">Column Type</th>
<th class="head">Column Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-odd"><td>start</td>
<td>INT NOT NULL</td>
<td>Event start timestamp in nanoseconds.</td>
</tr>
<tr class="row-even"><td>end</td>
<td>INT NOT NULL</td>
<td>Event end timestamp in nanoseconds.</td>
</tr>
<tr class="row-odd"><td>eventClass</td>
<td>INT NOT NULL</td>
<td><a class="reference external" href="#openmp-event-class-values">OpenMP event class</a> enum
value.</td>
</tr>
<tr class="row-even"><td>globalTid</td>
<td>INT</td>
<td>Serialized <a class="reference internal" href="examples.html#globalid"><span class="std std-ref">GlobalId</span></a>.</td>
</tr>
<tr class="row-odd"><td>correlationId</td>
<td>INT</td>
<td>Currently unused</td>
</tr>
<tr class="row-even"><td>nameId</td>
<td>INT NOT NULL</td>
<td><a class="reference internal" href="#stringid"><span class="std std-ref">StringId</span></a> of event name</td>
</tr>
<tr class="row-odd"><td>eventKind</td>
<td>INT</td>
<td><a class="reference external" href="#openmp-event-kind-values">OpenMP event kind</a> enum
value.</td>
</tr>
<tr class="row-even"><td>parallelId</td>
<td>INT</td>
<td>Id of parallel region that this region belongs to.</td>
</tr>
<tr class="row-odd"><td>taskId</td>
<td>INT</td>
<td>Id of task that this region belongs to.</td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="reduction-event">
<h3>Reduction Event<a class="headerlink" href="#reduction-event" title="Permalink to this headline">¶</a></h3>
<table border="1" class="colwidths-given docutils">
<colgroup>
<col width="30%" />
<col width="20%" />
<col width="50%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Table name</th>
<th class="head" colspan="2"><strong>OPENMP_EVENT_KIND_REDUCTION</strong></th>
</tr>
<tr class="row-even"><th class="head">Column Name</th>
<th class="head">Column Type</th>
<th class="head">Column Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-odd"><td>start</td>
<td>INT NOT NULL</td>
<td>Event start timestamp in nanoseconds.</td>
</tr>
<tr class="row-even"><td>end</td>
<td>INT NOT NULL</td>
<td>Event end timestamp in nanoseconds.</td>
</tr>
<tr class="row-odd"><td>eventClass</td>
<td>INT NOT NULL</td>
<td><a class="reference external" href="#openmp-event-class-values">OpenMP event class</a> enum
value.</td>
</tr>
<tr class="row-even"><td>globalTid</td>
<td>INT</td>
<td>Serialized <a class="reference internal" href="examples.html#globalid"><span class="std std-ref">GlobalId</span></a>.</td>
</tr>
<tr class="row-odd"><td>correlationId</td>
<td>INT</td>
<td>Currently unused</td>
</tr>
<tr class="row-even"><td>nameId</td>
<td>INT NOT NULL</td>
<td><a class="reference internal" href="#stringid"><span class="std std-ref">StringId</span></a> of event name</td>
</tr>
<tr class="row-odd"><td>eventKind</td>
<td>INT</td>
<td><a class="reference external" href="#openmp-event-kind-values">OpenMP event kind</a> enum
value.</td>
</tr>
<tr class="row-even"><td>parallelId</td>
<td>INT</td>
<td>Id of parallel region that this region belongs to.</td>
</tr>
<tr class="row-odd"><td>taskId</td>
<td>INT</td>
<td>Id of task that this region belongs to.</td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="task-create-event">
<h3>Task Create Event<a class="headerlink" href="#task-create-event" title="Permalink to this headline">¶</a></h3>
<table border="1" class="colwidths-given docutils">
<colgroup>
<col width="30%" />
<col width="20%" />
<col width="50%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Table name</th>
<th class="head" colspan="2"><strong>OPENMP_EVENT_KIND_TASK_CREATE</strong></th>
</tr>
<tr class="row-even"><th class="head">Column Name</th>
<th class="head">Column Type</th>
<th class="head">Column Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-odd"><td>start</td>
<td>INT NOT NULL</td>
<td>Event start timestamp in nanoseconds.</td>
</tr>
<tr class="row-even"><td>end</td>
<td>INT NOT NULL</td>
<td>Event end timestamp in nanoseconds.</td>
</tr>
<tr class="row-odd"><td>eventClass</td>
<td>INT NOT NULL</td>
<td><a class="reference external" href="#openmp-event-class-values">OpenMP event class</a> enum
value.</td>
</tr>
<tr class="row-even"><td>globalTid</td>
<td>INT</td>
<td>Serialized <a class="reference internal" href="examples.html#globalid"><span class="std std-ref">GlobalId</span></a>.</td>
</tr>
<tr class="row-odd"><td>correlationId</td>
<td>INT</td>
<td>Use this value to find events in
<code class="docutils literal"><span class="pre">OPENMP_EVENT_KIND_TASK</span></code> table that are created by
this event.</td>
</tr>
<tr class="row-even"><td>nameId</td>
<td>INT NOT NULL</td>
<td><a class="reference internal" href="#stringid"><span class="std std-ref">StringId</span></a> of event name</td>
</tr>
<tr class="row-odd"><td>eventKind</td>
<td>INT</td>
<td><a class="reference external" href="#openmp-event-kind-values">OpenMP event kind</a> enum
value.</td>
</tr>
<tr class="row-even"><td>parentTaskId</td>
<td>INT</td>
<td>Id of parent task that is creating a new task.</td>
</tr>
<tr class="row-odd"><td>newTaskId</td>
<td>INT</td>
<td>Id of new task that is being created.</td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="task-schedule-event">
<h3>Task Schedule Event<a class="headerlink" href="#task-schedule-event" title="Permalink to this headline">¶</a></h3>
<table border="1" class="colwidths-given docutils">
<colgroup>
<col width="30%" />
<col width="20%" />
<col width="50%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Table name</th>
<th class="head" colspan="2"><strong>OPENMP_EVENT_KIND_TASK_SCHEDULE</strong></th>
</tr>
<tr class="row-even"><th class="head">Column Name</th>
<th class="head">Column Type</th>
<th class="head">Column Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-odd"><td>start</td>
<td>INT NOT NULL</td>
<td>Event start timestamp in nanoseconds.</td>
</tr>
<tr class="row-even"><td>end</td>
<td>INT NOT NULL</td>
<td>Event end timestamp in nanoseconds.</td>
</tr>
<tr class="row-odd"><td>eventClass</td>
<td>INT NOT NULL</td>
<td><a class="reference external" href="#openmp-event-class-values">OpenMP event class</a> enum
value.</td>
</tr>
<tr class="row-even"><td>globalTid</td>
<td>INT</td>
<td>Serialized <a class="reference internal" href="examples.html#globalid"><span class="std std-ref">GlobalId</span></a>.</td>
</tr>
<tr class="row-odd"><td>correlationId</td>
<td>INT</td>
<td>Currently unused</td>
</tr>
<tr class="row-even"><td>nameId</td>
<td>INT NOT NULL</td>
<td><a class="reference internal" href="#stringid"><span class="std std-ref">StringId</span></a> of event name</td>
</tr>
<tr class="row-odd"><td>eventKind</td>
<td>INT</td>
<td><a class="reference external" href="#openmp-event-kind-values">OpenMP event kind</a> enum
value.</td>
</tr>
<tr class="row-even"><td>parallelId</td>
<td>INT</td>
<td>Id of parallel region that this event belongs to.</td>
</tr>
<tr class="row-odd"><td>priorTaskId</td>
<td>INT</td>
<td>Id of task that is being switched out.</td>
</tr>
<tr class="row-even"><td>priorTaskStatus</td>
<td>INT</td>
<td><a class="reference external" href="#openmp-prior-task-status-values">OpenMP prior task status</a>
enum value.</td>
</tr>
<tr class="row-odd"><td>nextTaskId</td>
<td>INT</td>
<td>Id of task that is being switched in.</td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="cancel-event">
<h3>Cancel Event<a class="headerlink" href="#cancel-event" title="Permalink to this headline">¶</a></h3>
<table border="1" class="colwidths-given docutils">
<colgroup>
<col width="30%" />
<col width="20%" />
<col width="50%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Table name</th>
<th class="head" colspan="2"><strong>OPENMP_EVENT_KIND_CANCEL</strong></th>
</tr>
<tr class="row-even"><th class="head">Column Name</th>
<th class="head">Column Type</th>
<th class="head">Column Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-odd"><td>start</td>
<td>INT NOT NULL</td>
<td>Event start timestamp in nanoseconds.</td>
</tr>
<tr class="row-even"><td>end</td>
<td>INT NOT NULL</td>
<td>Event end timestamp in nanoseconds.</td>
</tr>
<tr class="row-odd"><td>eventClass</td>
<td>INT NOT NULL</td>
<td><a class="reference external" href="#openmp-event-class-values">OpenMP event class</a> enum
value.</td>
</tr>
<tr class="row-even"><td>globalTid</td>
<td>INT</td>
<td>Serialized <a class="reference internal" href="examples.html#globalid"><span class="std std-ref">GlobalId</span></a>.</td>
</tr>
<tr class="row-odd"><td>correlationId</td>
<td>INT</td>
<td>Currently unused</td>
</tr>
<tr class="row-even"><td>nameId</td>
<td>INT NOT NULL</td>
<td><a class="reference internal" href="#stringid"><span class="std std-ref">StringId</span></a> of event name</td>
</tr>
<tr class="row-odd"><td>eventKind</td>
<td>INT</td>
<td><a class="reference external" href="#openmp-event-kind-values">OpenMP event kind</a> enum
value.</td>
</tr>
<tr class="row-even"><td>taskId</td>
<td>INT</td>
<td>Id of task that is being cancelled.</td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="mutex-wait-event">
<h3>Mutex Wait Event<a class="headerlink" href="#mutex-wait-event" title="Permalink to this headline">¶</a></h3>
<table border="1" class="colwidths-given docutils">
<colgroup>
<col width="30%" />
<col width="20%" />
<col width="50%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Table name</th>
<th class="head" colspan="2"><strong>OPENMP_EVENT_KIND_MUTEX_WAIT</strong></th>
</tr>
<tr class="row-even"><th class="head">Column Name</th>
<th class="head">Column Type</th>
<th class="head">Column Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-odd"><td>start</td>
<td>INT NOT NULL</td>
<td>Event start timestamp in nanoseconds.</td>
</tr>
<tr class="row-even"><td>end</td>
<td>INT NOT NULL</td>
<td>Event end timestamp in nanoseconds.</td>
</tr>
<tr class="row-odd"><td>eventClass</td>
<td>INT NOT NULL</td>
<td><a class="reference external" href="#openmp-event-class-values">OpenMP event class</a> enum
value.</td>
</tr>
<tr class="row-even"><td>globalTid</td>
<td>INT</td>
<td>Serialized <a class="reference internal" href="examples.html#globalid"><span class="std std-ref">GlobalId</span></a>.</td>
</tr>
<tr class="row-odd"><td>correlationId</td>
<td>INT</td>
<td>Currently unused</td>
</tr>
<tr class="row-even"><td>nameId</td>
<td>INT NOT NULL</td>
<td><a class="reference internal" href="#stringid"><span class="std std-ref">StringId</span></a> of event name</td>
</tr>
<tr class="row-odd"><td>eventKind</td>
<td>INT</td>
<td><a class="reference external" href="#openmp-event-kind-values">OpenMP event kind</a> enum
value.</td>
</tr>
<tr class="row-even"><td>kind</td>
<td>INT</td>
<td><a class="reference external" href="#openmp-mutex-kind-values">OpenMP mutex kind</a> enum
value.</td>
</tr>
<tr class="row-odd"><td>waitId</td>
<td>INT</td>
<td>Id indicating object being waited.</td>
</tr>
<tr class="row-even"><td>taskId</td>
<td>INT</td>
<td>Id of task that this event belongs to.</td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="critical-section-event">
<h3>Critical Section Event<a class="headerlink" href="#critical-section-event" title="Permalink to this headline">¶</a></h3>
<table border="1" class="colwidths-given docutils">
<colgroup>
<col width="30%" />
<col width="20%" />
<col width="50%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Table name</th>
<th class="head" colspan="2"><strong>OPENMP_EVENT_KIND_CRITICAL_SECTION</strong></th>
</tr>
<tr class="row-even"><th class="head">Column Name</th>
<th class="head">Column Type</th>
<th class="head">Column Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-odd"><td>start</td>
<td>INT NOT NULL</td>
<td>Event start timestamp in nanoseconds.</td>
</tr>
<tr class="row-even"><td>end</td>
<td>INT NOT NULL</td>
<td>Event end timestamp in nanoseconds.</td>
</tr>
<tr class="row-odd"><td>eventClass</td>
<td>INT NOT NULL</td>
<td><a class="reference external" href="#openmp-event-class-values">OpenMP event class</a> enum
value.</td>
</tr>
<tr class="row-even"><td>globalTid</td>
<td>INT</td>
<td>Serialized <a class="reference internal" href="examples.html#globalid"><span class="std std-ref">GlobalId</span></a>.</td>
</tr>
<tr class="row-odd"><td>correlationId</td>
<td>INT</td>
<td>Currently unused</td>
</tr>
<tr class="row-even"><td>nameId</td>
<td>INT NOT NULL</td>
<td><a class="reference internal" href="#stringid"><span class="std std-ref">StringId</span></a> of event name</td>
</tr>
<tr class="row-odd"><td>eventKind</td>
<td>INT</td>
<td><a class="reference external" href="#openmp-event-kind-values">OpenMP event kind</a> enum
value.</td>
</tr>
<tr class="row-even"><td>kind</td>
<td>INT</td>
<td><a class="reference external" href="#openmp-critical-section-kind-values">OpenMP critical section kind</a>
enum value.</td>
</tr>
<tr class="row-odd"><td>waitId</td>
<td>INT</td>
<td>Id indicating object being held.</td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="mutex-released-event">
<h3>Mutex Released Event<a class="headerlink" href="#mutex-released-event" title="Permalink to this headline">¶</a></h3>
<table border="1" class="colwidths-given docutils">
<colgroup>
<col width="30%" />
<col width="20%" />
<col width="50%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Table name</th>
<th class="head" colspan="2"><strong>OPENMP_EVENT_KIND_MUTEX_RELEASED</strong></th>
</tr>
<tr class="row-even"><th class="head">Column Name</th>
<th class="head">Column Type</th>
<th class="head">Column Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-odd"><td>start</td>
<td>INT NOT NULL</td>
<td>Event start timestamp in nanoseconds.</td>
</tr>
<tr class="row-even"><td>end</td>
<td>INT NOT NULL</td>
<td>Event end timestamp in nanoseconds.</td>
</tr>
<tr class="row-odd"><td>eventClass</td>
<td>INT NOT NULL</td>
<td><a class="reference external" href="#openmp-event-class-values">OpenMP event class</a> enum
value.</td>
</tr>
<tr class="row-even"><td>globalTid</td>
<td>INT</td>
<td>Serialized <a class="reference internal" href="examples.html#globalid"><span class="std std-ref">GlobalId</span></a>.</td>
</tr>
<tr class="row-odd"><td>correlationId</td>
<td>INT</td>
<td>Currently unused</td>
</tr>
<tr class="row-even"><td>nameId</td>
<td>INT NOT NULL</td>
<td><a class="reference internal" href="#stringid"><span class="std std-ref">StringId</span></a> of event name</td>
</tr>
<tr class="row-odd"><td>eventKind</td>
<td>INT</td>
<td><a class="reference external" href="#openmp-event-kind-values">OpenMP event kind</a> enum
value.</td>
</tr>
<tr class="row-even"><td>kind</td>
<td>INT</td>
<td><a class="reference external" href="#openmp-mutex-kind-values">OpenMP mutex kind</a> enum
value.</td>
</tr>
<tr class="row-odd"><td>waitId</td>
<td>INT</td>
<td>Id indicating object being released.</td>
</tr>
<tr class="row-even"><td>taskId</td>
<td>INT</td>
<td>Id of task that this event belongs to.</td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="lock-init-lock-destroy-event">
<h3>Lock Init / Lock Destroy Event<a class="headerlink" href="#lock-init-lock-destroy-event" title="Permalink to this headline">¶</a></h3>
<table border="1" class="colwidths-given docutils">
<colgroup>
<col width="30%" />
<col width="20%" />
<col width="50%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Table name</th>
<th class="head" colspan="2"><strong>OPENMP_EVENT_KIND_LOCK_INIT / OPENMP_EVENT_KIND_LOCK_DESTROY</strong></th>
</tr>
<tr class="row-even"><th class="head">Column Name</th>
<th class="head">Column Type</th>
<th class="head">Column Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-odd"><td>start</td>
<td>INT NOT NULL</td>
<td>Event start timestamp in nanoseconds.</td>
</tr>
<tr class="row-even"><td>end</td>
<td>INT NOT NULL</td>
<td>Event end timestamp in nanoseconds.</td>
</tr>
<tr class="row-odd"><td>eventClass</td>
<td>INT NOT NULL</td>
<td><a class="reference external" href="#openmp-event-class-values">OpenMP event class</a> enum
value.</td>
</tr>
<tr class="row-even"><td>globalTid</td>
<td>INT</td>
<td>Serialized <a class="reference internal" href="examples.html#globalid"><span class="std std-ref">GlobalId</span></a>.</td>
</tr>
<tr class="row-odd"><td>correlationId</td>
<td>INT</td>
<td>Currently unused</td>
</tr>
<tr class="row-even"><td>nameId</td>
<td>INT NOT NULL</td>
<td><a class="reference internal" href="#stringid"><span class="std std-ref">StringId</span></a> of event name</td>
</tr>
<tr class="row-odd"><td>eventKind</td>
<td>INT</td>
<td><a class="reference external" href="#openmp-event-kind-values">OpenMP event kind</a> enum
value.</td>
</tr>
<tr class="row-even"><td>kind</td>
<td>INT</td>
<td><a class="reference external" href="#openmp-mutex-kind-values">OpenMP mutex kind</a> enum
value.</td>
</tr>
<tr class="row-odd"><td>waitId</td>
<td>INT</td>
<td>Id indicating object being created / destroyed.</td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="workshare-event">
<h3>Workshare Event<a class="headerlink" href="#workshare-event" title="Permalink to this headline">¶</a></h3>
<table border="1" class="colwidths-given docutils">
<colgroup>
<col width="30%" />
<col width="20%" />
<col width="50%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Table name</th>
<th class="head" colspan="2"><strong>OPENMP_EVENT_KIND_WORKSHARE</strong></th>
</tr>
<tr class="row-even"><th class="head">Column Name</th>
<th class="head">Column Type</th>
<th class="head">Column Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-odd"><td>start</td>
<td>INT NOT NULL</td>
<td>Event start timestamp in nanoseconds.</td>
</tr>
<tr class="row-even"><td>end</td>
<td>INT NOT NULL</td>
<td>Event end timestamp in nanoseconds.</td>
</tr>
<tr class="row-odd"><td>eventClass</td>
<td>INT NOT NULL</td>
<td><a class="reference external" href="#openmp-event-class-values">OpenMP event class</a> enum
value.</td>
</tr>
<tr class="row-even"><td>globalTid</td>
<td>INT</td>
<td>Serialized <a class="reference internal" href="examples.html#globalid"><span class="std std-ref">GlobalId</span></a>.</td>
</tr>
<tr class="row-odd"><td>correlationId</td>
<td>INT</td>
<td>Currently unused</td>
</tr>
<tr class="row-even"><td>nameId</td>
<td>INT NOT NULL</td>
<td><a class="reference internal" href="#stringid"><span class="std std-ref">StringId</span></a> of event name</td>
</tr>
<tr class="row-odd"><td>eventKind</td>
<td>INT</td>
<td><a class="reference external" href="#openmp-event-kind-values">OpenMP event kind</a> enum
value.</td>
</tr>
<tr class="row-even"><td>kind</td>
<td>INT</td>
<td><a class="reference external" href="#openmp-workshare-kind-values">OpenMP workshare kind</a>
enum value. See <a class="reference external" href="https://www.openmp.org/spec-html/5.0/openmpsu185.html#x233-11890004.4.4.15">https://www.openmp.org/spec-html/5.0/openmpsu185.html#x233-11890004.4.4.15</a>.</td>
</tr>
<tr class="row-odd"><td>parallelId</td>
<td>INT</td>
<td>Id of parallel region that this region belongs to.</td>
</tr>
<tr class="row-even"><td>taskId</td>
<td>INT</td>
<td>Id of task that this region belongs to.</td>
</tr>
<tr class="row-odd"><td>count</td>
<td>INT</td>
<td>A measure of the quantity of work involved in the
region. See <a class="reference external" href="https://www.openmp.org/spec-html/5.0/openmpsu187.html#x236-12830004.5.2.5">https://www.openmp.org/spec-html/5.0/openmpsu187.html#x236-12830004.5.2.5</a>.</td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="dispatch-event">
<h3>Dispatch Event<a class="headerlink" href="#dispatch-event" title="Permalink to this headline">¶</a></h3>
<table border="1" class="colwidths-given docutils">
<colgroup>
<col width="30%" />
<col width="20%" />
<col width="50%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Table name</th>
<th class="head" colspan="2"><strong>OPENMP_EVENT_KIND_DISPATCH</strong></th>
</tr>
<tr class="row-even"><th class="head">Column Name</th>
<th class="head">Column Type</th>
<th class="head">Column Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-odd"><td>start</td>
<td>INT NOT NULL</td>
<td>Event start timestamp in nanoseconds.</td>
</tr>
<tr class="row-even"><td>end</td>
<td>INT NOT NULL</td>
<td>Event end timestamp in nanoseconds.</td>
</tr>
<tr class="row-odd"><td>eventClass</td>
<td>INT NOT NULL</td>
<td><a class="reference external" href="#openmp-event-class-values">OpenMP event class</a> enum
value.</td>
</tr>
<tr class="row-even"><td>globalTid</td>
<td>INT</td>
<td>Serialized <a class="reference internal" href="examples.html#globalid"><span class="std std-ref">GlobalId</span></a>.</td>
</tr>
<tr class="row-odd"><td>correlationId</td>
<td>INT</td>
<td>Currently unused</td>
</tr>
<tr class="row-even"><td>nameId</td>
<td>INT NOT NULL</td>
<td><a class="reference internal" href="#stringid"><span class="std std-ref">StringId</span></a> of event name</td>
</tr>
<tr class="row-odd"><td>eventKind</td>
<td>INT</td>
<td><a class="reference external" href="#openmp-event-kind-values">OpenMP event kind</a> enum
value.</td>
</tr>
<tr class="row-even"><td>kind</td>
<td>INT</td>
<td><a class="reference external" href="#openmp-dispatch-kind-values">OpenMP dispatch kind</a>
enum value. See <a class="reference external" href="https://www.openmp.org/spec-html/5.0/openmpsu185.html#x233-11800004.4.4.12">https://www.openmp.org/spec-html/5.0/openmpsu185.html#x233-11800004.4.4.12</a></td>
</tr>
<tr class="row-odd"><td>parallelId</td>
<td>INT</td>
<td>Id of parallel region that this event belongs to.</td>
</tr>
<tr class="row-even"><td>taskId</td>
<td>INT</td>
<td>Id of task that this event belongs to.</td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="flush-event">
<h3>Flush Event<a class="headerlink" href="#flush-event" title="Permalink to this headline">¶</a></h3>
<table border="1" class="colwidths-given docutils">
<colgroup>
<col width="30%" />
<col width="20%" />
<col width="50%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Table name</th>
<th class="head" colspan="2"><strong>OPENMP_EVENT_KIND_FLUSH</strong></th>
</tr>
<tr class="row-even"><th class="head">Column Name</th>
<th class="head">Column Type</th>
<th class="head">Column Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-odd"><td>start</td>
<td>INT NOT NULL</td>
<td>Event start timestamp in nanoseconds.</td>
</tr>
<tr class="row-even"><td>end</td>
<td>INT NOT NULL</td>
<td>Event end timestamp in nanoseconds.</td>
</tr>
<tr class="row-odd"><td>eventClass</td>
<td>INT NOT NULL</td>
<td><a class="reference external" href="#openmp-event-class-values">OpenMP event class</a> enum
value.</td>
</tr>
<tr class="row-even"><td>globalTid</td>
<td>INT</td>
<td>Serialized <a class="reference internal" href="examples.html#globalid"><span class="std std-ref">GlobalId</span></a>.</td>
</tr>
<tr class="row-odd"><td>correlationId</td>
<td>INT</td>
<td>Currently unused</td>
</tr>
<tr class="row-even"><td>nameId</td>
<td>INT NOT NULL</td>
<td><a class="reference internal" href="#stringid"><span class="std std-ref">StringId</span></a> of event name</td>
</tr>
<tr class="row-odd"><td>eventKind</td>
<td>INT</td>
<td><a class="reference external" href="#openmp-event-kind-values">OpenMP event kind</a> enum
value.</td>
</tr>
<tr class="row-even"><td>threadId</td>
<td>INT</td>
<td>Id of thread that this event belongs to. Note this is
the internal thread sequence rather than the OS thread
id.</td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="openmp-event-class-values">
<h3>OpenMP event class values<a class="headerlink" href="#openmp-event-class-values" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>78 - TRACE_PROCESS_EVENT_OPENMP</li>
<li>79 - TRACE_PROCESS_EVENT_OPENMP_START</li>
<li>80 - TRACE_PROCESS_EVENT_OPENMP_FINISH</li>
</ul>
</div>
<div class="section" id="openmp-event-kind-values">
<h3>OpenMP event kind values<a class="headerlink" href="#openmp-event-kind-values" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>15 - OPENMP_EVENT_KIND_TASK_CREATE</li>
<li>16 - OPENMP_EVENT_KIND_TASK_SCHEDULE</li>
<li>17 - OPENMP_EVENT_KIND_CANCEL</li>
<li>20 - OPENMP_EVENT_KIND_MUTEX_RELEASED</li>
<li>21 - OPENMP_EVENT_KIND_LOCK_INIT</li>
<li>22 - OPENMP_EVENT_KIND_LOCK_DESTROY</li>
<li>25 - OPENMP_EVENT_KIND_DISPATCH</li>
<li>26 - OPENMP_EVENT_KIND_FLUSH</li>
<li>27 - OPENMP_EVENT_KIND_THREAD</li>
<li>28 - OPENMP_EVENT_KIND_PARALLEL</li>
<li>29 - OPENMP_EVENT_KIND_SYNC_REGION_WAIT</li>
<li>30 - OPENMP_EVENT_KIND_SYNC_REGION</li>
<li>31 - OPENMP_EVENT_KIND_TASK</li>
<li>32 - OPENMP_EVENT_KIND_MASTER</li>
<li>33 - OPENMP_EVENT_KIND_REDUCTION</li>
<li>34 - OPENMP_EVENT_KIND_MUTEX_WAIT</li>
<li>35 - OPENMP_EVENT_KIND_CRITICAL_SECTION</li>
<li>36 - OPENMP_EVENT_KIND_WORKSHARE</li>
</ul>
</div>
<div class="section" id="openmp-thread-type-values">
<h3>OpenMP thread type values<a class="headerlink" href="#openmp-thread-type-values" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>1 - OpenMP Initial Thread</li>
<li>2 - OpenMP Worker Thread</li>
<li>3 - OpenMP Internal Thread</li>
<li>4 - Unknown</li>
</ul>
</div>
<div class="section" id="openmp-sync-region-kind-values">
<h3>OpenMP sync region kind values<a class="headerlink" href="#openmp-sync-region-kind-values" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>1 - Barrier</li>
<li>2 - Implicit barrier</li>
<li>3 - Explicit barrier</li>
<li>4 - Implementation-dependent barrier</li>
<li>5 - Taskwait</li>
<li>6 - Taskgroup</li>
</ul>
</div>
<div class="section" id="openmp-task-kind-values">
<h3>OpenMP task kind values<a class="headerlink" href="#openmp-task-kind-values" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>1 - Initial task</li>
<li>2 - Implicit task</li>
<li>3 - Explicit task</li>
</ul>
</div>
<div class="section" id="openmp-prior-task-status-values">
<h3>OpenMP prior task status values<a class="headerlink" href="#openmp-prior-task-status-values" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>1 - Task completed</li>
<li>2 - Task yielded to another task</li>
<li>3 - Task was cancelled</li>
<li>7 - Task was switched out for other reasons</li>
</ul>
</div>
<div class="section" id="openmp-mutex-kind-values">
<h3>OpenMP mutex kind values<a class="headerlink" href="#openmp-mutex-kind-values" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>1 - Waiting for lock</li>
<li>2 - Testing lock</li>
<li>3 - Waiting for nested lock</li>
<li>4 - Tesing nested lock</li>
<li>5 - Waitng for entering critical section region</li>
<li>6 - Waiting for entering atomic region</li>
<li>7 - Waiting for entering ordered region</li>
</ul>
</div>
<div class="section" id="openmp-critical-section-kind-values">
<h3>OpenMP critical section kind values<a class="headerlink" href="#openmp-critical-section-kind-values" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>5 - Critical section region</li>
<li>6 - Atomic region</li>
<li>7 - Ordered region</li>
</ul>
</div>
<div class="section" id="openmp-workshare-kind-values">
<h3>OpenMP workshare kind values<a class="headerlink" href="#openmp-workshare-kind-values" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>1 - Loop region</li>
<li>2 - Sections region</li>
<li>3 - Single region (executor)</li>
<li>4 - Single region (waiting)</li>
<li>5 - Workshare region</li>
<li>6 - Distrubute region</li>
<li>7 - Taskloop region</li>
</ul>
</div>
<div class="section" id="openmp-dispatch-kind-values">
<h3>OpenMP dispatch kind values<a class="headerlink" href="#openmp-dispatch-kind-values" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>1 - Iteration</li>
<li>2 - Section</li>
</ul>
</div>
</div>
<div class="section" id="generic-events">
<h2>Generic events<a class="headerlink" href="#generic-events" title="Permalink to this headline">¶</a></h2>
<p>NVIDIA Nsight Systems is capable of collecting events for which the schema is
known only at the run-time. Such events are referred to as generic and are
exported distinctly from other event types. For every generic event there&#8217;s
corresponding type schema and for every generic event type there&#8217;s source
parameters description.</p>
<p>Due to how Nsight Systems handles generic event field values, their
representation in encoded JSON data will always be of string type.
If necessary, SQLite <cite>CAST</cite> function can be used to convert them.</p>
<table border="1" class="colwidths-given docutils">
<colgroup>
<col width="30%" />
<col width="20%" />
<col width="50%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Table name</th>
<th class="head" colspan="2"><strong>GENERIC_EVENTS</strong></th>
</tr>
<tr class="row-even"><th class="head">Column Name</th>
<th class="head">Column Type</th>
<th class="head">Column Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-odd"><td>rawTimestamp</td>
<td>INT</td>
<td>Raw event timestamp recorded during profiling.</td>
</tr>
<tr class="row-even"><td>timestamp</td>
<td>INT</td>
<td>Event timestamp converted to the profiling session
timeline.</td>
</tr>
<tr class="row-odd"><td>typeId</td>
<td>INT REFERENCES
GENERIC_EVENT_TYPES</td>
<td>Serialized <a class="reference internal" href="examples.html#globalid"><span class="std std-ref">GlobalId</span></a>.</td>
</tr>
<tr class="row-even"><td>data</td>
<td>TEXT</td>
<td>JSON encoded event data.</td>
</tr>
</tbody>
</table>
<table border="1" class="colwidths-given docutils">
<colgroup>
<col width="30%" />
<col width="20%" />
<col width="50%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Table name</th>
<th class="head" colspan="2"><strong>GENERIC_EVENT_TYPES</strong></th>
</tr>
<tr class="row-even"><th class="head">Column Name</th>
<th class="head">Column Type</th>
<th class="head">Column Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-odd"><td>typeId</td>
<td>INT PRIMARY KEY</td>
<td>Serialized <a class="reference internal" href="examples.html#globalid"><span class="std std-ref">GlobalId</span></a>.</td>
</tr>
<tr class="row-even"><td>sourceId</td>
<td>INT REFERENCES
GENERIC_EVENT_SOURCES</td>
<td>Serialized <a class="reference internal" href="examples.html#globalid"><span class="std std-ref">GlobalId</span></a>.</td>
</tr>
<tr class="row-odd"><td>data</td>
<td>TEXT</td>
<td>JSON encoded generic event type description.</td>
</tr>
</tbody>
</table>
<table border="1" class="colwidths-given docutils">
<colgroup>
<col width="30%" />
<col width="20%" />
<col width="50%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Table name</th>
<th class="head" colspan="2"><strong>GENERIC_EVENT_SOURCES</strong></th>
</tr>
<tr class="row-even"><th class="head">Column Name</th>
<th class="head">Column Type</th>
<th class="head">Column Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-odd"><td>sourceId</td>
<td>INT PRIMARY KEY</td>
<td>Serialized <a class="reference internal" href="examples.html#globalid"><span class="std std-ref">GlobalId</span></a>.</td>
</tr>
<tr class="row-even"><td>data</td>
<td>TEXT</td>
<td>JSON encoded generic event source description.</td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="secondary-tables">
<h2>Secondary tables<a class="headerlink" href="#secondary-tables" title="Permalink to this headline">¶</a></h2>
<div class="section" id="string-ids">
<h3>String Ids<a class="headerlink" href="#string-ids" title="Permalink to this headline">¶</a></h3>
<p id="stringid">NVIDIA Nsight Systems stores strings from events in a global storage, each
unique string has a corresponding integer id. The <strong>StringIds</strong> table is
created from that storage.</p>
<table border="1" class="colwidths-given docutils">
<colgroup>
<col width="30%" />
<col width="20%" />
<col width="50%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Table name</th>
<th class="head" colspan="2"><strong>StringIds</strong></th>
</tr>
<tr class="row-even"><th class="head">Column Name</th>
<th class="head">Column Type</th>
<th class="head">Column Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-odd"><td>id</td>
<td>INTEGER PRIMARY KEY</td>
<td>Integer key of a string.</td>
</tr>
<tr class="row-even"><td>value</td>
<td>TEXT NOT NULL</td>
<td>Text content of a string.</td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="thread-names">
<h3>Thread Names<a class="headerlink" href="#thread-names" title="Permalink to this headline">¶</a></h3>
<table border="1" class="colwidths-given docutils">
<colgroup>
<col width="30%" />
<col width="20%" />
<col width="50%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Table name</th>
<th class="head" colspan="2"><strong>ThreadNames</strong></th>
</tr>
<tr class="row-even"><th class="head">Column Name</th>
<th class="head">Column Type</th>
<th class="head">Column Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-odd"><td>nameId</td>
<td>INT NOT NULL</td>
<td><a class="reference internal" href="#stringid"><span class="std std-ref">StringId</span></a> of thread name.</td>
</tr>
<tr class="row-even"><td>globalTid</td>
<td>INT NOT NULL</td>
<td>Serialized <a class="reference internal" href="examples.html#globalid"><span class="std std-ref">GlobalId</span></a>.</td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="process-streams">
<h3>Process streams<a class="headerlink" href="#process-streams" title="Permalink to this headline">¶</a></h3>
<table border="1" class="colwidths-given docutils">
<colgroup>
<col width="30%" />
<col width="20%" />
<col width="50%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Table name</th>
<th class="head" colspan="2"><strong>ProcessStreams</strong></th>
</tr>
<tr class="row-even"><th class="head">Column Name</th>
<th class="head">Column Type</th>
<th class="head">Column Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-odd"><td>globalPid</td>
<td>INT NOT NULL</td>
<td>Serialized <a class="reference internal" href="examples.html#globalid"><span class="std std-ref">GlobalId</span></a>.</td>
</tr>
<tr class="row-even"><td>filenameId</td>
<td>INT NOT NULL</td>
<td><a class="reference internal" href="#stringid"><span class="std std-ref">StringId</span></a> of a file name.</td>
</tr>
<tr class="row-odd"><td>contentId</td>
<td>INT NOT NULL</td>
<td><a class="reference internal" href="#stringid"><span class="std std-ref">StringId</span></a> of stream content.</td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="enums">
<h3>Enums<a class="headerlink" href="#enums" title="Permalink to this headline">¶</a></h3>
<p id="protoenum">Protobuf enumeration types are exported as tables. Here&#8217;s an example structure
for <strong>UnwindMethodType</strong> enumeration:</p>
<table border="1" class="colwidths-given docutils">
<colgroup>
<col width="30%" />
<col width="20%" />
<col width="50%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Table name</th>
<th class="head" colspan="2"><strong>UnwindMethodType</strong></th>
</tr>
<tr class="row-even"><th class="head">Column Name</th>
<th class="head">Column Type</th>
<th class="head">Column Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-odd"><td>number</td>
<td>INTEGER PRIMARY KEY</td>
<td>Integer value of an enum constant.</td>
</tr>
<tr class="row-even"><td>name</td>
<td>TEXT NOT NULL</td>
<td>Text name of an enum constant.</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="extra-types">
<h2>Extra types<a class="headerlink" href="#extra-types" title="Permalink to this headline">¶</a></h2>
<div class="section" id="cuda-copykind-enum">
<h3>CUDA CopyKind enum<a class="headerlink" href="#cuda-copykind-enum" title="Permalink to this headline">¶</a></h3>
<div class="highlight-default" id="cudacopykind"><div class="highlight"><pre><span></span><span class="n">enum</span> <span class="n">CUDA_MEMCPY_KIND</span>
<span class="p">{</span>
    <span class="n">CUDA_MEMCPY_KIND_UNKNOWN</span><span class="p">,</span>
    <span class="n">CUDA_MEMCPY_KIND_HTOD</span><span class="p">,</span>
    <span class="n">CUDA_MEMCPY_KIND_DTOH</span><span class="p">,</span>
    <span class="n">CUDA_MEMCPY_KIND_HTOA</span><span class="p">,</span>
    <span class="n">CUDA_MEMCPY_KIND_ATOH</span><span class="p">,</span>
    <span class="n">CUDA_MEMCPY_KIND_ATOA</span><span class="p">,</span>
    <span class="n">CUDA_MEMCPY_KIND_ATOD</span><span class="p">,</span>
    <span class="n">CUDA_MEMCPY_KIND_DTOA</span><span class="p">,</span>
    <span class="n">CUDA_MEMCPY_KIND_DTOD</span><span class="p">,</span>
    <span class="n">CUDA_MEMCPY_KIND_HTOH</span><span class="p">,</span>
    <span class="n">CUDA_MEMCPY_KIND_PTOP</span><span class="p">,</span>
    <span class="n">CUDA_MEMCPY_KIND_UVM_HTOD</span><span class="p">,</span>
    <span class="n">CUDA_MEMCPY_KIND_UVM_DTOH</span><span class="p">,</span>
    <span class="n">CUDA_MEMCPY_KIND_UVM_DTOD</span><span class="p">,</span>
<span class="p">};</span>
</pre></div>
</div>
</div>
<div class="section" id="thread-state-enum">
<h3>Thread state enum<a class="headerlink" href="#thread-state-enum" title="Permalink to this headline">¶</a></h3>
<div class="highlight-default" id="threadstate-enum"><div class="highlight"><pre><span></span><span class="n">enum</span> <span class="n">ThreadState</span>
<span class="p">{</span>
    <span class="n">Unknown</span><span class="p">,</span>
    <span class="n">Running</span><span class="p">,</span>
    <span class="n">Interruptible</span><span class="p">,</span>
    <span class="n">Uninterruptible</span><span class="p">,</span>
    <span class="n">Stopped</span><span class="p">,</span>
    <span class="n">Terminated</span><span class="p">,</span>
    <span class="o">//</span> <span class="n">Estimated</span> <span class="n">thread</span> <span class="n">states</span><span class="o">.</span>
    <span class="n">Unscheduled</span><span class="p">,</span>
    <span class="n">Waiting</span><span class="p">,</span>
    <span class="n">OSRuntime</span><span class="p">,</span>
    <span class="o">//</span> <span class="n">Windows</span> <span class="n">thread</span> <span class="n">states</span>
    <span class="n">Initialized</span><span class="p">,</span>
    <span class="n">Transition</span>
<span class="p">};</span>
</pre></div>
</div>
</div>
</div>
</div>


          </div>
        </div>
      </div>
      <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
        <div class="sphinxsidebarwrapper">
  <h3><a href="index.html">Table Of Contents</a></h3>
  <ul>
<li><a class="reference internal" href="#">SQLite Export Schema Reference</a><ul>
<li><a class="reference internal" href="#cuda">CUDA</a><ul>
<li><a class="reference internal" href="#runtime-api">Runtime API</a></li>
<li><a class="reference internal" href="#cublas-events">CuBLAS events</a></li>
<li><a class="reference internal" href="#cudnn-events">CuDNN events</a></li>
<li><a class="reference internal" href="#cuda-graph-node-creation-events">CUDA graph node creation events</a></li>
<li><a class="reference internal" href="#kernel-events">Kernel events</a></li>
<li><a class="reference internal" href="#memset-events">Memset Events</a></li>
<li><a class="reference internal" href="#memcpy-events">Memcpy Events</a></li>
<li><a class="reference internal" href="#synchronization-events">Synchronization Events</a></li>
<li><a class="reference internal" href="#cuda-callchains">CUDA callchains</a></li>
</ul>
</li>
<li><a class="reference internal" href="#nvtx">NVTX</a><ul>
<li><a class="reference internal" href="#nvtx-eventtype-values">NVTX eventType values</a></li>
<li><a class="reference internal" href="#difference-between-text-and-textid-columns">Difference between text and textId columns</a></li>
</ul>
</li>
<li><a class="reference internal" href="#opengl">OpenGL</a></li>
<li><a class="reference internal" href="#os-runtime-libraries-trace">OS Runtime Libraries Trace</a><ul>
<li><a class="reference internal" href="#osrt-callchains">OSRT Callchains</a></li>
</ul>
</li>
<li><a class="reference internal" href="#profiler-overhead">Profiler Overhead</a></li>
<li><a class="reference internal" href="#sched-events">Sched events</a></li>
<li><a class="reference internal" href="#composite-events">Composite events</a><ul>
<li><a class="reference internal" href="#sampling-callchains">Sampling callchains</a></li>
</ul>
</li>
<li><a class="reference internal" href="#dx12-events">DX12 events</a><ul>
<li><a class="reference internal" href="#dx12-event-class-values">DX12 event class values</a></li>
</ul>
</li>
<li><a class="reference internal" href="#vulkan-events">Vulkan events</a><ul>
<li><a class="reference internal" href="#vulkan-event-class-values">Vulkan event class values</a></li>
<li><a class="reference internal" href="#vulkan-flags">Vulkan flags</a></li>
</ul>
</li>
<li><a class="reference internal" href="#gpu-context-switch-events">GPU context switch events</a></li>
<li><a class="reference internal" href="#sli-events">SLI events</a><ul>
<li><a class="reference internal" href="#sli-event-class-values">SLI event class values</a></li>
<li><a class="reference internal" href="#sli-transfer-info-values">SLI transfer info values</a></li>
</ul>
</li>
<li><a class="reference internal" href="#event-tracing-for-windows-etw">Event Tracing for Windows (ETW)</a></li>
<li><a class="reference internal" href="#openmp-events">OpenMP Events</a><ul>
<li><a class="reference internal" href="#thread-event">Thread Event</a></li>
<li><a class="reference internal" href="#parallel-event">Parallel Event</a></li>
<li><a class="reference internal" href="#syncregion-syncregionwait-event">SyncRegion/SyncRegionWait Event</a></li>
<li><a class="reference internal" href="#task-event">Task Event</a></li>
<li><a class="reference internal" href="#master-event">Master Event</a></li>
<li><a class="reference internal" href="#reduction-event">Reduction Event</a></li>
<li><a class="reference internal" href="#task-create-event">Task Create Event</a></li>
<li><a class="reference internal" href="#task-schedule-event">Task Schedule Event</a></li>
<li><a class="reference internal" href="#cancel-event">Cancel Event</a></li>
<li><a class="reference internal" href="#mutex-wait-event">Mutex Wait Event</a></li>
<li><a class="reference internal" href="#critical-section-event">Critical Section Event</a></li>
<li><a class="reference internal" href="#mutex-released-event">Mutex Released Event</a></li>
<li><a class="reference internal" href="#lock-init-lock-destroy-event">Lock Init / Lock Destroy Event</a></li>
<li><a class="reference internal" href="#workshare-event">Workshare Event</a></li>
<li><a class="reference internal" href="#dispatch-event">Dispatch Event</a></li>
<li><a class="reference internal" href="#flush-event">Flush Event</a></li>
<li><a class="reference internal" href="#openmp-event-class-values">OpenMP event class values</a></li>
<li><a class="reference internal" href="#openmp-event-kind-values">OpenMP event kind values</a></li>
<li><a class="reference internal" href="#openmp-thread-type-values">OpenMP thread type values</a></li>
<li><a class="reference internal" href="#openmp-sync-region-kind-values">OpenMP sync region kind values</a></li>
<li><a class="reference internal" href="#openmp-task-kind-values">OpenMP task kind values</a></li>
<li><a class="reference internal" href="#openmp-prior-task-status-values">OpenMP prior task status values</a></li>
<li><a class="reference internal" href="#openmp-mutex-kind-values">OpenMP mutex kind values</a></li>
<li><a class="reference internal" href="#openmp-critical-section-kind-values">OpenMP critical section kind values</a></li>
<li><a class="reference internal" href="#openmp-workshare-kind-values">OpenMP workshare kind values</a></li>
<li><a class="reference internal" href="#openmp-dispatch-kind-values">OpenMP dispatch kind values</a></li>
</ul>
</li>
<li><a class="reference internal" href="#generic-events">Generic events</a></li>
<li><a class="reference internal" href="#secondary-tables">Secondary tables</a><ul>
<li><a class="reference internal" href="#string-ids">String Ids</a></li>
<li><a class="reference internal" href="#thread-names">Thread Names</a></li>
<li><a class="reference internal" href="#process-streams">Process streams</a></li>
<li><a class="reference internal" href="#enums">Enums</a></li>
</ul>
</li>
<li><a class="reference internal" href="#extra-types">Extra types</a><ul>
<li><a class="reference internal" href="#cuda-copykind-enum">CUDA CopyKind enum</a></li>
<li><a class="reference internal" href="#thread-state-enum">Thread state enum</a></li>
</ul>
</li>
</ul>
</li>
</ul>

  <h4>Previous topic</h4>
  <p class="topless"><a href="json_text_format.html"
                        title="previous chapter">JSON and Text Format Description</a></p>
  <h4>Next topic</h4>
  <p class="topless"><a href="examples.html"
                        title="next chapter">Common SQLite examples</a></p>
<div id="searchbox" style="display: none" role="search">
  <h3>Quick search</h3>
    <form class="search" action="search.html" method="get">
      <div><input type="text" name="q" /></div>
      <div><input type="submit" value="Go" /></div>
      <input type="hidden" name="check_keywords" value="yes" />
      <input type="hidden" name="area" value="default" />
    </form>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
        </div>
      </div>
      <div class="clearer"></div>
    </div>
    <div class="related" role="navigation" aria-label="related navigation">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="genindex.html" title="General Index"
             >index</a></li>
        <li class="right" >
          <a href="examples.html" title="Common SQLite examples"
             >next</a> |</li>
        <li class="right" >
          <a href="json_text_format.html" title="JSON and Text Format Description"
             >previous</a> |</li>
        <li class="nav-item nav-item-0"><a href="index.html">NVIDIA Nsight Systems export  documentation</a> &#187;</li> 
      </ul>
    </div>
    <div class="footer" role="contentinfo">
        &#169; Copyright 2020, NVIDIA.
      Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.5.3.
    </div>
  </body>
</html>