Import Result
After collecting the raw profile data, you can use the Import Result function to parse and display it in MindStudio IDE. The configuration procedure is as follows:
- Choose from the top menu bar. The system analysis project page is displayed.
- On the system analysis project page, click Import Result on the welcome page or the
icon in the upper left corner. The Import Profile Data configuration window is displayed. - Configure the data source path, data output path, and output project name of Import Result. See Figure 1.
Table 1 Import Result parameters Parameter
Description
Project Name
Name of the output project file, which is user-defined.
Input Location
Data source path. Set it to the data output path (parent directory of the PROF_XXX directory) specified by the msprof command or directly to the PROF_XXX directory.
Output Location
Data output path.
- For details about how to use the msprof command, see "msprof Command Line Tool" in Profiling Instructions.
- If the msprof command is run in a multi-device environment, how many devices there are, how many PROF_XXX files will be generated in the data output path.
- If you execute the msprof command for multiple times in the same path, multiple PROF_XXX files will be generated in the data output path.
- If the size of the .json file exceeds the maximum cache for automatic result display of Import Result, the file may fail to be automatically displayed. In this case, you are advised to use MindStudio Insight.
- Profile data in the training cluster scenario can be imported. That is, all PROF_XXX directories to be displayed are summarized to a specified directory. Set Input Location to this directory. For details about the display pages, see Analysis Summary and Data in Cluster Scenarios.
- For details about profile data collection in cluster scenarios, see "Appendixes" > "Performance Analysis in Cluster Training Scenarios" in the Profiling Instructions.
- If the message "Low memory" is displayed when MindStudio IDE loads profile data, refer to What Do I Do If "Low memory" Is Displayed During Profile Data Loading in the Cluster Scenario? to rectify the fault.
Parent topic: Performance Analysis
