Overview
The msprof parsing tool is encapsulated using msprof.py. You can directly use the msprof parsing tool to parse and export the profile data.
Tool Usage Process
To export profile data using msprof.py, take the following steps:
- Complete the operations in Parsing Profile Data.
- (Optional) Complete the operations in Querying Profile Data File Information.
Perform this step if you need to specify the iteration ID or model ID for parsing. Otherwise, skip it.
- Complete the operations in Exporting Profile Data.
- For the following products, profile data cannot be directly parsed, queried, or exported on devices. Instead, you need to copy the collected PROF_XXX directory to an environment where the Toolkit package is installed for these data operations.
Ascend RC scenario of theAtlas 200I/500 A2 inference product
- Run the msprof.py tool as the common user created during installation.