Top Methods shows the list of methods from all selected threads sorted by execution time.
Use Top Methods in conjunction with other filters to determine top methods by a certain condition. For example, to see top methods by file operations time, select the File I/O event in Interval Filters.
What The List Shows
The percentage of call execution time relative to the total selected time.
Full method name.
Call execution time. This time is calculated differently depending on the Hide system methods checkbox. See details below.
If you double click on a method or select it in the list and press Enter, Call Tree will find and highlight all method instances. See Finding All Method Instances for details.
How Call Time Is Calculated
If Hide system methods is checked, call execution time is calculated as a sum of own method's time and times of all system methods it calls (down to the next user method in the stack). Otherwise, system methods are shown in the list separately with their own times. For better understanding, consider the example.
If Hide system methods is not checked, Top Methods will calculate time as follows:
UserMethod1 = A + H
UserMethod2 = G + B
SystemMethod1 = C + F + I
SystemMethod2 = E + D
If Hide system methods is checked, Top Methods will calculate time as follows:
UserMethod1 = A + C + E + F + H
UserMethod2 = B + D + G + I