Overall Workflow

MindStudio provides the capabilities for collecting, analyzing, and summarizing the profile data of hardware and software. The overall Profiling workflow is as follows:
Figure 1 Overall Profiling workflow
  1. Set up the environment. For details, see Before You Start.
  2. Run Profiling. For details, see Profile Data Collection.
    Enable Profiling on the configuration page. (In inference scenarios, ensure that the application project can be properly executed. In training scenarios, directly collect data.)
    1. Collect profile data.

      MindStudio builds the current project to generate an executable file and copies the file to the device. Then MindStudio delivers an instruction to the performance analysis tool, which profiles the device and host. When the instruction is complete, copy the generated data file to MindStudio.

    2. Query and parse the profile data.

      After profile data collection is complete, MindStudio calls the API of the performance analysis tool to query data.

    3. Display the profile data. For details, see Profile Data Display.

      MindStudio processes data in JSON files to generate view data to display on the GUI.

  3. Analyze the profile data. For details, see Profiling Sample Reference.