Overall Workflow
MindStudio IDE 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 workflow


- Set up the environment. For details, see Before You Start.
- 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.)
- Collect profile data.
MindStudio IDE builds the current project to generate an executable file and copies the file to the device. Then it delivers an instruction to the performance analysis tool Profiling and Profiling profiles the device and host data. When the instruction is complete, you need to copy the generated data file to MindStudio IDE.
- Query and parse the profile data.
After profile data collection is complete, MindStudio IDE calls the profiling API to query data.
- Display the profile data. For details, see Profile Data Display.
MindStudio IDE processes data in JSON files to generate view data to display on the GUI.
- Collect profile data.
- Analyze the profile data. For details, see Performance Analysis Sample Reference.
Parent topic: Performance Analysis