Asight Systems GUI reports

Updated at:
Copy as MD

The Asight Systems GUI displays collected reports. The following image shows the GUI after opening a report:

image

The main components of the GUI are:

  1. Menu bar. For details, see menu bar.

  2. Project Explorer. For details, see Project Explorer.

  3. Timeline View. For details, see Timeline View.

  4. Events View. For details, see Events View.

1. Menu bar

The following image shows the menu bar of the Asight Systems GUI:

image

File

  • Open: Opens a report.

  • Open Advanced: Lets you configure advanced options for opening reports. For details, see Advanced open feature.

  • Exit: Exits the Asight Systems GUI.

Connection

View

  • Show Project Explorer: Shows or hides the Project Explorer.

  • Show Output Messages: Shows or hides the Output Window.

Tools

  • Options: Opens the Options Dialog. For details, see Options.

Help

  • Documentation: Opens the Asight Systems user manual.

  • About: Displays information about Asight Systems.

1.1 Advanced open feature

The advanced open feature lets you:

  1. Open multiple reports in the same Timeline View.

  2. Open a specific portion of a report by percentage.

  3. Specify which event types to load; only the selected types will be loaded.

To access the advanced open feature, choose File > Open Advanced. The following image shows the UI:

image

  1. The list of reports to open. These reports open in the same Timeline View.

  2. Control buttons for the report paths. From left to right, they are:

    1. Add a new path.

    2. Delete the selected path.

    3. Move the selected path up.

    4. Move the selected path down.

  3. A button that opens a file browser to replace the selected path.

  4. Checkboxes to select the event types to load. Only checked types are loaded.

  5. Sliders to select the percentage of the report to open. The example in the image opens the 30%-60% portion of the report.

When you open multiple reports in the same Timeline View, their timelines appear in chronological order. To align the timelines of reports, see Aligning Timelines for Multiple Reports.

2. Project Explorer

Use the Project Explorer in the Asight Systems GUI to manage open reports.

image

A bold report name indicates an open report. The Project Explorer maintains a report history; use the context menu to remove entries. To quickly navigate to a report's directory, right-click the report in the Project Explorer and select Show in Finder/Explorer from the context menu.

Tip: The Project Explorer saves only references to report files. If you delete or move a report file, its reference becomes invalid.

3. Timeline View

Use the Timeline View to examine PPU and CPU workloads and pinpoint bottlenecks. The Timeline View is divided into two parts: the Timeline Area at the top and the Events View at the bottom, as shown below:

image

  • Page drop-down list: Switches from the Timeline View to the Analysis Summary View.

  • Timeline Tree

  • Search box

  • Timeline Area

  • Operation Guide button: Opens the operation guide.

  • Vertical zoom slider: Zooms the timeline vertically.

  • Click to switch to the Diagnostics Summary View.

  • Events View

The Timeline Tree on the left organizes collected events in a tree structure. If a specific data collection is not enabled, its corresponding row does not appear in the timeline.

3.1 Operations

The Asight Systems GUI offers several ways to navigate the timeline. The operation guide lists all supported operations and their shortcuts:

image

Keyboard and mouse operations

Actions

Keyboard and mouse

Pan left

Left Arrow / A

Pan right

Right Arrow / D

Zoom in horizontally

+ or = or W or Ctrl/Command + Scroll wheel up

Zoom out horizontally

- or S or Ctrl/Command + Scroll wheel down

Next row

Down Arrow

Previous row

Up Arrow

Undo an operation

Backspace

Trackpad operations

Actions

Trackpad

Pan left

Two-finger swipe left

Pan right

Two-finger swipe right

Zoom in horizontally

Pinch out

Zoom out horizontally

Pinch in

Scroll up

Two-finger swipe down

Scroll down

Two-finger swipe up

Selecting an item

Actions

Keyboard and mouse

Select an item in the timeline

Left-click

Select an item in the Events View

Double-click

Select an item and zoom to fit screen

Ctrl/Command + Left-click

Selecting a time range

Actions

Keyboard and mouse

Select a time range

Left-click and drag

Drag the selected time range

Left-click and drag

Deselect a time range

Esc or click outside the selected range

Zoom to time range

Z

Zoom to time range and deselect

Shift + Z or double-click the time range

Filter by the current time range

F

Filter by the current time range and deselect

Shift + F

Vertical zoom

In addition to horizontal zoom, the Timeline View offers a vertical zoom feature. You can use the slider in the upper-right corner for this operation:

image

Click the magnifying glass button image on the left to reset the zoom.

Pin Row

The Timeline View supports the Pin Row feature. Use the context menu or the Ctrl/Command+P shortcut to pin rows of interest to the top or bottom of the view for easy comparison:

image

Hiding trailing nodes

For a cleaner display, some nodes in the Timeline Tree allow you to hide trailing child nodes:

image

The node hiding feature supports the following operations:

Actions

Keyboard and mouse

Show one more node

Left-click "+"

Show one fewer node

Left-click "-"

Show five more nodes

Ctrl/Command + Left-click "+"

Show five fewer nodes

Ctrl/Command + Left-click "-"

Show all hidden nodes

Double-click

You can also access these operations from the context menu:

image

Actions

Description

Show More

Show one more node.

Show Less

Show one fewer node.

Show All

Show all nodes.

Reset View

Restore the default display state.

The node hiding feature is available for the following nodes:

  • CPU Core

  • Thread

  • Process

  • PPU Stream

  • PPU HGTX

  • PPU Kernel

Expand/Collapse all child nodes

From the context menu of a parent node, you can expand or collapse all its child nodes:

image

Tooltip

All items in the Timeline View have a tooltip. Hover over an item to view its details:

image

You can copy the tooltip content by selecting Copy Tooltip from the context menu:

image

Switching timeline display modes

The timeline axis in the Timeline View supports two time display modes:

  1. Session Time: In this mode, the time axis uses the report's start time as the origin, as shown below:

    image

  2. Global Time: This mode displays the actual wall-clock time.

    image

Click the triangle button on the left to switch between these two modes:

image

Dock Widget

The Dock Widget feature allows you to drag a report out of the main window, letting you view reports in separate windows or across multiple screens.

You can dock a report by dragging its tab:

image

Alternatively, use the Detach/Attach options in the context menu:

image

Bookmarking a timeline

The Timeline View lets you bookmark timelines to mark points of interest in large reports. You can add or remove a bookmark from a timeline's context menu:

image

After you bookmark a timeline, a persistent flag with the bookmark's sequence number appears:

image

You can manage all bookmarks in the Bookmarks window at the bottom:

image

In this window, you can:

  • Modify a bookmark's sequence number.

  • Add a comment to a bookmark.

  • Clear all bookmarks at once.

  • Double-click an entry in the Name column or use the context menu to navigate to the corresponding location on the timeline.

3.2 Timeline item display

image

The top of the Timeline View features a time axis where time progresses from left to right. For easier viewing, when the Timeline View is zoomed in sufficiently, the view displays time in a baseline+increment format.

In the Timeline View, an event's timeline is known as a Timeline Item. Different colors represent different types of Timeline Items. The item's left edge indicates its start time, the right edge indicates its end time, and its width represents the event's duration.

When the Timeline View is not fully zoomed in, Asight displays events as an occupancy bar chart:

image

In the image above, the Kernel timeline appears as a series of bars with varying heights. This display strategy applies to various data types, including CPU utilization, thread and process occupancy, Kernel, and Memcpy events.

3.3 Timeline correlation

When you select an item, the view highlights all related items:

image

Events correlate in the following two scenarios:

  • They belong to the same call stack (e.g., an HGGC event nested within an HGTX event).

  • A host API call initiates a device activity (e.g., a kernel launched by its corresponding launch API).

3.3.1 Event correlation operations and markers

After you select an item, corresponding markers and buttons appear in the Timeline View:

image

3.4 Selecting a time range

The Timeline View allows you to select a time range by left-clicking and dragging, as shown below:

image

When you select a time range, a tooltip appears showing the start time and duration of the range. It also shows the percentage of time consumed by Kernel execution and Memory operations within that range.

After selecting a time range, you can drag to change its position and size. Double-clicking the time range zooms it to fit the entire screen. Asight Systems also supports filtering. You can select Filter and Zoom in from the context menu to show only events within the selected time range for further inspection in the Events View.

3.5 Aligning timelines

When you open multiple reports in the Timeline View, the view displays their timelines according to when the events occurred. To adjust the time offset between reports, Asight Systems offers a timeline alignment feature, which you can access as shown below:

image

Clicking the button opens the timeline alignment dialog box:

image

  1. The offset of each report's timeline relative to its collection start time, in nanoseconds. The default is 0. You can manually enter an offset to calibrate the timelines.

  2. Enter timeline selection mode to select a baseline timeline in each report for alignment.

  3. Select the timeline alignment mode.

The Timeline View supports two alignment modes:

3.5.1 Manual alignment

If you know the time offset between reports, you can enter it manually in nanoseconds. A positive value moves the report's timeline to the right; a negative value moves it to the left. You cannot specify an offset for the first report in the list.

3.5.2 Semi-automatic alignment

If you know which events in the reports occurred simultaneously, you can use these timelines as a baseline for semi-automatic alignment. The Timeline View automatically calculates the time offset between reports based on these timelines.

First, click the Pick button to enter timeline selection mode:

image

After entering timeline selection mode, the alignment dialog box disappears, and a tooltip appears at the bottom of the window. In the Timeline View, left-click to select a baseline timeline. The selected timeline is highlighted. You can only select one timeline per report. If you select another timeline within the same report, the previous selection is cleared.

After selecting the timelines, you can choose to left-align or right-align them in the alignment dialog box:

Left-align: Aligns the selected timelines by their start times (left edges).

Right-align: Aligns the selected timelines by their end times (right edges).

Use the following keys to exit timeline selection mode:

Enter: Confirms the selected timelines and reopens the alignment dialog box.

Esc: Cancels the selection and reopens the alignment dialog box.

If you confirm the selection, the alignment dialog box reappears as follows:

image

The tool automatically calculates and enters the time offset for each report. The Pick button now indicates that four timelines have been selected. In the drop-down list below, you can select left-align or right-align, and the tool automatically recalculates the time offsets above.

Tip: The tool calculates the offset relative to the baseline timeline selected in the first report. If you do not select a baseline for the first report, the tool calculates the offset relative to the report's start time in left-align mode or its end time in right-align mode. Therefore, we recommend always selecting a baseline timeline for the first report.

You do not have to select a timeline for other reports; reports without a selected timeline will not be aligned.

3.6 Searching and filtering rows

The search and filter feature helps you quickly find timeline rows of interest:

image

You can switch between search mode and filter mode.

  • Search mode: Highlights matches and lets you jump to the next or previous match.

  • Filter mode: Displays only the matching rows.

The following image shows search results in search mode:

image

3.7 Events View

The Events View displays events in a list. It supports sorting, searching, filtering, and navigation between it and the Timeline View.

From the Timeline View, you can select Show in Events View from a node's context menu (shortcut: Shift + double-click) to display the events for that node in the Events View:

image

The Events View also displays events from the selected node's child nodes:

image

  1. Select a display mode. For nested HGTX events, you can choose to display them in a tree or a flat list.

  2. Choose to search by Name or Description.

  3. Advanced search options.

  4. Search bar.

  5. Events table.

  6. Description of the selected item, which is identical to the item's tooltip.

The table includes the following columns:

  • #

  • Name

  • Start

  • Duration

  • TID

If the Events View displays PPU-related nodes, it also shows the PPU, Context, and Stream columns:

image

After selecting events in the table, you can use the Copy option in the context menu to copy the selected items. You can select multiple items using Shift or Ctrl. To select all items, use the Select All option in the context menu. To export all events to a CSV file, use the Export All to CSV option. Clicking a column header sorts the data in ascending or descending order.

3.7.1 Search

The Events View supports a search function:

image

It supports two search methods:

  1. Search by Name

  2. Search by Description

It also supports two modes:

  1. Search

  2. Filter

The following image shows the search results:

image

  1. The view highlights search results.

  2. The view displays the number of matches.

  3. Navigation buttons allow you to jump to the next or previous match.

  4. An option to highlight search results in the Timeline View.

When you select Show in Events View again, the search bar and results are reset.

The Events View also offers advanced search options. Click the triangle button next to the magnifying glass to show them:

image

  • Case Sensitive: Makes the search case-sensitive.

  • Show Only Matched: Hides non-matching items, showing only the search results.

3.7.2 Navigating to the timeline

The Events View supports navigation between it and the Timeline View:

  • When an event is listed in the Events View, double-clicking its corresponding item in the timeline selects the event in the Events View.

  • Double-clicking an item in the Events View highlights the corresponding item in the timeline.

You can also navigate using the context menu:

image

  • Highlight Selected on Timeline: Highlights the item in the Timeline View, which is the same as double-clicking.

  • Show Current on Timeline: Highlights the item in the Timeline View and zooms it to fit the screen.

3.7.3 Filtering by time range

You can use a time range to filter the events displayed in the Events View. First, select a time range in the timeline, then select Filter and Zoom in from the context menu. The Events View will then show only the events within that time range:

image

3.8 Function View

Asight Systems offers the Function View to analyze the CPU usage of all functions. This view presents CPU usage data in three table formats (Top-Down, Bottom-Up, and Flat) and two graphical formats: the flame graph and the icicle graph. It supports sorting, searching, and filtering features to help you quickly find hotspot functions. To use the Function View, you must enable backtrace sampling when collecting the report. See Analyze API call stacks.

3.8.1 Flame graph and icicle graph

The flame graph helps you quickly find the call stack that consumes the most CPU. The icicle graph helps you quickly locate the function that consumes the most CPU and its callers. With these graphs, you can get a high-level overview of the execution duration of all functions and quickly identify hotspot functions and their corresponding call stacks.

The following is an example of a flame graph:

image

The following is an example of an icicle graph:

image

The main features of flame graphs and icicle graphs are:

  • Each rectangle in the graph represents a function. The width of the rectangle indicates the CPU time consumed by the function, and its color distinguishes different modules. The x-axis is not chronological. The y-axis represents call stack depth, with callers at the bottom and callees at the top.

  • Hover over a function to see its detailed CPU consumption and module name in a tooltip or at the top of the graph.

  • Click a function to zoom in and view its detailed callers and callees.

  • Right-click a function to copy its function name or module name.

  • You can search for functions. The graph highlights search results in magenta.

image

3.8.2 Function tables

The Function View includes Top-Down, Bottom-Up, and Flat tables. The main UI components are shown in the following image:

image

  1. Select the target process to analyze.

  2. Tab bar for switching to other sub-pages.

  3. Search box.

  4. Filter dialog.

The Function tables display the following information:

  • Symbol name: The function name.

  • Self: The percentage of time consumed by the function itself.

  • Total: The percentage of time consumed by the function and its callees.

  • Module Name: The name of the module to which the function belongs.

The Function tables support sorting. Click a column header to sort in ascending or descending order.

The Function tables support searching on both the Symbol name and Module Name fields and include a Case Sensitive option. The search results are similar to those in the Events View and include the following:

  1. Highlighted search results.

  2. The total number of matches.

  3. Navigation buttons to jump to the next or previous match.

The Function tables support the following filter options:

  • Hide functions with a time percentage below a specified threshold (disabled by default).

  • Specify the number of decimal places for the time percentage.

image

The Function tables support the following context menu functions:

  • Expand: Expands the selected row and all its child rows.

  • Collapse: Collapses the selected row and all its child rows.

  • Expand All: Expands all rows and their child rows in the table.

  • Collapse All: Collapses all rows and their child rows in the table.

  • Copy: Copies the content of the selected function to the clipboard.

  • Export All to CSV: Exports all functions in the table (including hidden rows) to a CSV file.

Top-Down table

image

In the Top-Down table, functions appear in a tree structure based on their call hierarchy. In the image above, the main function calls both the DoProcessLoop and ProfilerStart functions, so they are both child nodes of the main node.

The Self value for the main function is 0, indicating that the logic within the main function itself consumes negligible time. The Total value is 90.24%, indicating that the functions called by main consume the majority of the time.

Tip: The maximum stack unwinding depth specified during data collection determines the call stack depth. If a function's call depth exceeds this maximum, the top-most function reached during unwinding becomes the root node.

If the tool cannot retrieve a function's symbol name, it displays the function's address instead.

Bottom-Up table

image

The Bottom-Up table displays the call hierarchy in reverse. The most deeply called functions appear as root nodes, and the highest-level functions appear as leaf nodes. For example, in the image above, the main function is a leaf node. The Bottom-Up table does not display the Total column.

Flat table

image

The Flat table displays all functions in a simple, non-hierarchical list. This view allows you to quickly find the functions with the highest Self and Total time consumption when the call hierarchy is not important.

3.9 Device Memory View

Asight Systems offers the Device Memory View to analyze device memory allocations and deallocations for all functions. Like the Function View, it supports Top-Down, Bottom-Up, and Flat tables, as well as sorting, searching, and filtering features to help you quickly identify hotspot functions. To use the Device Memory View, you must enable device memory sampling when collecting the report. See Analyze PPU memory usage.

image

The table displays the following information:

  • Symbol name: The function name.

  • Self: The amount of device memory allocated or freed by the function itself. Positive values (red) indicate allocation, and negative values (blue) indicate deallocation.

  • Total: The total amount of device memory allocated or freed by the function and its callees.

  • Module Name: The name of the module to which the function belongs.

3.10 Host Pinned Memory View

Asight Systems offers the Host Pinned Memory View to analyze pinned memory allocations and deallocations for all functions. Like the Function View, it supports Top-Down, Bottom-Up, and Flat tables, as well as sorting, searching, and filtering features to help you quickly identify hotspot functions. To use the Host Pinned Memory View, you must enable pinned memory sampling when collecting the report. See Analyze pinned memory usage.

image

The table displays the following information:

  • Symbol name: The function name.

  • Self: The amount of pinned memory allocated or freed by the function itself. Positive values (red) indicate allocation, and negative values (blue) indicate deallocation.

  • Total: The total amount of pinned memory allocated or freed by the function and its callees.

  • Module Name: The name of the module to which the function belongs.

4. Analysis summary

The Analysis Summary View summarizes the report in multiple tables. It also lists the collection options used to generate the report. You can select and copy information from these tables.

From the Page drop-down list, switch to the Analysis Summary View:

image

The following figure shows the Analysis Summary View:

image

The Analysis Summary View contains the following sections:

  • Launch Settings

  • Session Info

  • Processes

  • Threads

  • Environment

  • Device Attributes

4.1 Launch settings

The Launch Settings table lists the configuration for the report collection:

image

Parameter

Description

Collect HGGC trace

Shows whether an HGGC trace was collected.

Collect HGGC backtraces

Shows whether HGGC backtraces were collected.

Backtracing algorithm

The algorithm used for backtrace collection.

Collect OSRT trace

Shows whether an OSRT trace was collected.

Collect OSRT backtraces

Shows whether OSRT backtraces were collected.

Collect HGTX trace

Shows whether an HGTX trace was collected.

Collect acDNN trace

Shows whether an acDNN trace was collected.

Collect acBLAS trace

Shows whether an acBLAS trace was collected.

Collect CPU samples

Shows whether CPU samples were collected.

Delay

The delay before collection started.

4.2 Session info

The Session Info table lists information about the collection session:

image

Parameter

Description

Report File

The path to the generated report file.

Report Size

The size of the report.

Tracing Started Time

The time when report collection started.

Target Name

The name of the target.

Target OS

The operating system of the target.

Platform

The operating system platform.

Target Architecture

The architecture of the target.

Target Processor

The processor of the target.

Asight Systems Target

The version of the asys command line tool.

CLI Command Used

The arguments passed to the asys command line tool.

4.3 Other information

The Analysis Summary View also displays the following tables:

Parameter

Description

Processes

Information about the processes in the report.

Threads

Information about the threads in the report.

Environment

The environment variables of the PPU program.

Device Attributes

The device attributes of the PPU.

5. Diagnostics summary

This page displays all diagnostic information in this report, including the level, source, process ID, relative event time, and description. A summary of diagnostic information appears in the upper-right corner of the Timeline View. Click the summary to navigate to the Diagnostics Summary View.

image

6. Files

Use the Files page to view application log files in the report and locate issues. You can view three types of logs: stdout, stderr, and a JSON trace of Python functions.

Note: By default, the asys command line saves stdout and stderr to the report. This trace content appears only if you specify the json option during collection.

image

7. Connection dialog

The Asight Systems GUI includes the Connection Dialog for remote collection. Before you perform remote collection, ensure the SSH service is configured on the target machine. For instructions, see Installing the SSH Service. To open the Connection Dialog, navigate to Connection>Connect. As shown in the figure below, the dialog is divided into three sections:

image

  1. Remote connection management

  2. Target application configuration

  3. Trace collection options

7.1 Remote connection management

Click the "+" button to add a new connection.

image

This opens the remote connection configuration dialog, which supports two authentication modes:

image

For Password mode, configure the following fields:

Parameter

Description

IP/host name

The IP address or host name of the target machine.

user name

The user name to sign in to the target machine.

password

The password for the target machine.

port

The SSH port of the target machine.

For Private Key mode, configure the following fields:

Parameter

Description

IP/host name

The IP address or host name of the target machine.

user name

The user name to sign in to the target machine.

SSH private key

The SSH private key.

SSH key passphrase

The SSH key passphrase.

port

The SSH port of the target machine.

7.2 Target application configuration

image

Configure parameters for remotely launching the target application, such as the application executable path, command line arguments, and environment variables:

Parameter

Description

application executable

The path to the application executable on the target machine.

working directory

The application's starting directory.

command line arguments

The command line arguments for the target application.

environment

Additional environment variables for the target application.

pre-profile command

A command to run before trace collection starts. You can use this to set an environment variable.

post-profile command

A command to run after trace collection ends.

7.3 Trace collection options

Asight Systems supports collecting various types of data, which can be configured in this section.

7.3.1 Common

In the Common tab, you can set the name of the output report:

image

Parameter

Description

output file

The name of the generated report file. You can also specify a path.

force overwrite

Specifies whether to overwrite an existing report.

show output

Specifies whether to print the output of the target application.

command line

The actual asys command that runs on the target machine.

Tip: Remote collection calls the asys tool on the target machine to collect data and then downloads the report to the host. The command line field shows the exact command that runs on the target machine.

7.3.2 Trace

In the Trace tab, you can configure collection details for HGGC and OSRT, and HGTX trace collection:

image

Parameter

Description

Collect HGGC trace

Specifies whether to collect HGGC information.

Collect acDNN trace

Specifies whether to collect acDNN information.

Collect acBLAS trace

Specifies whether to collect acBLAS information.

max HGGC backtrace depth

The maximum depth of the HGGC backtrace, in frames. The default is 24.

Collect HGTX trace

Specifies whether to collect HGTX information.

Collect OS runtime trace

Specifies whether to collect OS runtime information.

max OS runtime backtrace depth

The maximum depth of the OS runtime backtrace, in frames. The default is 24.

7.3.3 Sample

In the Sample tab, you can configure CPU sampling details:

image

Parameter

Description

CPU sample

Specifies whether to enable CPU sampling.

CPU sample period

The CPU sample period, in CPU cycles. A smaller period results in a larger report.

CPU sample backtrace

Enables the collection of CPU execution backtrace information.

sample flush interval

Sets the interval for flushing samples.

capture range

Starts or stops trace collection based on an event trigger.

7.3.4 Launch

In the Launch tab, you can configure manual collection triggers, start time, and duration:

image

Parameter

Description

start sample manually

Specifies whether to trigger collection manually.

start sample delay

Sets a delay before collection starts.

sample duration

Sets the duration of the collection.

8. Options

Use the Options dialog to customize the Asight Systems GUI. To open it, select Tools > Options... from the menu bar.

image

The Options dialog has two tabs:

  • Environment

  • Profile

Modified options are displayed in bold. Click Restore Defaults to reset options to their default values.

8.1 Environment

The Environment tab contains the global settings for the Asight Systems GUI:

Parameter

Description

Color Theme

Sets the color theme to Light or Dark.

General Font

Changes the font used in the GUI.

Documents Folder

Specifies the directory where reports are generated during remote collection.

8.2 Profile

The options on the Profile tab control how reports are displayed:

image

Parameter

Description

Default Report Page

Sets the page displayed when you open a report. The default, Auto, allows Asight to select the initial page.

Timeline Mode

Determines the display layout for PPU and CPU information.

Maximum call stack display depth

Sets the maximum display depth for the call stack.

Maximum Timeline Row Display Depth

Sets the maximum display depth for timeline rows. Rows that exceed this depth are collapsed. Click the expand button to view them.