Analyzing Profile Data

This section provides only a simple Profiling process. The detailed process depends on the actual data. For more profile data analysis examples, see "Profiling" in the MindStudio User Guide.

  1. 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.
  2. 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 1.
    Figure 1 Step Trace
  3. 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 2.
    Figure 2 AI Core task
  4. 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 3.
    Figure 3 AI Core Metrics
  5. 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 4.
    Figure 4 Statistics