.\"
.\" @(#)gprof.1 6.6 (Berkeley) 7/24/90
.\"
-.TH GPROF 1 "July 24, 1990"
+.TH GPROF 1 "January 29, 1993"
.SH NAME
gprof \- display call graph profile data
.SH SYNOPSIS
-.B gprof
-.RB "[\|" a.out "\|]"
-.B
-gmon.out ...
+.B gprof [ \-abcsz ] [ \-e|\-E
+.I name
+.B ] [ \-f|\-F
+.I name
+.B ]
+.B [ \-k
+.I fromname toname
+.B ] [
+.I objfile
+.B [
+.I gmon.out
+.B ]
+.B ]
.SH DESCRIPTION
.B gprof
produces an execution profile of C, Pascal, or Fortran77 programs.
of the cycle.
The first listing shows the functions
sorted according to the time they represent
-including the time of their call graph descendents.
+including the time of their call graph descendants.
Below each function entry is shown its (direct) call graph children,
and how their times are propagated to this function.
A similar display above the function shows how this function's time and the
-time of its descendents is propagated to its (direct) call graph parents.
+time of its descendants is propagated to its (direct) call graph parents.
.PP
Cycles are also shown, with an entry for the cycle as a whole and
a listing of the members of the cycle and their contributions to the
similar to that provided by
.BR prof ( 1 ) .
This listing gives the total execution times, the call counts,
-the time in milleseconds the call spent in the routine itself, and
-the time in milleseconds the call spent in the routine itself including
-its descendents.
+the time in milliseconds the call spent in the routine itself, and
+the time in milliseconds the call spent in the routine itself including
+its descendants.
.PP
Finally, an index of the function names is provided.
.SH OPTIONS
If this option is given, all relevant information about the static function
(e.g., time samples, calls to other functions, calls from other functions)
belongs to the function loaded just before the static function in the
-\&`a.out' file.
+\&`objfile' file.
.TP
.B \-b
suppresses the printing of a description of each field in the profile.
This summary profile file may be given to later
executions of gprof (probably also with a
.BR \-s )
-to accumulate profile data across several runs of an `a.out' file.
+to accumulate profile data across several runs of an `objfile' file.
+.TP
+.B -v
+prints the version number for gprof, and then exits.
.TP
.B -z
displays routines that have zero usage (as shown by call counts