Importing Profile Data

MindStudio Insight allows users to import profile data files and displays related content in graphics. For details about the profile data files that can be imported in the operator tuning scenario, see Table 1. For details about how to import the data, see Importing Data.

Table 1 Profile data that can be imported

File

Description

File Obtaining Method

GUI

trace.json

Simulation instruction pipeline graph file of operators.

For details, see "msprof op simulator" in Operator Tuning (msProf) in Operator Development Tool User Guide.

Timeline

visualize_data.bin

Visualized simulation pipeline graph file.

For details, see "msprof op simulator" in Operator Tuning (msProf) in Operator Development Tool User Guide.

Timeline

Visualized file that displays basic operator information, computing unit load, and Roofline bottleneck analysis information.

For details, see "msprof op" in Operator Tuning (msProf) in Operator Development Tool User Guide.

Details

Visualized file that displays information such as hotspot functions.

For details, see "msprof op simulator" and "msprof op" in Operator Tuning (msProf) in Operator Development Tool User Guide.

Source

visualize_data.bin

Visualized L2 cache access information file in the kernel function of the user program.

For details, see "msprof op" in Operator Tuning (msProf) in Operator Development Tool User Guide.

Cache

  • In the operator tuning scenario, the JSON file imported to MindStudio Insight must contain the "profilingType":"op" field before the first square bracket ([) in the file content.
  • You can import a JSON file in a folder. A folder can contain multiple subfolders, but a subfolder cannot contain multiple JSON files. Different JSON files must be placed in different subfolders.
  • It is recommended that the size of a single JSON file to be imported be less than or equal to 1 GB.
  • Only one BIN file can be imported at a time. Files cannot be imported in a folder.
  • It is recommended that the size of a single BIN file to be imported be less than or equal to 500 MB.