Overview

The msprof command line tool is encapsulated by msprof.py. You can run the msprof command line or the msprof.py script to parse profile data.

  • In CANN 6.3.RC2, CANN 6.2.RC2, and later versions, the structure of the collected raw profile data has been optimized; therefore, only the raw profile data collected by these versions can be parsed and exported.
  • 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 Ascend-CANN-Toolkit is installed for these data operations.
  • Except that the msprof command tool provides the parsing function, other profile data collection methods do not support data parsing. You can use the msprof command line tool or msprof.py tool to parse the data.
  • Run the msprof.py tool as the common user created during installation.
  • An environment without the driver and firmware installed only supports profile data parsing and exporting, and does not support profile data collection.