xref: /openbsd/usr.bin/gprof/gprof.callg (revision 47b5e029)
1
2call graph profile:
3          The sum of self and descendents is the major sort for this listing.
4
5    function entries:
6
7index     the index of the function in the call graph listing, as an aid to
8          locating it (see below).
9%time     the percentage of the total time of the program accounted for by this
10          function and its descendents.
11self      the number of seconds spent in this function itself.
12descendents
13          the number of seconds spent in the descendents of this function on
14          behalf of this function.
15called    the number of times this function is called (other than recursive
16          calls).
17self      the number of times this function calls itself recursively.
18name      the name of the function, with an indication of its membership in
19          a cycle, if any.
20index     the index in the call graph listing, as an aid to locating it.
21
22    parent listings:
23
24self*     the number of seconds of this function's self time which is due to
25          calls from this parent.
26descendents*
27          the number of seconds of this function's descendent time which is due
28          to calls from this parent.
29called**  the number of times this function is called by this parent.  This is
30          the numerator of the fraction which divides up the function's time to
31          its parents.
32total*    the number of times this function was called by all of its parents.
33          This is the denominator of the propagation fraction.
34parents   the name of this parent, with an indication of the parent's
35          membership in a cycle, if any.
36index     the index in the call graph listing, as an aid in locating it.
37
38    children listings:
39
40self*     the number of seconds of this child's self time which is due to being
41          called by this function.
42descendent*
43          the number of seconds of this child's descendent's time which is due
44          to being called by this function.
45called**  the number of times this child is called by this function.  This is
46          the numerator of the propagation fraction for this child.
47total*    the number of times this child is called by all functions.  This is
48          the denominator of the propagation fraction.
49children  the name of this child, and an indication of its membership in a
50          cycle, if any.
51index     the index in the call graph listing, as an aid to locating it.
52
53 *  these fields are omitted for parents (or children) in the same cycle as the
54    function.  If the function (or child) is a member of a cycle, the propagated
55    times and propagation denominator represent the self time and descendent
56    time of the cycle as a whole.
57
58 ** static-only parents and children are indicated by a call count of 0.
59
60    cycle listings:
61          the cycle as a whole is listed with the same fields as a function
62          entry.  Below it are listed the members of the cycle, and their
63          contributions to the time and call counts of the cycle.
64
65