The filtering facility lets you select different views of the collected messaging data. You can undo and redo the filters using the filtering controls in either the MPI Chart Controls tab or the MPI Timeline Controls tab.
The first control filters the data by removing everything that is not currently in view.
The second control is the Filter Undo button which provides an associated drop down list for removing filters. Clicking this button removes the last filter applied. Clicking the down arrow presents a list of the filters applied, in the order they were applied, with the most recent at the top of the list. When you select a filter in this list, the selected filter and all filters above it on the list are removed.
The third control is the Filter Redo button, and it also has an associated drop down list for reapplying filters. Clicking the button reapplies the last filter that you removed. Clicking the down arrow opens a list of all the filters that have been removed, in the order in which they were removed. When you select a filter in this list, the selected filter and all filters above it on the list are reapplied.
You can redo and undo the filters by using the arrows, similar to going backward and forward in a web browser. You can even remove and apply more than one filter in one click by using the down arrows next to the filter buttons.
The following steps explain how to use a filter to focus on the steady state portion of the program by filtering out the MPI_Init and MPI_Finalize functions.
On the timeline, drag the mouse horizontally to select a region such that MPI_Init and MPI_Finalize are no longer visible. In the example below, drag from t=3.93 to 4.03.
Click the Filter button in the MPI Timeline Controls tab.
It may look line nothing happened because the filtering is not evident until you change your view by zooming out or by looking at a chart.
Click the Zoom Undo button to go back out to the previous zoom.
The display now shows white areas in place of the MPI_Init and MPI_Finalize functions. White areas indicate that there is no MPI data collected for that area or the data has been filtered out.
Click the Filter Undo drop down arrow to reveal a list of applied filters.
This list lets you choose which filters to remove. It works like a stack: if you select No filters applied, everything on top of it will be taken off, which means there will be no filters applied.
Select No filters applied from the Filter Undo list. The timeline should now look similar to the following.
Restore the previous filter using Filter Redo.
Before moving on to the next section, verify that MPI_Init and MPI_Finalize are filtered out and white areas are displayed as before.