Performance Analysis
Using Profiling to Collect Profile Data
- On the AMIT process page, click System Profiler to enter the parameter configuration page for performance analysis.
- Click New Project on the welcome page or the
icon in the upper left corner. The profiling configuration window is displayed, as shown in Figure 1. - Go to the Executable Properties page. Figure 2 shows detailed configurations.
- Go to the Profiling Options page and retain the default settings, as shown in Figure 3.
- After the preceding configurations are complete, click Start in the lower right corner of the window to start profiling.
After the execution is complete, the profiling result will be automatically displayed in the MindStudio window. See Figure 4.
Using Profiling to Analyze Profile Data
- Check the full statistics on iteration durations: In the timeline view, view the iteration durations under Step Trace and identify a time-consuming iteration and analyze it.
- Export the timeline data of the iteration: Click the
button and then Yes in the displayed dialog box to export the timeline data of the iteration. See Figure 5. - Check the operator time consumption within the iteration. If an operator that takes a long time exists, view the operator details to locate the fault. If the communication is time-consuming or the scheduling interval is long, analyze the API time consumption during each call. See Figure 6.
- View the operator statistics table: View the time consumption and details of each AI Core and AI CPU operator within the iteration to find the time-consuming operator. Then, further locate and analyze the operator metrics data and analyze the proportion of operator data transfer and execution pipeline to identify the operator bottleneck. See Figure 7.
- View the time consumption statistics table of component APIs: Check the time consumption of AscendCL APIs and Runtime APIs within the iteration to analyze the impact of API calling on performance. See Figure 8.
Parent topic: Integrated Inference Tool







