Analyzing Program Performance With Sun WorkShop

Basic Concepts

LoopTool and LoopReport enable you to:

There are four basic steps for using LoopTool and LoopReport:

  1. Setting up environment variables

  2. Compiling the program with the options required to create a timing file for loop analysis

  3. Running the program to generate a timing file

  4. Invoke LoopTool or LoopReport on the timing file


    Note -

    The examples in this section use the Fortran (f77 and f90) compilers. The options shown (such as -xparallel, -Zlp) also work for C.