]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - share/doc/psd/18.gprof/abstract.me
Update edk2 headers to stable202005
[FreeBSD/FreeBSD.git] / share / doc / psd / 18.gprof / abstract.me
1 .\" Copyright (c) 1982, 1993
2 .\"     The Regents of the University of California.  All rights reserved.
3 .\"
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
6 .\" are met:
7 .\" 1. Redistributions of source code must retain the above copyright
8 .\"    notice, this list of conditions and the following disclaimer.
9 .\" 2. Redistributions in binary form must reproduce the above copyright
10 .\"    notice, this list of conditions and the following disclaimer in the
11 .\"    documentation and/or other materials provided with the distribution.
12 .\" 3. Neither the name of the University nor the names of its contributors
13 .\"    may be used to endorse or promote products derived from this software
14 .\"    without specific prior written permission.
15 .\"
16 .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
17 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19 .\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
20 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26 .\" SUCH DAMAGE.
27 .\"
28 .\"     @(#)abstract.me 8.1 (Berkeley) 6/8/93
29 .\"
30 .sp 1
31 \fB\s+2gprof: a Call Graph Execution Profiler\s-2\fP\**
32 .(f
33 \**This work was supported by grant MCS80-05144
34 from the National Science Foundation.
35 .)f
36 .sp 1
37 by
38 \fISusan L. Graham\fP
39 \fIPeter B. Kessler\fP
40 \fIMarshall K. McKusick\fP
41 .sp 1
42 Computer Science Division
43 Electrical Engineering and Computer Science Department
44 University of California, Berkeley
45 Berkeley, California 94720
46 .ce 0
47 .sp 1
48 .sp 0.5i
49 .sh 0 "Abstract"
50 .pp
51 Large complex programs are composed of many small routines
52 that implement abstractions for the routines that call them.
53 To be useful, an execution profiler must attribute
54 execution time in a way that is significant for the 
55 logical structure of a program
56 as well as for its textual decomposition.
57 This data must then be displayed to the user
58 in a convenient and informative way.
59 The \fBgprof\fP profiler 
60 accounts for the running time of called routines
61 in the running time of the routines that call them.
62 The design and use of this profiler is described.