5.3   Viewing Context Information

The Task Pop-Up Menu

Figure 5-5 shows the task pop-up menu. Right-click on any task name to open it. This menu allows you to specify which tasks are displayed on the view graph. You can hide tasks one-by-one or you can hide all tasks and then use the Expose submenu to show the ones you want to see.

In addition, selecting Information brings up the Context State Summary dialog box (see Figure 5-6). Selecting Attributes brings up the Context Attributes dialog box (see Figure 5-13). This dialog box shows a complete list of task names, task IDs, and CPU numbers, and allows you to select multiple tasks to show or hide on the display.    

Context State Information

Bring up the Context State Information window (see Figure 5-4) by selecting Context State in the event pop-up menu. The time and context are those closest to the point where you clicked to bring up the pop-up menu. The window also tells you the state of the task, when it entered that state, and how long it remained in that state.

Context State Summary

Bring up the Context State Summary window (see Figure 5-6) by selecting Information from the task pop-up menu. The context name and ID are given for the context you clicked nearest to. The initial and final times specify an interval, and the main window displays a series of statistics about the context during that interval. You can change the interval over which statistics are calculated by selecting Whole Log, Selection, or Screen Width from the combo box and then clicking Recalculate. (You must select an interval by clicking and dragging before bringing up the Context State Summary window, or the Selection interval will be the same as the Screen Width.)

The main statistics displayed are the number of times the context entered each state and the maximum, minimum, average, and total time it spent in each state. Dismiss the window by clicking Close.