Folding Filtered Calls
The tree of function calls often includes functions that you don't want to analyze.
Calls to functions from System
and Microsoft
namespaces, for example. Normally, these calls are filtered out and are shown in the snapshot in gray font. Use folding to hide chains of filtered calls. You can apply folding to a single node, or hide filtered calls by default.
Filtered calls that can be folded are marked with the icon.
Folded filtered calls are marked with the icon.
To fold a chain of filtered calls
- Select a desired call chain that contains filtered calls.
- Click to fold the calls.
To unfold a chain of filtered calls
- Select a desired call chain that contains filtered calls.
- Click to unfold the calls.
Alternatively, you can choose
on the menu bar or press Ctrl+Space to fold or unfold filtered calls.To fold chains of filtered calls by default
- On the menu bar, choose Options dialog opens. . The
- Select the Folding node in the left tab.
- Select the Fold filtered system calls on tree expansion check box in the right pane.
- Click OK to apply changes.
As an example, the ThreadStart
function from the System.Threading
namespace consists of many system calls, however their contribution to the execution time is insignificant. Moreover, you don't want to analyze its performance because you can only improve your own code.
After the filtered calls are folded, you can focus on important information.