View Display

After profile data collection is successfully executed, the data results are automatically displayed. See the following figures.

Figure 1 Performance analysis view (inference)
Figure 2 Performance analysis view
  • If you hover your cursor over a timeline in the view, the running information about the corresponding API is displayed, including the start time, end time, execution duration, and API name. For details about more API fields, see "Profile Data File References" in the Profiling Instructions.
  • The .json data file generated after profile data collection is named in the following format: report_{timestamp}_{device_id}_{model_id}_{iter_id}.json, in which {device_id} indicates the device ID, {model_id} indicates the model ID, and {iter_id} indicates the ID of an iteration.
  • In training scenarios, iteration trace data, AI Core data, and operator data are collected. You do not need to perform the operation in 6. That is, Profiling Options are not configured and corresponding data is not collected. Therefore, the data displayed in Figure 2 is a subset of the data displayed in Figure 1.
  • If the size of the .json file generated after profile data collection exceeds the maximum cache for automatic result display of the Profiling tool, the file may fail to be automatically displayed. In this case, manually open it.

The performance analysis window is divided into the following areas:

Area 1: menu bar. There are five functions from left to right: New Project (creating a project), Open Project (opening a project not displayed), Import Result (importing and parsing raw data, and displaying the result data), Timeline Color (opening the timeline color configuration), and Refresh (refreshing the navigation bar). For details, see Performance Analysis Project Management and Timeline Color Configuration.

Area 2 displays the opened profiling project. You can click a tab to view the corresponding project's result.

Area 3 displays profiling results in views, including Timeline Views, Analysis Summary, , Baseline Comparison, Cluster Iteration Analysis (cluster), Data Preparation (cluster), Communication Analysis (cluster), and Host System Analysis.

Area 4: navigation bar, which displays the project directory you specified. It provides historical data management functions, including Open Project and Delete Project. You can right-click in a blank area and choose New Project to create a project, choose Open... to open a project not displayed, or choose Refresh to refresh the navigation bar. See Performance Analysis Project Management.

Profiling supports two AI Core profiling methods: task-based and sample-based. Therefore, the results displayed on each tab page are different.

Table 1 AI Core profiling results in different views

View

Task-Based

Sample-Based

AI Core Utilization (Analysis Summary)

Not display

Display

Timeline View

Display

Display

CPU

Display

Display

Memory

Display

Display

Disk

Display

Display

Network

Display

Display

Os Runtime

Display

Display

ACL API

Display

Display

Runtime API

Display

Display

GE

Display

Display

MsprofTX

Display

Display

Step Trace

Display

Display

AI Core task

Display

Not display

AI CPU task

Display

Display

HCCL

Display

Display