View Display

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

Figure 1 Profiling view (inference)
Figure 2 Profiling view (training)
  • 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 Description" 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 5. That is, Profiling Options is 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 profiling window is divided into the following areas:

Area 1: menu bar. From left to right, there are four functions: Open... (open a profiling report), New Project (create a profiling project), Timeline Color (open the timeline color configuration), and Refresh (refresh the navigation bar). For details, see Profiling Project Management and Timeline Color Configuration.

Area 2 displays the tab pages of opened .json files. You can click a tab page to view the result of the corresponding file.

Area 3 displays profiling results in views, including Timeline Views, Analysis Summary, Memory Chart (only for inference), Cluster Iteration Analysis (cluster), Data Preparation (cluster) and Baseline Comparison.

Area 4: navigation bar, which displays the .json file you specified. It provides historical data management functions, including Open Report, Save As, and Delete Report. You can right-click in a blank area and choose New Project to create a profiling project, choose Open... to open a profiling report, or choose Refresh to refresh the navigation bar. See Profiling 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 API

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