5.3. The Process Group Editor

The Process Group Editor is found at (Advanced->Process Aggregation. The Process Group Editor provides two functions. One is to select a process group (or function group in general) for process aggregation. The other is to create new groups beyond the ones that are provided by default. Group definitions are stored in the file .itarc in the user's home directory (for an English Microsoft* Windows* XP* installation this will be something like C:\Documents and Settings\%username%\.itarc). Refer to Section 5.10 for other ways to save, edit and load configuration information.

Figure 5-5. The Process Group Editor

To select a process group for aggregation (see Section 9.2 for an explanation of the concept of Aggregation) select the group by using the mouse or the cursor/arrow keys and press the Apply button or the OK button. Note that the dialog box only accepts a single, non-empty process group that contains each of its functions no more than once.

Figure 5-6. The Process Group Editor's context menu

Right-click an item in the editor to bring up a context menu with several entries.

The entry Undo (Ctrl-Z) allows to revert the last actions (del, cut, move, copy etc.).

The entry New Group creates a new group as a child of the clicked item. The entry Delete removes an item. This entry is disabled for items that originate of the trace file. Only user-created items are deleted.

The entry Rename (F2) allows to rename user-created items. The entry Find (Ctrl+F) opens the Find dialog box (see Section 5.11) and Find Next (F3) searches for the next match if a search was started before.

The entry Move Item(s) allows to move several selected siblings up or down relative to their unselected siblings via a submenu. It is much more convenient to use the keyboard shortcuts shown in the submenu instead of the menu itself.

The entry Select opens a submenu that allows conveniently selecting subsets of the tree under the clicked item. The entries provided distinguish between selecting processes, selecting process groups or both, and if the selection should include only the direct children or all descendants.

Another way of editing is to drag a group, a process, or the entire current selection and to drop it into a target group. This can result in groups that contain the same function twice or more. In the group hierarchy, such groups are accepted for storage but not for aggregation. Empty groups are deleted automatically when the dialog box is closed.

5.3.1. Comparison Mode

In comparison mode (see Chapter 6) the dialog is extended by a label and a combo box that allows to apply the chosen aggregation to the other trace file shown in the View. Basically using the option "If match found." will try to find a process group of the same name in the other file and choose it.

For many usage scenarios that allows to choose a new aggregation in comparison mode for both trace files at once.