All rights reserved. The Berkeley software License Agreement
specifies the terms and conditions for redistribution.
@(#)prof.1 6.1 (Berkeley) 04/29/85
In order for the number of calls to a routine to be tallied, the -p option of cc, f77 or pc must have been given when the file containing the routine was compiled. This option also arranges for the profile file to be produced automatically.
Options are:
-a all symbols are reported rather than just external symbols.
-l the output is sorted by symbol value.
-n the output is sorted by number of calls
-s a summary profile file is produced in mon.sum. This is really only useful when more than one profile file is specified.
-v all printing is suppressed and a graphic version of the profile is produced on the standard output for display by the plot (1) filters. When plotting, the numbers low and high, by default 0 and 100, may be given to cause a selected percentage of the profile to be plotted with accordingly higher resolution.
-z routines which have zero usage (as indicated by call counts and accumulated time) are nevertheless printed in the output.
a.out for namelist
mon.sum for summary profile
Is confused by f77 which puts the entry points at the bottom of subroutines and functions.