Parsing and Exporting Profile Data
The following uses the msprof command line as an example to describe how to parse and export profile data:
- Switch to the path where the parsing tool is located.
/home/HwHiAiUser/Ascend/ascend-toolkit/latest/tools/profiler/bin
/home/HwHiAiUser/Ascend/ indicates the CANN installation path.
- Run the following command to parse the profile data file:
./msprof --parse=on --output=/home/HwHiAiUser/profiling_output
--output indicates the path for storing the profile data file set during profile data collection.
- Export the profile data.
./msprof --export=on --output=/home/HwHiAiUser/profiling_output
For details about the Profiling tool, see Performance Tuning Tool User Guide .
Parent topic: Profile Data Collection and Analysis