File: Manifest.js

package info (click to toggle)
nvidia-cuda-toolkit 12.4.1-3
  • links: PTS, VCS
  • area: non-free
  • in suites: forky, sid
  • size: 18,505,836 kB
  • sloc: ansic: 203,477; cpp: 64,769; python: 34,699; javascript: 22,006; xml: 13,410; makefile: 3,085; sh: 2,343; perl: 352
file content (857 lines) | stat: -rw-r--r-- 30,176 bytes parent folder | download | duplicates (6)
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
// DO NOT MODIFY.
// This file was created automatically by CMake.

// QuadDPlugin is the primary UI library for the product.
AppLib.logInfo("Loading QuadDPlugin");

var states = {
    ShowProjectExplorer: "$$.ShowProjectExplorer",
};

addPlugin({
    pluginDependencies: ["CorePlugin", "TimelinePlugin"],
    pluginLibrary: "QuadDPlugin",

    hostApplication: {
        multiTargetEnabled: "true",
        usbTargetsEnabled: "true",
        queryEnabled: "true",
        isStandalone: (AppLib.environment.quadd_standalone == true),
    },

    documents:
    {
        fileTypes:
        {
            "qdrep":
            {
                icon: "",
                factoryName: "ReportFactory",
                viewFactories:
                [
                    { factoryName: "ReportWindowFactory", priority: 50 }
                ]
            },
            "nsys-rep":
            {
                icon: "",
                factoryName: "ReportFactory",
                viewFactories:
                [
                    { factoryName: "ReportWindowFactory", priority: 50 }
                ]
            },
            "nsys-view":
            {
                icon: "",
                factoryName: "ReportViewFactory",
                viewFactories:
                [
                    { factoryName: "ReportWindowFactory", priority: 50 }
                ]
            },
            "qdstrm":
            {
                icon: "",
                factoryName: "ImportStreamFactory",
                viewFactories:
                [
                    { factoryName: "ImportStreamWindowFactory", priority: 50 }
                ]
            },
            "ipynb":
            {
                icon: "",
                factoryName: "JupyterFactory",
                viewFactories:
                [
                    { factoryName: "JupyterWindowFactory", priority: 50 }
                ]
            },
            "nsys-analysis":
            {
                icon: "",
                factoryName: "RecipeReportFactory",
                viewFactories:
                [
                    { factoryName: "RecipeReportWindowFactory", priority: 50 }
                ]
            },
            "csv":
            {
                icon: "",
                factoryName: "RecipeTableFactory",
                viewFactories:
                [
                    { factoryName: "RecipeTableWindowFactory", priority: 50 }
                ]
            },
            "parquet":
            {
                icon: "",
                factoryName: "RecipeTableFactory",
                viewFactories:
                [
                    { factoryName: "RecipeTableWindowFactory", priority: 50 }
                ]
            },
            "etl":
            {
                icon: "",
                factoryName: "ReportFactory",
                viewFactories:
                [
                    { factoryName: "ReportWindowFactory", priority: 50 }
                ]
            },
            "qdresolve":
            {
                icon: "",
                factoryName: "ReportFactory",
                viewFactories:
                [
                    { factoryName: "ReportWindowFactory", priority: 50 }
                ]
            },
            "qdproj":
            {
                icon: "",
                factoryName: "ProjectFactory",
                viewFactories:
                [
                    { factoryName: "ProjectWindowFactory", priority: 50 }
                ]
            },
            "qdlaunch":
            {
                icon: "",
                factoryName: "ProjectFactory",
                viewFactories:
                [
                    { factoryName: "ProjectWindowFactory", priority: 50 }
                ]
            },
            "qdprogress":
            {
                icon: "",
                factoryName: "ProfilingProgressFactory",
                viewFactories:
                [
                    { factoryName: "ProfilingProgressWindowFactory", priority: 50 }
                ]
            },
        },

        fileFilters: {
            "Nsight Systems Multi-report views":
            {
                extensions:
                [
                    "nsys-view",
                ],
                sortPriority: 40
            },
            "Nsight Systems Reports":
            {
                extensions:
                [
                    "qdrep",
                    "nsys-rep"
                ],
                sortPriority: 50
            }
        }
    },

    settings: {
        "$$.SystemTrace": {
            order: 90,
            text: qsTr("System Trace"),
            detailsText: qsTr("Settings for the System Trace activity"),
            visible: (AppLib.environment.quadd_standalone != true),
        },

        "$$.Behavior": {
            order: 99,
            text: qsTr("Behavior"),
            parent: (AppLib.environment.quadd_standalone == true ? "" : qsTr("System Trace")),
            properties: {
                "QuadDPlugin.MultipleReportsOpenMode": {
                    order: 105,
                    type: "enum",
                    enumValues: {
                        "askMode": {
                            order: 100,
                            text: qsTr("Ask"),
                        },
                        "separateReportsMode": {
                            order: 101,
                            text: qsTr("Open separate reports"),
                        },
                        "createMultiReportViewMode": {
                            order: 102,
                            text: qsTr("Create a multi-report view"),
                        },
                    },
                    text: qsTr("On multiple report open"),
                    detailsText: qsTr("Whether we need to automatically create a " +
                        "multi-report view on simultaneous opening of multiple reports"),
                    defaultValue: "askMode",
                },

                "QuadDPlugin.SymbolsSearchLocations": {
                    order: 200,
                    type: "directoryPathList",
                    category: qsTr("Symbols search locations"),
                    text: qsTr("Search directories/servers"),
                    detailsText: qsTr("List of locations (directories and servers) to search " +
                        "for symbol files"),
                    defaultValue: qsTr("")
                },
                "QuadDPlugin.SymbolsCacheDirectory": {
                    order: 201,
                    type: "directoryPath",
                    category: qsTr("Symbols search locations"),
                    text: qsTr("Cache directory"),
                    detailsText: qsTr("The symbol cache is the location on your local " +
                        "machine that Nsight Systems places a copy of the symbols it finds " +
                        "on remote locations for future use"),
                    defaultValue: qsTr("")
                },
            },
        },

        "$$.ReportBehavior": {
            order: 100,
            text: qsTr("Report"),
            detailsText: qsTr("You need to reopen report(s) in order for the change of this " +
                "settings to take effect"),
            parent: qsTr("Behavior"),
            properties: {
                "QuadDPlugin.UseCudaNvtxGroups": {
                    order: 105,
                    type: "bool",
                    category: qsTr("Report Behaviour"),
                    text: qsTr("Rename CUDA Kernels by NVTX"),
                    detailsText: qsTr("Rename CUDA Kernels by NVTX ranges."),
                    defaultValue: false
                },
                "QuadDPlugin.UseCudaKernelColors": {
                    order: 106,
                    type: "bool",
                    category: qsTr("Report Behaviour"),
                    text: qsTr("Color CUDA Kernels"),
                    detailsText: qsTr("Apply different color to CUDA kernels."),
                    defaultValue: false
                },
                "QuadDPlugin.TimelineMode": {
                    order: 107,
                    type: "enum",
                    enumValues: {
                        "defaultMode": {
                            order: 100,
                            text: qsTr("CPU rows on top"),
                        },
                        "gpuOnTopMode": {
                            order: 101,
                            text: qsTr("GPU rows on top"),
                        },
                    },
                    category: qsTr("Report Behaviour"),
                    text: qsTr("Timeline mode"),
                    detailsText: qsTr("Switch timeline mode."),
                    defaultValue: "gpuOnTopMode"
                },
                "QuadDPlugin.SymbolSearchVerboseLog": {
                    order: 108,
                    type: "bool",
                    category: qsTr("Report Behaviour"),
                    text: qsTr("Symbol Search verbose log (Windows only)"),
                    detailsText: qsTr("Display the intermediate steps of the symbol search in" +
                        " the report's Symbol Resolution Log."),
                    defaultValue: false
                },
                "QuadDPlugin.CollapseUnresolvedCallstackFrames": {
                    order: 109,
                    type: "bool",
                    category: qsTr("Report Behaviour"),
                    text: qsTr("Collapse unresolved callstack frames"),
                    detailsText: qsTr("Display a single line \"modulename[N frames]\" instead" +
                        " of consecutive callstack frames of same module with unresolved symbols."),
                    defaultValue: true
                },

                "$$.VerticalScrolling": {
                    order: 200,
                    type: "bool",
                    category: qsTr("Vertical scrolling behaviour"),
                    text: qsTr("Scroll vertically when time filter is changed"),
                    detailsText: qsTr("Try to preserve visual context when time filter is applied"),
                    defaultValue: false
                },
            },
        },

        "$$.ProfileBehavior": {
            order: 101,
            text: qsTr("Profile"),
            detailsText: qsTr("You need to rerun trace(s) in order for the change of this " +
                "settings to take effect"),
            parent: qsTr("Behavior"),
            properties: {
                "QuadDPlugin.RetainETWLogFile": {
                    order: 100,
                    type: "bool",
                    visible: true,
                    text: qsTr("Save ETW log files in project folder (Windows only)"),
                    detailsText: qsTr("Keep ETL file. trace rerun required."),
                    defaultValue: true
                },
                "QuadDPlugin.AutomaticallyGenerateReportFileNames": {
                    order: 101,
                    type: "bool",
                    text: qsTr("Derive report file name from collected data (Windows only)"),
                    detailsText: qsTr("Use details of profiled graphics application. Format: " +
                        "[Process Name][GPU Name][Window Resolution][Graphics API] Timestamp.nsys-rep"),
                    defaultValue: false
                },

                "QuadDPlugin.ResolveSymbolsOnReportCreation": {
                    order: 200,
                    type: "bool",
                    text: qsTr("Resolve symbols when creating a report"),
                    detailsText: qsTr("Search for symbol files and attempt to resolve symbols" +
                        " of backtraces when creating a new report."),
                },
            }
        },

        "$$.Notifications": {
            text: qsTr("Notifications"),
            order: 140,
            parent: (AppLib.environment.quadd_standalone == true ? "" : qsTr("System Trace")),
            properties: {
                "QuadDPlugin.ResetNotifications": {
                    category: qsTr("Reset All Notifications"),
                    type: "button",
                    detailsText: qsTr("Click to reset all notifications to the default state"),
                    text: qsTr("Reset notifications"),
                    consecutiveClick: false
                }
            }
        },

        "$$.TimelineHierarchySettings": {
            text: qsTr("Hierarchy"),
            visible: true,
            order: 901,
            parent: qsTr("Timeline"),

            properties: {
                "QuadDPlugin.ShowCpuOccupancy": {
                    type: "bool",
                    category: qsTr("Visibility"),
                    text: qsTr("Show CPU occupancy chart"),
                    detailsText: qsTr("Show the chart indicating the CPU on which code was running"),
                    defaultValue: true,
                }
            }
        },
    },

    timelineHelp: {
        title: "Timeline Actions and Gestures",
        description: "When navigating the Timeline you can use keyboard shortcuts and mouse gestures. " +
            "If your machine is equipped with a touchpad, you can also use touchpad gestures to " +
            "pan, zoom and scroll vertically.\n\n" +
            "The tables below show a description of common actions with their gesture bindings.",

        shortcutGroups: [{
            title: "Show This Dialog",
            description: "Press the '?' key when Timeline is in focus."
        },
        {
            title: "Navigation with Keyboard and Mouse",
            description: "Here are combinations to use keyboard and mouse to scroll through the Timeline and the tree.",
            shortcuts: [{
                id: "Navigation.PanLeft",
                name: "Pan Left",
                combinations: {
                    common: ["LeftArrow"]
                }
            },
            {
                id: "Navigation.PanRight",
                name: "Pan Right",
                combinations: {
                    common: ["RightArrow"]
                }
            },
            {
                id: "Navigation.ZoomInX",
                name: "Zoom in X-axis",
                combinations: {
                    common: ["Keyboard +", "Keyboard ="],
                    windows: ["CTRL + MouseWheel up"],
                    linux: ["CTRL + MouseWheel up"],
                    macos: ["Cmd + MouseWheel up"]
                }
            },
            {
                id: "Navigation.ZoomOutX",
                name: "Zoom out X-axis",
                combinations: {
                    common: ["Keyboard -"],
                    windows: ["CTRL + MouseWheel down"],
                    linux: ["CTRL + MouseWheel down"],
                    macos: ["Cmd + MouseWheel down"],
                }
            },
            {
                id: "Navigaton.NextRow",
                name: "Next Row",
                combinations: {
                    common: ["ArrowDown"]
                }
            },
            {
                id: "Navigaton.PrevRow",
                name: "Previous Row",
                combinations: {
                    common: ["ArrowUp"]
                }
            },
            {
                id: "Navigation.Undo",
                name: "Undo a Navigation Step",
                combinations: {
                    common: ["Backspace"]
                }
            }]
        },
        {
            title: "Navigation with Touchpad",
            description: "Navigating through the Timeline and the tree with touchpad.",
            shortcuts: [{
                id: "Navigation.PanLeft",
                name: "Pan Left",
                combinations: {
                    common: ["Swipe right with two fingers"]
                }
            },
            {
                id: "Navigation.PanRight",
                name: "Pan Right",
                combinations: {
                    common: ["Swipe left with two fingers"]
                }
            },
            {
                id: "Navigation.ZoomInX",
                name: "Zoom in X-axis",
                combinations: {
                    common: ["Pinch in with touchpad"]
                }
            },
            {
                id: "Navigation.ZoomOutX",
                name: "Zoom out X-axis",
                combinations: {
                    common: ["Pinch out with touchpad"]
                }
            },
            {
                id: "Navigaton.ScrollUp",
                name: "Scroll Tree Up",
                combinations: {
                    common: ["Swipe down with two fingers"]
                }
            },
            {
                id: "Navigaton.ScrollDown",
                name: "Scroll Tree Down",
                combinations: {
                    common: ["Swipe up with two fingers"]
                }
            }]
        },
        {
            title: "Selection of Items",
            description: "You can select an item on the Timeline. " +
                "Selecting items with double-click synchronizes the Timeline and the Events View",

            shortcuts: [{
                id: "Selection.SelectItem",
                name: "Select an Item in the Timeline",
                combinations: {
                    common: ["MouseLeftClick on an item"]
                }
            },
            {
                id: "Selection.SelectItemInEventsView",
                name: "Select an Item in the current Events View",
                combinations: {
                    common: ["MouseLeftDoubleClick on an item"]
                }
            },
            {
                id: "Selection.OpenEventsViewAndSelectItem",
                name: "Open the corresponding Events View and select an Item there",
                combinations: {
                    common: ["Shift + MouseLeftDoubleClick on an item"]
                }
            },
            {
                id: "Selection.FitItemToScreen",
                name: "Select and Fit an Item to Screen",
                combinations: {
                    windows: ["CTRL + MouseLeftDoubleClick on an item"],
                    linux: ["CTRL + MouseLeftDoubleClick on an item"],
                    macos: ["Cmd + MouseLeftDoubleClick on an item"]
                }
            }]
        },
        {
            title: "Selection of a Time Range",
            description: "You can select an time range on the Timeline. " +
                "The selected area and its borders can be dragged with left mouse button. " +
                "Also it has several shortcuts modifying zoom level and time filter.",

            shortcuts: [{
                id: "Selection.SelectTimeRange",
                name: "Select a Time Range",
                combinations: {
                    common: ["Press and drag left mouse button"]
                }
            },
            {
                id: "Selection.SelectTimeRange",
                name: "Drag Selection or Its Border",
                combinations: {
                    common: ["Press and drag left mouse button on a selection"]
                }
            },
            {
                id: "Selection.Deselect",
                name: "Deselect a Time Range",
                combinations: {
                    common: ["Escape", "Click outside a selection"]
                }
            },
            {
                id: "Selection.Zoom",
                name: "Zoom into a Selection",
                combinations: {
                    common: ["Z"]
                }
            },
            {
                id: "Selection.ZoomAndDeselect",
                name: "Zoom into a Selection and Deselect",
                combinations: {
                    common: ["Shift + Z", "MouseLeftDoubleClick on a selection"]
                }
            },
            {
                id: "Selection.Filter",
                name: "Apply Time Filter",
                combinations: {
                    common: ["F"]
                }
            },
            {
                id: "Selection.FilterAndDeselect",
                name: "Apply Time Filter and Deselect",
                combinations: {
                    common: ["Shift + F"]
                }
            }]
        }]
    },
});

if (AppLib.environment.quadd_standalone)
{
    addPlugin({
        pluginDependencies: ["CorePlugin"],
        pluginLibrary: "QuadDPlugin",

        layouts: {
            "default": "Plugins/$$/default.layout",
        },

        hostApplication: {
            title: qsTr("NVIDIA Nsight Systems"),
            defaultWidth: 1366,
            defaultHeight: 768,
            icon: ":/icons/Product.ico",
            docs: "http://docs.nvidia.com/nsight-systems/index.html",
            offlineDocs: "documentation/index.html",
            crashReporterHideStack: true,

            productName: "NVIDIA Nsight Systems",
            organizationName: "NVIDIA Corporation",

            versionUpdates: {
                enabled: true,
                tableUrl: "https://developer.download.nvidia.com/NsightSystems/VersionUpgrades.json",
            },

            commandBars: {
                "$$.FileMenu": { order: 100 },
                "$$.ViewMenu": { order: 200 },
                "CorePlugin.ToolsMenu": { order: 300 },
                "$$.HelpMenu": { order: 9999 },
            },
        },

        commandLineOptions:
        {
            "operation":
            {
                name: "operation",
                description: "Operation performed with the project",
                valueName: "operation",
            },
            "project-uuid":
            {
                name: "project-uuid",
                description: "UUID of the project which should be opened or created",
                valueName: "project-uuid",
            },
            "working-dir":
            {
                name: "working-dir",
                description: "Working directory of the profiled application",
                valueName: "working-dir",
            },
            "target-path":
            {
                name: "target-path",
                description: "Path to the main binary of the profiled application",
                valueName: "target-path",
            },
            "target-environment":
            {
                name: "target-environment",
                description: "Environment to the profiled application",
                valueName: "target-path",
            },
            "start-args":
            {
                name: "start-args",
                description: "Arguments passed to the profiled application",
                valueName: "start-args",
            },
            "solution-path":
            {
                name: "solution-path",
                description: "Path of the profiled application's Visual Studio solution",
                valueName: "solution-path",
            },
            "secondary-instance-working-directory":
            {
                name: "secondary-instance-working-directory",
                description: "The current directory from which a secondary instance of application started.",
                valueName: "secondary-instance-working-directory",
            },
            "screenshot":
            {
                name: "screenshot",
                description: "Take a screenshot of the loaded report and quit",
            },
            "$$.SingleProcess":
            {
                name: "single-process",
                description: "Use single-process mode for QtWebEngine.",
            },
            "fullscreen":
            {
                name: "fullscreen",
                description: "Open the main window in fullscreen mode",
            }
        },

        documents:
        {
            fileTypes:
            {
                "etl":
                {
                    icon: "",
                    factoryName: "ImportStreamFactory",
                    viewFactories:
                    [
                        { factoryName: "ImportStreamWindowFactory", priority: 50 }
                    ]
                },
                "qdresolve":
                {
                    icon: "",
                    factoryName: "ResolveSymbolsFactory",
                    viewFactories:
                    [
                        { factoryName: "ResolveSymbolsWindowFactory", priority: 50 }
                    ]
                },
                "qdexport":
                {
                    icon: "",
                    factoryName: "ExportSelectorFactory",
                    viewFactories:
                    [
                        { factoryName: "ExportSelectorWindowFactory", priority: 50 }
                    ]
                },
            },

            fileFilters: {
                "Nsight Systems Projects": { extensions: ["qdproj"], sortPriority: 50 },
            }
        },

        toolWindows: {
            "$$.ProjectExplorerWindow": {
                text: qsTr("Project Explorer"),
                sizeMode: "percent",
                deleteOnClose: true,
                layout: "dockWest",
                isFixed: false,
                persistable: true,
                defaultWidth: 250,
                commandBars: {
                },
            }
        },

        commands: {
            "$$.RestoreDefaultLayout": {
                text: qsTr("&Restore Default Layout"),
            },
            "$$.SaveLayout": {
                text: qsTr("Save Layout"),
                shortcut: codeTr("Alt+Shift+S"),
            },
            "$$.NewProject": {
                text: qsTr("&New Project"),
                shortcut: codeTr("Ctrl+N"),
            },
            "$$.NewMultiReportView": {
                text: qsTr("&New multi-report view"),
            },
            "$$.OpenFile": {
                text: qsTr("&Open..."),
                shortcut: codeTr("Ctrl+O"),
            },
            "$$.Import": {
                text: qsTr("&Import..."),
                shortcut: codeTr("Ctrl+I"),
            },
            "$$.Export": {
                text: qsTr("&Export..."),
                shortcut: codeTr("Ctrl+E"),
            },
            "$$.ShowProjectExplorer": {
                text: qsTr("&Show Project Explorer"),
                checkedWithFlags: [states.ShowProjectExplorer],
            },
            "$$.OfflineDocumentationCommand": {
                text: qsTr("Offline Documentation..."),
            },
            "$$.ShowAboutWindow": {
                text: qsTr("&About"),
            },
            "$$.ShowRebelDialog": {
                text: qsTr("&Settings to Analyze CUDA Kernels..."),
            },
            "$$.ShowPreferencesWindow": {
                text: qsTr("&Preferences..."),
            },
        },

        commandGroups: {
            "$$.ProjectGroup": {
                "$$.NewProject": { order: 100 },
                "$$.NewMultiReportView": { order: 110 },
                "$$.OpenFile": { order: 200 },
                "$$.Import": { order: 300 },
                "$$.Export": { order: 400 },
            },
            "$$.FileGroup": {
                "CorePlugin.SaveFile": { order: 120 },
                "CorePlugin.CloseFile": { order: 150 },
            },
            "$$.ViewToolWindowsGroup": {
                "$$.ShowProjectExplorer": { order: 100 },
            },
            "$$.DocumentationGroup": {
                "CorePlugin.DocumentationCommand": { order: 100 },
                "$$.OfflineDocumentationCommand": { order: 150 },
                "CorePlugin.CheckForUpdatesCommand": {order: 200},
            },
            "$$.AboutGroup": {
                "$$.ShowAboutWindow": { order: 100 },
            },
            "$$.RebelPreferencesGroup": {
                "$$.ShowRebelDialog": { order: 100 },
            },
            "$$.LayoutGroup": {
                "$$.RestoreDefaultLayout": { order: 110 },
                "$$.SaveLayout": { order: 120 },
                "CorePlugin.ApplyWindowLayout": { order: 130 },
            }
        },

        commandBars: {
            "$$.FileMenu": {
                type: "menu",
                text: qsTr("&File"),
                commandGroups: {
                    "$$.ProjectGroup": { order: 100 },
                    "$$.FileGroup": { order: 150 },
                    "CorePlugin.ExitGroup": { order: 200 },
                },
            },
            "$$.ViewMenu": {
                type: "menu",
                text: qsTr("&View"),
                commandGroups: {
                    "$$.ViewToolWindowsGroup": { order: 100 },
                    "$$.LayoutGroup": { order: 210 },
                },
            },
            "$$.HelpMenu": {
                type: "menu",
                text: qsTr("&Help"),
                commandGroups: {
                    "$$.DocumentationGroup": { order: 100 },
                    "CorePlugin.FeedbackGroup": { order: 120 },
                    "$$.AboutGroup": { order: 130 },
                },
            },
            "CorePlugin.ToolsMenu": {
                type: "menu",
                text: qsTr("&Tools"),
                commandGroups: {
                    "$$.RebelPreferencesGroup": { order: 130 },
                },
            },

            feedback: {
                mailingAddress: "nsight-systems-feedback@exchange.nvidia.com",
            },
        },

        settings: {
            // TODO (DTSP-2632): This is a workaround for this problem:
            // http://devtools-ru-s1.nvidia.com/gitlab/agora/quadd/merge_requests/4647#note_90779
            "CorePlugin.Privacy": {
                properties: {
                    "CorePlugin.AllowAnalytics": {
                        category: qsTr("Help Improve NVIDIA Software    "),
                    }
                }
            },
        }
    });
}