Fortran User's Guide

Profiling Options

The following options enable runtime profiling in the compiled program. Depending on the options, profiling is done at either the basic block, procedure, or loop level.

Table 3-10 Profiling Options 

Action--Enable Profiling by: 

Option 

Details 

Basic block (using tcov, old style).

-a

" -a"

Procedure (using gprof).

-pg

"-pg"

Procedure (using prof).

-p

"-p"

Loops with parallelization (SPARC).

-loopinfo

"-loopinfo"

Basic block (using tcov, new style).

-xprofile=tcov

"-xprofile=p"