=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/gprof/gprof.1,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- src/usr.bin/gprof/gprof.1 1998/09/07 16:44:33 1.8 +++ src/usr.bin/gprof/gprof.1 1998/09/26 19:54:50 1.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: gprof.1,v 1.8 1998/09/07 16:44:33 aaron Exp $ +.\" $OpenBSD: gprof.1,v 1.9 1998/09/26 19:54:50 aaron Exp $ .\" $NetBSD: gprof.1,v 1.6 1995/11/21 22:24:55 jtc Exp $ .\" .\" Copyright (c) 1983, 1990, 1993 @@ -45,7 +45,7 @@ .Op options .Op Ar a.out Op Ar gmon.out ... .Sh DESCRIPTION -.Nm Gprof +.Nm gprof produces an execution profile of C, Pascal, or Fortran77 programs. The effect of called routines is incorporated in the profile of each caller. The profile data is taken from the call graph profile file @@ -62,7 +62,7 @@ .Fl pg option also links in versions of the library routines that are compiled for profiling. -.Nm Gprof +.Nm gprof reads the given object file (the default is .Pa a.out) and establishes the relation between its symbol table @@ -73,7 +73,7 @@ .Nm gprof output shows the sum of the profile information in the given profile files. .Pp -.Nm Gprof +.Nm gprof calculates the amount of time spent in each routine. Next, these times are propagated along the edges of the call graph. Cycles are discovered, and calls into a cycle are made to share the time @@ -203,7 +203,9 @@ is produced that represents the sum of the profile information in all the specified profile files. This summary profile file may be given to later -executions of gprof (probably also with a +executions of +.Nm gprof +(probably also with a .Fl s ) to accumulate profile data across several runs of an .Pa a.out @@ -229,17 +231,17 @@ .Sh FILES .Bl -tag -width gmon.sum -compact .It Pa a.out -The namelist and text space. +namelist and text space .It Pa gmon.out -Dynamic call graph and profile. +dynamic call graph and profile .It Pa gmon.sum -Summarized dynamic call graph and profile. +summarized dynamic call graph and profile .El .Sh SEE ALSO -.Xr moncontrol 3 , -.Xr profil 2 , .Xr cc 1 , -.Xr prof 1 +.Xr prof 1 , +.Xr profil 2 , +.Xr moncontrol 3 .Rs .%T "An Execution Profiler for Modular Programs" .%A S. Graham