xref: /illumos-gate/usr/src/cmd/sgs/gprof/common/gprof.callg.blurb (revision 948f2876ce2a3010558f4f6937e16086ebcd36f2)
1call graph profile:
2          The sum of self and descendents is the major sort
3          for this listing.
4
5          function entries:
6
7index     the index of the function in the call graph
8          listing, as an aid to locating it (see below).
9
10%time     the percentage of the total time of the program
11          accounted for by this function and its
12          descendents.
13
14self      the number of seconds spent in this function
15          itself.
16
17descendents
18          the number of seconds spent in the descendents of
19          this function on behalf of this function.
20
21called    the number of times this function is called (other
22          than recursive calls).
23
24self      the number of times this function calls itself
25          recursively.
26
27name      the name of the function, with an indication of
28          its membership in a cycle, if any.
29
30index     the index of the function in the call graph
31          listing, as an aid to locating it.
32
33
34
35          parent listings:
36
37self*     the number of seconds of this function's self time
38          which is due to calls from this parent.
39
40descendents*
41          the number of seconds of this function's
42          descendent time which is due to calls from this
43          parent.
44
45called**  the number of times this function is called by
46          this parent.  This is the numerator of the
47          fraction which divides up the function's time to
48          its parents.
49
50total*    the number of times this function was called by
51          all of its parents.  This is the denominator of
52          the propagation fraction.
53
54parents   the name of this parent, with an indication of the
55          parent's membership in a cycle, if any.
56
57index     the index of this parent in the call graph
58          listing, as an aid in locating it.
59
60
61
62          children listings:
63
64self*     the number of seconds of this child's self time
65          which is due to being called by this function.
66
67descendent*
68          the number of seconds of this child's descendent's
69          time which is due to being called by this
70          function.
71
72called**  the number of times this child is called by this
73          function.  This is the numerator of the
74          propagation fraction for this child.
75
76total*    the number of times this child is called by all
77          functions.  This is the denominator of the
78          propagation fraction.
79
80children  the name of this child, and an indication of its
81          membership in a cycle, if any.
82
83index     the index of this child in the call graph listing,
84          as an aid to locating it.
85
86
87
88          * these fields are omitted for parents (or
89          children) in the same cycle as the function.  If
90          the function (or child) is a member of a cycle,
91          the propagated times and propagation denominator
92          represent the self time and descendent time of the
93          cycle as a whole.
94
95          ** static-only parents and children are indicated
96          by a call count of 0.
97
98
99
100          cycle listings:
101          the cycle as a whole is listed with the same
102          fields as a function entry.  Below it are listed
103          the members of the cycle, and their contributions
104          to the time and call counts of the cycle.
105
106