Analyzing Program Performance With Sun WorkShop

Getting Hints and Editing Source Code

Clicking a loop in the main window (see Figure 3-1) does two things:

Figure 3-3 shows an xemacs editor window with a loop selected, and a hint window with an explanation of a compiler hint.

Figure 3-3 The Text Editor and Hints Windows

Graphic


Caution - Caution -

If you edit your source code, line numbers shown by LoopTool may become inconsistent with the source. You must save and recompile the edited source and then run LoopTool with the new executable, producing new loop information, for the line numbers to remain consistent.