9.3. Filtering instances

You can use the contextual menu options, Filter, Filter, Including Children, Filter Others, and Filter Others, Not Including Children to filter out instances. Right-click on a function and select one of these options to filter statistics from the call summary. The Filter and Filter, Including Others options will filter out data from the selected function, while the Filter Others and Filter Others, Not Including Children options will filter out everything but the selected function. Functions filtered in this manner are not removed from the call summary, but they are grayed out and all statistics relating to this function are removed.

The xvid code used in the earlier figures again serves as the example, this time to illustrate the filtering behavior of the call summary. Right-clicking on the dec_init function box and choosing the Filter, Including Children menu option, updates the call summary to look like the one shown in Figure 9.4.

Figure 9.4. Filter, Including Children

Filter, Including Children

Notice that the statistics from both dec_init and its subordinate links are removed, and the call summary grays out the function boxes for dec_init and decoder_create. The total number of links in the primary function, xvid_decore, is reduced by one.

Right-clicking on a function and selecting the Filter menu command only removes the selected function. It does not filter out subordinate functions. Right-clicking on dec_init and choosing the Filter menu option updates the call summary to look like the one shown in Figure 9.5:

Figure 9.5. A single filter

A single filter

To remove all filters from the call summary use the button located on the far left side of the toolbar. If there are any active filters, the call summary changes the appearance of this button and highlights it in red.

Copyright © 2007- 2009 ARM Limited. All rights reserved.ARM DUI 0414D