Everything

Method for Performance Analysis

Now let us try an actual performance analysis.

Here, we describe how to analyze the performance of func1.

 

Set the first line of func1 as the timer start point, and the last line as the timer end point.

The timer start and end points are set as shown in the figure above.

 

When you have finished setting up the timer, run the program, and analyze the performance.

 

Run the program, and break at any point.

Next, display the timer measurement on the Event panel.

As shown in the figure above, the results of the timer measurement appear in the Event panel.