diff options
author | charnier <charnier@FreeBSD.org> | 2002-04-20 12:18:28 +0000 |
---|---|---|
committer | charnier <charnier@FreeBSD.org> | 2002-04-20 12:18:28 +0000 |
commit | ad8a79e6a5c75acf360e9310860387b68066c0b7 (patch) | |
tree | 9eb4b7d718b67229ee4b8e61e9cad466a5a36945 /usr.bin/gprof | |
parent | e2acd5cecf61f060255d467b8d38cd35f941fb1c (diff) | |
download | FreeBSD-src-ad8a79e6a5c75acf360e9310860387b68066c0b7.zip FreeBSD-src-ad8a79e6a5c75acf360e9310860387b68066c0b7.tar.gz |
Use `The .Nm utility'
Diffstat (limited to 'usr.bin/gprof')
-rw-r--r-- | usr.bin/gprof/gprof.1 | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/usr.bin/gprof/gprof.1 b/usr.bin/gprof/gprof.1 index 2390e11..ac3e155 100644 --- a/usr.bin/gprof/gprof.1 +++ b/usr.bin/gprof/gprof.1 @@ -43,8 +43,9 @@ .Op options .Op Ar a.out Op Ar a.out.gmon ... .Sh DESCRIPTION -.Nm Gprof -produces an execution profile of C, Pascal, or Fortran77 programs. +The +.Nm +utility 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 which is created by programs that are compiled with the @@ -69,8 +70,7 @@ compiler or linker you can use .Fl l Ns Ar c_p instead of .Fl l Ns Ar c . -.Nm Gprof -reads the given object file (the default is +Read the given object file (the default is .Pa a.out) and establishes the relation between its symbol table and the call graph profile. @@ -83,8 +83,9 @@ the .Nm output shows the sum of the profile information in the given profile files. .Pp -.Nm Gprof -calculates the amount of time spent in each routine. +The +.Nm +utility 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 of the cycle. |