1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License, Version 1.0 only 6 * (the "License"). You may not use this file except in compliance 7 * with the License. 8 * 9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 10 * or http://www.opensolaris.org/os/licensing. 11 * See the License for the specific language governing permissions 12 * and limitations under the License. 13 * 14 * When distributing Covered Code, include this CDDL HEADER in each 15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 16 * If applicable, add the following below this CDDL HEADER, with the 17 * fields enclosed by brackets "[]" replaced with your own identifying 18 * information: Portions Copyright [yyyy] [name of copyright owner] 19 * 20 * CDDL HEADER END 21 */ 22/* 23 * Copyright (c) 1993 by Sun Microsystems, Inc. 24 */ 25 26#pragma ident "%Z%%M% %I% %E% SMI" 27 28 29call graph profile: 30 The sum of self and descendents is the major sort 31 for this listing. 32 33 function entries: 34 35index the index of the function in the call graph 36 listing, as an aid to locating it (see below). 37 38%time the percentage of the total time of the program 39 accounted for by this function and its 40 descendents. 41 42self the number of seconds spent in this function 43 itself. 44 45descendents 46 the number of seconds spent in the descendents of 47 this function on behalf of this function. 48 49called the number of times this function is called (other 50 than recursive calls). 51 52self the number of times this function calls itself 53 recursively. 54 55name the name of the function, with an indication of 56 its membership in a cycle, if any. 57 58index the index of the function in the call graph 59 listing, as an aid to locating it. 60 61 62 63 parent listings: 64 65self* the number of seconds of this function's self time 66 which is due to calls from this parent. 67 68descendents* 69 the number of seconds of this function's 70 descendent time which is due to calls from this 71 parent. 72 73called** the number of times this function is called by 74 this parent. This is the numerator of the 75 fraction which divides up the function's time to 76 its parents. 77 78total* the number of times this function was called by 79 all of its parents. This is the denominator of 80 the propagation fraction. 81 82parents the name of this parent, with an indication of the 83 parent's membership in a cycle, if any. 84 85index the index of this parent in the call graph 86 listing, as an aid in locating it. 87 88 89 90 children listings: 91 92self* the number of seconds of this child's self time 93 which is due to being called by this function. 94 95descendent* 96 the number of seconds of this child's descendent's 97 time which is due to being called by this 98 function. 99 100called** the number of times this child is called by this 101 function. This is the numerator of the 102 propagation fraction for this child. 103 104total* the number of times this child is called by all 105 functions. This is the denominator of the 106 propagation fraction. 107 108children the name of this child, and an indication of its 109 membership in a cycle, if any. 110 111index the index of this child in the call graph listing, 112 as an aid to locating it. 113 114 115 116 * these fields are omitted for parents (or 117 children) in the same cycle as the function. If 118 the function (or child) is a member of a cycle, 119 the propagated times and propagation denominator 120 represent the self time and descendent time of the 121 cycle as a whole. 122 123 ** static-only parents and children are indicated 124 by a call count of 0. 125 126 127 128 cycle listings: 129 the cycle as a whole is listed with the same 130 fields as a function entry. Below it are listed 131 the members of the cycle, and their contributions 132 to the time and call counts of the cycle. 133 134