PROF(1) PROF(1) NAME prof - display profile data SYNOPSIS prof [ option ] ... [ a.out [ mon.out ... ] ] DESCRIPTION Prof interprets files produced by monitor(3) or the -p option of cc, f77, or pascal(1). The symbol table in the named object file (`a.out' by default) is read and corre- lated with the profile file (`mon.out' by default). For each external symbol, the percentage of time spent executing between that symbol and the next is printed (in decreasing order), together with the number of times that routine was called and the number of milliseconds per call. If more than one profile file is specified, the output represents the sum of the profiles. Call counts are tallied for subroutines compiled under option -p, which also causes a profile file to be produced automatically. Options are: -a report all symbols, not just external symbols. -l sort the output by symbol value -n sort the output by number of calls -s produce a summary profile file in mon.sum -v -low -high produce a graphic profile on the standard output for display by the plot(1) filters; optional numbers low and high, by default 0 and 100, select a percentage of the profile to be plotted -z include routines with zero usage in the output FILES mon.out for profile a.out for namelist mon.sum for summary profile SEE ALSO monitor(3), profil(2), cc(1), plot(1) BUGS Beware of quantization errors. PROF(1) PROF(1) Prof is confused by f77 which puts the entry points at the bottom of subroutines and functions.