Asight Systems GUI reports

Updated at:
Copy as MD

The Asight Systems GUI displays reports. The following figure shows the GUI with a report open:

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 figure shows the menu bar in the Asight Systems GUI:

image

File

  • Open: Opens a report.

  • Open Advanced: Opens a report with advanced options. For more information, see Advanced Open.

  • 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 more information, see Options.

Help

  • Documentation: Opens the Asight Systems documentation.

  • About: Displays information about Asight Systems.

1.1 Advanced Open

The Asight Systems Advanced Open feature allows you to:

  1. Open multiple reports in the same Timeline View.

  2. Open a portion of a report by specifying a percentage range.

  3. Specify which event types to load.

To use the Advanced Open feature, select File > Open Advanced. The UI appears as follows:

image

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

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

    1. Add a new path.

    2. Remove the selected path.

    3. Move the selected path up one row.

    4. Move the selected path down one row.

  3. Opens a file browser to replace the selected path with a new one.

  4. A list of event types to load. Only the selected types will be loaded.

  5. The percentage of the report to open. In the preceding figure, this is set to open the portion of the report from the 30% to the 60% mark.

Event type

Tracked data type

Metrics sampling

PPU metrics tracking

CPU metrics tracking

Thread scheduling

CPU thread scheduling

Memory usage

PPU memory usage tracking

Pinned memory usage tracking

Host memory usage sampling

Heap memory usage tracking

OS runtime

OS Runtime (OSRT) tracking and call stacks

HGTX

HGTX tracking

HGGC

HGGC API tracking and call stacks

HGGC PPU Activity tracking

acDNN

acDNN API tracking and call stacks

acBlas

acBlas API tracking and call stacks

Video

Video API tracking

Video PPU Activity tracking

PCCL

PCCL activity tracking

Log

Application stdout and stderr logs

NIC metrics

RDMA NIC performance metrics tracking

Backtrace

HGGC, acDNN, acBlas, and OSRT API call stacks

CPU backtrace sampling and tracking

Python backtrace sampling and tracking

Call stacks for PPU, Pinned, and Heap memory usage

When you select multiple reports to display in the same Timeline View, their timelines are arranged chronologically by event time. To align timelines across different reports, see Aligning timelines for multiple reports.

2. Project Explorer

The Project Explorer in the Asight Systems GUI allows you to manage reports, as shown below:

image

In the preceding figure, report names shown in bold indicate open reports. The Project Explorer saves a history of opened reports. You can remove a report from the history via the context menu. To quickly open the directory containing a report file, right-click the report in the Project Explorer and select Show in Finder/Explorer from the context menu.

Tip: The Project Explorer only stores references to reports. These references become invalid if the report files are deleted or moved.

3. Timeline view

The Timeline View displays a timeline of all events, including HGGC, HGTX, OSRT, and CPU sampling. Use this view to examine PPU and CPU workloads and pinpoint bottlenecks.

The Timeline View is divided into two sections: the Timeline Area at the top and the Events View at the bottom, as shown below:

image

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

  2. Timeline Tree

  3. Report-level Options button: Opens the Options Dialog.

  4. Search box

  5. Timeline Area

  6. Help Guide button: Opens the operation guide.

  7. Vertical Zoom slider: Zooms the timeline vertically.

  8. Switches to the Diagnostics Summary View.

  9. 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 provides various ways to navigate the timeline. The operation guide lists all supported operations and their keyboard shortcuts:

image

Keyboard and mouse

Action

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 last operation

Backspace

Trackpad

Action

Trackpad

Pan left

Two-finger swipe left

Pan right

Two-finger swipe right

Zoom in horizontally

Pinch open

Zoom out horizontally

Pinch close

Scroll up

Two-finger swipe down

Scroll down

Two-finger swipe up

Select item

Action

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

CTRL/Command + Left-click

Select time range

Action

Keyboard and mouse

Select a time range

Left-click and drag

Drag the selected time range

Left-click and drag

Deselect the 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 current time range

F

Filter by current time range and deselect

Shift + F

Vertical zoom

In addition to horizontal zoom, the Timeline View provides a vertical zoom feature. Use the zoom slider in the upper-right corner to adjust the vertical scale:

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 a specific row to the top or bottom of the view for easy comparison:

image

Hide trailing nodes

To simplify the view, some nodes in the Timeline Tree allow you to hide their trailing child nodes:

image

The hide nodes feature supports the following operations:

Action

Keyboard and mouse

Show one more node

Left-click +

Show one less node

Left-click -

Show five more nodes

CTRL/Command + Left-click +

Show five less nodes

CTRL/Command + Left-click -

Show all hidden nodes

Double-click

You can also use the context menu:

image

Action

Description

Show More

Shows one more node.

Show Less

Shows one less node.

Show All

Shows all nodes.

Reset View

Restores 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 of its child nodes, as shown below:

image

Tooltip

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

image

You can click the pin icon in the upper-right corner of the tooltip to keep it visible for easier reading, or click the copy button to copy its content.

image

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

image

Switch time axis display mode

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

  1. Session Time: This mode displays time relative to the start of the report, with the origin (0) at the beginning of the timeline, as shown below:

    image

  2. Global Time: This mode displays the actual timestamp.

    image

You can switch between the two display modes by clicking the triangle button on the left:

image

Dock widget

The GUI supports dockable widgets, allowing you to drag a report out of the main window to view it in a separate window or on a different screen.

You can dock a widget by dragging its tab:

image

You can also use the Detach/Attach options in the context menu:

image

Bookmark a timeline

The Timeline View allows you to 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 add a bookmark, a persistent marker with a sequence number appears on the timeline:

image

You can manage all bookmarks in the Bookmarks window:

image

In this window, you can perform the following actions:

  • Change a bookmark's sequence number.

  • Add comments to a bookmark.

  • Clear all bookmarks at once.

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

  • Import or export bookmark code via the clipboard.

  • When you close a report, bookmarks are saved to an .asysrepbm file with the same name, located in the same directory as the report. When you reopen the report, it automatically imports these bookmarks.

    • You can change this behavior by navigating to Tools->Options->Systems Profile->Bookmark Management Mode.

3.2 Timeline item display strategy

image

The top of the Timeline View features a time axis where time progresses from left to right. For better readability when the view is zoomed in sufficiently, time is displayed in a base+offset format.

In the Timeline View, each event is represented as a timeline item. Different types of timeline items are represented by different colors. The left edge of an item marks the event's start time, the right edge marks its end time, and the width of the item represents its duration.

When the Timeline View is not fully zoomed in, Asight Systems uses an occupancy histogram to display events:

image

The figure above shows the kernel timeline as a histogram with varying bar heights. This strategy applies to various data types, including CPU utilization, thread and process occupancy, kernels, and memory copy operations.

Layered display for communication operators

In the Timeline View, communication operators are layered and displayed in distinct colors, as shown in the [All Streams] row below:

image

Color-coded kernels

To better distinguish between different kernel timelines, the Timeline View can display each kernel in a unique color, as shown below:

image

You can enable this feature via Options Dialog->Systems Profile->Color HGGC Kernels.

3.3 Timeline correlation

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

image

Events are correlated in the following two cases:

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

  • A device activity is initiated by a host API call (e.g., a kernel launch API and its corresponding kernel).

3.3.1 Correlation operations and markers

When an item is selected, 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 its start time and duration. It also displays the PPU active/idle time ratio, as well as the time ratios for kernel execution and memory operations within that range.

When selecting or resizing a time range, hold down the Shift key to enable the snapping feature, which automatically snaps the range to the start or end point of the nearest timeline.

After selecting a time range, you can drag to move it or resize it. Double-clicking the time range zooms it to fit the entire view. Asight Systems also supports filtering. Select Filter and Zoom in from the context menu to isolate events within the current time range for inspection in the Events View.

3.5 Aligning timelines across multiple reports

When you open multiple reports in the Timeline View, it displays their timelines chronologically based on when each event occurred. To adjust the time offset between reports, Asight Systems provides a timeline alignment feature, which you can access as shown below:

image

Clicking the button opens the timeline alignment dialog:

image

  1. The time offset of each report's timeline relative to its collection start time, in nanoseconds. The default is 0. You can manually enter a time offset for calibration.

  2. Enter timeline picking mode to select a timeline in each report as a reference 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 shifts the report's timeline to the right; a negative value shifts 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 different reports occurred simultaneously, you can use their timelines as references for semi-automatic alignment. The Timeline View automatically calculates the time offset between the reports based on these references.

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

image

In picking mode, the alignment dialog disappears, and a tooltip appears at the bottom of the window. Left-click a timeline to select it as a reference. The selected timeline is highlighted. You can select only one timeline per report; selecting another timeline in the same report deselects the previous one.

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

Align Left: The selected timelines started at the same time. This aligns them by their left edges.

Align Right: The selected timelines ended at the same time. This aligns them by their right edges.

You can use the following keyboard shortcuts to exit picking mode:

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

ESC: Discards the selection and reopens the alignment dialog.

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

image

The time offset for each report is automatically calculated and populated. The Pick button indicates that four timelines have been selected. In the drop-down list below, you can select Align Left or Align Right, and the time offsets above will be recalculated automatically.

Tips: When picking reference timelines, the time offset is calculated relative to the timeline selected in the first report. If no timeline is selected for the first report, Align Left mode uses the start time of the first report as the reference, and Align Right mode uses its end time. For this reason, we recommend that you always select a reference timeline for the first report.

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

3.6 Search and filter timeline rows

The search and filter feature helps you quickly find timeline rows of interest, as shown below:

image

You can switch between two modes:

  • Search mode: Highlights matching items and allows you to jump to the next or previous match.

  • Filter mode: Displays only matching items.

The search results in search mode are shown below:

image

3.7 Group view

Large reports can contain a vast number of timelines. To help you focus on specific timelines, the Timeline View provides a grouping feature that allows you to add specific timelines to a Group View for isolated analysis.

Right-click a timeline row and add it to a Group View from the context menu:

image

Afterward, a button for the Group View appears at the top of the Timeline View. A group icon, matching the color of the Group View button, also appears to the right of the timeline row. Click this button to switch to that Group View, as shown below:

image

As shown, the view displays only the selected [All Streams] row and hides unrelated timeline rows. It also displays these related rows:

  • All ancestors of the target row

  • The child nodes of the target row

You can right-click the group button to rename the group:

image

A single timeline row can be added to multiple Group Views:

image

3.8 Report-level options

In addition to the global options under Tools->Options, the Timeline View supports report-level options with the following characteristics:

  1. They apply only to the current report.

  2. They are not saved and are reset when you restart Asight Systems.

  3. If an option also exists in the global settings, the report-level option overrides it.

  4. They take effect immediately, without requiring you to reopen the report.

You can open the Options Dialog by clicking the Options button to the left of the search box in the Timeline View:

image

The dialog appears as shown below:

image

The available options are:

Show correlation arrows: Toggles the display of arrows for selected timelines. Default: Yes.

Show CPU sampling rows: Toggles the display of rows related to CPU sampling. Default: Yes.

Show PPU metrics rows: Toggles the display of rows related to PPU metrics. Default: Yes.

Show NIC metrics rows: Toggles the display of rows related to NIC metrics. Default: Yes.

Show non-HGGC process and thread rows: Toggles the display of thread and process rows that have no HGGC information. Default: Yes.

Show graph node based HGTX timelines: Toggles the display of HGTX timelines based on graph node mapping. Default: Yes.

Color HGGC kernels: Displays each HGGC kernel in a unique color. Default: Inherits from global option.

Color CPU Usage by Thread: Colors CPU timelines by thread name. Default: Inherits from global option.

HGGC API name mode: Displays the host-side HGGC launch API call with the name of its corresponding kernel. Default: Inherits from global option.

When a report-level option is active, a dot appears on the Options button:

image

3.9 Events view

The Events View displays events in a list format, supporting sorting, searching, filtering, and bidirectional navigation with the Timeline View.

From the timeline, right-click a node and select Show in Events View (shortcut: Shift + Double-click) to display its events in the Events View:

image

It also displays the events of the selected node's children:

image

  1. Display mode selector. For nested HGTX events, you can choose a Tree or Flat List display.

  2. Search criteria selector: Search by Name or Description.

  3. Advanced search options.

  4. Search bar.

  5. Events table.

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

The table displays the following columns:

  • # (Index)

  • Name

  • Start

  • Duration

  • TID

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

image

Use the context menu to copy selected items or export all events to a CSV file. You can use Shift or Ctrl to select multiple items, or choose Select All. Clicking a column header sorts the data.

3.9.1 Search

The Events View supports a search function:

image

Two search criteria are available:

  1. Search by Name

  2. Search by Description

Two modes are supported:

  1. Search

  2. Filter

The search results are displayed as follows:

image

  1. Search results are highlighted.

  2. The number of matching items is displayed.

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

  4. Highlights search results in the Timeline View.

Using Show in Events View again resets the search bar and results.

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

image

  • Case Sensitive: Makes the keyword search case-sensitive.

  • Show Only Matched: If selected, the Events View displays only matching items and hides all others.

3.9.2 Navigate to the timeline

The Events View supports bidirectional navigation with the Timeline View:

  • When a timeline item is displayed in the Events View, double-clicking it in the timeline selects the corresponding item in the Events View.

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

You can also use the context menu to navigate:

image

  • Highlight Selected on Timeline: Highlights the item in the timeline (same as double-clicking).

  • Show Current on Timeline: Highlights the item in the timeline and zooms it to fit the entire view.

3.9.3 Filter by time range

You can filter the Events View to display only events within a specific time range. First, select a time range in the timeline, then select Filter and Zoom in from the context menu. The view then shows only the events within that range:

image

3.10 Function view

Asight Systems provides 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 (flame graph and icicle graph). Its sorting, searching, and filtering features help you quickly find performance hotspots. Using the Function View requires you to enable Backtrace sampling when collecting a report. See Collect API Call Stacks for more information.

3.10.1 Flame and icicle graphs

A flame graph helps you quickly identify the call stack that consumes the most CPU time, while an icicle graph helps you quickly locate the function with the highest CPU consumption and its callers. Both graphs provide a high-level overview of the time consumed by all functions and help you quickly pinpoint hotspot functions and their corresponding call stacks.

Example of a flame graph:

image

Example of an icicle graph:

image

Main features of flame and icicle graphs:

  • Each rectangle in the graph represents a function. The rectangle's width indicates the function's CPU time, and its color identifies the module. The x-axis does not represent time. The y-axis represents the depth of the call stack, with callers at the bottom and callees at the top.

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

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

  • Use the context menu on a function to copy its function name or module name.

  • You can search for functions. Search results are highlighted in magenta in the graph.

image

3.10.2 Function tables

The Function tables include Top-Down, Bottom-Up, and Flat views. Their main features are shown below:

image

  1. Select the target process to analyze.

  2. The tab bar, which lets you switch to other sub-pages.

  3. Search box.

  4. Filter Dialog.

The Function tables display the following information:

  • Symbol Name: The name of the function.

  • Self: The percentage of CPU time spent in the function itself.

  • Total: The percentage of CPU time spent in the function and any functions it called.

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

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

The tables support a search feature that simultaneously searches the Symbol Name and Module Name columns and includes a Case Sensitive option. The search results interface is similar to that in the Events View and includes the following:

  1. Highlighted search results.

  2. A count of matching items.

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

The Function tables support filtering options, including:

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

  • Specifying the number of decimal places for time percentages.

image

The 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

The Top-Down view displays functions in a tree structure based on their call relationships, starting from the top-level caller. In the figure above, the DoProcessLoop and ProfilerStart functions are both called by main, so they both belong to the main node.

The Self value for the main function is 0, which indicates that its own logic is very simple. Its Total value is 90.24%, indicating that the functions main calls consume most of the CPU time.

Tips: The depth of the call stack is determined by the maximum stack unwinding depth specified during data collection. If a function's call depth exceeds this maximum, the top-most function reached during unwinding is displayed as the root node.

If a symbol name cannot be retrieved, the function's address is displayed instead.

Bottom-up table

image

The Bottom-Up view is the inverse of the Top-Down view. It starts with the most deeply nested function as the root node and proceeds to the shallowest function as the leaf node. For example, in the figure above, the main function is a leaf node. The Bottom-Up view does not display the Total column.

Flat table

image

The Flat view displays all functions in a simple list. In scenarios where call relationships are not important, this view allows you to quickly find the functions with the highest Self and Total time consumption.

3.11 Device memory view

Asight Systems provides the Device Memory View to analyze the device memory allocation and deallocation activity of all functions.

The Device Memory View supports four modes, which you can select from the drop-down list:

image

  • Unreleased Malloc Size: Shows the size of allocated but not deallocated memory for each function.

  • Total Malloc Size: Shows the total size of memory allocated by each function.

  • Unreleased Malloc Count: Shows the number of memory allocations that have not yet been deallocated for each function.

  • Total Malloc Count: Shows the total number of memory allocations for each function.

The Device Memory View also provides a flame graph, an icicle graph, and three table views (Top-Down, Bottom-Up, and Flat). It supports sorting, searching, and filtering to help you quickly find hotspot functions. To use the Device Memory View, you must enable device memory sampling when collecting a report. For more information, see Analyze PPU Memory Usage.

image

The table displays the following information:

  • Symbol Name: The name of the function.

  • Self: The amount of device memory allocated or deallocated by the function itself. A positive value (red) indicates an allocation, while a negative value (blue) indicates a deallocation.

  • Total: The total amount of device memory allocated or deallocated by the function and any functions it called.

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

3.12 Host pinned memory view

Asight Systems provides the Host Pinned Memory View to analyze the allocation and deallocation of pinned memory for all functions. Like the Device Memory View, it supports four viewing modes, a flame graph, an icicle graph, and three table views (Top-Down, Bottom-Up, and Flat). Its sorting, searching, and filtering features help you quickly find hotspot functions. Using the Host Pinned Memory View requires you to enable pinned memory sampling when collecting a report. For more information, see Analyze Pinned Memory Usage.

image

3.13 Heap memory view

Asight Systems provides the Heap Memory View to analyze the usage of CPU-side dynamically allocated memory (heap memory) by functions. Like the Device Memory View, it supports four viewing modes, a flame graph, an icicle graph, and three table views (Top-Down, Bottom-Up, and Flat). It also supports sorting, searching, and filtering to help you quickly find hotspot functions. To use the Heap Memory View, you must enable heap memory sampling when collecting a report. See Heap Memory Usage Tracking for more details. Clicking a time block in the Heap memory usage row of the Timeline View shows the process's memory usage up to that point.

image

4. Analysis summary

The Analysis Summary page summarizes the report in multiple tables. You can view the settings used for report collection and copy information from the tables.

From the Page drop-down list, select 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 section lists the report collection configuration:

image

Item

Description

Collect HGGC trace

Whether the HGGC trace was collected.

Collect HGGC backtraces

Whether HGGC backtraces were collected.

Backtracing algorithm

The backtrace collection algorithm.

Collect OSRT trace

Whether the OSRT trace was collected.

Collect OSRT backtraces

Whether OSRT backtraces were collected.

Collect HGTX trace

Whether the HGTX trace was collected.

Collect acDNN trace

Whether the acDNN trace was collected.

Collect acBLAS trace

Whether the acBLAS trace was collected.

Collect CPU samples

Whether CPU sampling was performed.

Delay

The delay before collection started.

4.2 Session info

The Session Info section provides details about the collection session:

image

Item

Description

Report file

The path to the generated report file.

Report size

The size of the report.

Tracing started time

The time when trace collection started.

Target name

The name of the target machine.

Target OS

The operating system of the target machine.

Platform

The operating system platform.

Target architecture

The architecture of the target machine.

Target processor

The processor of the target machine.

Asight systems target

The version of the asys command-line tool.

CLI command used

The parameters used for the asys command-line tool.

4.3 Other information

The Analysis Summary View also includes the following tables:

Item

Description

Processes

Details about processes in the report.

Threads

Details about 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 for the report, including the level, source, process ID, relative event time, and description. A cumulative summary of diagnostic information appears in the upper-right corner of the Timeline View. Click the summary to open the Diagnostics Summary View.

image

image

6. Files

The Files page displays application log files from the report for troubleshooting. You can view three types of logs: stdout, stderr, and python functions trace json.

Note: By default, the asys command line saves stdout and stderr to the report. The python functions trace json log requires using json to enable its collection.

image

7. Connection dialog

The Connection dialog in the Asight Systems GUI lets you perform remote collection. Before you begin, ensure that the SSH service is installed and running on the target machine. For more information, see Install the SSH service. To open the dialog, select Connection->Connect. This dialog has three sections:

image

  1. Remote connection management.

  2. Target application configuration.

  3. Trace and collection options.

7.1 Remote connection management

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

image

The remote connection configuration dialog appears. It supports two authentication modes:

image

The Password mode requires the following settings:

Parameter

Description

IP/host name

The IP address or host name of the target machine.

User name

The username for logging in to the target machine.

Password

The password for the specified user account on the target machine.

Port

The SSH port number on the target machine.

The Private Key mode requires the following settings:

Parameter

Description

IP/host name

The IP address or host name of the target machine.

User name

The username for logging in to the target machine.

SSH private key

The path to the SSH private key file.

SSH key passphrase

The SSH key passphrase for the private key, if it is encrypted.

Port

The SSH port number on the target machine.

7.2 Target application configuration

image

This section lets you configure remote launch settings for the target application, such as its executable path, command line arguments, and environment variables.

Parameter

Description

Application executable

The path to the target application on the target machine.

Working directory

The directory from which the target application launches.

Command line arguments

The command line arguments to pass to the target application.

Environment

Additional environment variables to set for the target application.

Pre-profile command

A command to execute before trace collection begins. You can use this to set environment variables.

Post-profile command

A command to execute after trace collection is complete.

7.3 Trace and collection options

This section lets you configure the types of data that Asight Systems collects.

7.3.1 Common

The Common tab lets you set the output report name:

image

Parameter

Description

Output file

The name for the generated report file. You can specify a full path.

Force overwrite

When enabled, overwrites an existing report file with the same name.

Show output

When enabled, displays the standard output of the target application.

Command line

The complete asys command that runs on the target machine.

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

7.3.2 Trace

The Trace tab lets you configure trace collection details for HGGC, OSRT, and HGTX:

image

Parameter

Description

Collect HGGC trace

Enables trace collection for HGGC APIs.

Collect acDNN trace

Enables trace collection for acDNN APIs.

Collect acBLAS trace

Enables trace collection for acBLAS APIs.

Max HGGC call stack depth

The maximum depth of the call stack to collect for HGGC APIs. The default is 24 frames.

Collect HGTX trace

Enables trace collection for HGTX ranges.

Collect OS runtime trace

Enables trace collection for OS runtime events.

Max OS runtime call stack depth

The maximum depth of the call stack to collect for OS runtime events. The default is 24 frames.

7.3.3 Sample

The Sample tab lets you configure settings for CPU sampling:

image

Parameter

Description

CPU sample

Enables CPU sampling.

CPU sample period

The sampling period in CPU cycles. A smaller value increases the sampling frequency, resulting in a larger report file.

CPU sample call stack

Enables collection of CPU execution call stacks.

Sample flush interval

Specifies how often to flush the collected sample data.

Capture range

Lets you start and stop trace collection based on specific events.

7.3.4 Launch

The Launch tab lets you configure manual triggers, start delay, and duration for data collection:

image

Parameter

Description

Start sample manually

When enabled, you must trigger data collection manually.

Start sample delay

Delays the start of data collection by a specified amount of time.

Sample duration

The length of time to collect data.

Options

The Options dialog in the Asight Systems GUI lets you customize the user interface. To open it, select Tools > Options... from the menu bar.

image

The Options dialog has two tabs related to Asight Systems:

  • Environment

  • System profile

Modified options appear in bold. Click Restore Defaults to restore the default settings.

Environment

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

Option

Description

Color theme

Switches the color theme. The Light and Dark themes are supported.

General font

Changes the font used in the GUI.

Documents folder

Specifies the directory where reports are saved during remote collection.

System profile

The options on the System profile tab let you customize how reports are displayed:

image

Option

Description

Default report page

Sets the initial page to display when you open a report. The default, Auto, lets Asight Systems determine this page.

Color HGGC kernels

Specifies whether to display different kernels in the Timeline View in different colors. The default is No.

HGGC API name mode

Sets the display name for HGGC launch APIs. You can display them by their Host API name (default) or by their corresponding kernel name.

HGGC dependency display mode

Determines the starting point for calculating PPU activity dependencies. The calculation can start from either the beginning of the report or the start time of the corresponding Host API. The default mode, Effective, uses the Host API start time.

Group small streams into others

When set to Yes, groups streams with low time consumption into a single other streams row. The default is Yes.

Compact single-child PPU nodes

When enabled, this option compacts certain PPU nodes. For example, if a device node has only one context node, the view hides the context node and promotes its children to appear directly under the device node. This also applies to stream nodes. The default is Yes.

Timeline mode

Determines the display position of PPU and CPU information.

Maximum call stack display depth

Specifies the maximum display depth for a call stack.

Maximum timeline row display depth

Specifies the maximum display depth for timeline rows. Rows exceeding this depth are automatically collapsed. Click the image.png button to expand them.