Home | History | Annotate | Line # | Download | only in gprof
      1       1.1     skrll /* ==> Do not modify this file!!  It is created automatically
      2       1.1     skrll    from fsf_callg_bl.m using the gen-c-prog.awk script.  <== */
      3       1.1     skrll 
      4       1.1     skrll #include <stdio.h>
      5       1.1     skrll #include "ansidecl.h"
      6       1.1     skrll 
      7       1.1     skrll void  fsf_callg_blurb (FILE *);
      8       1.1     skrll void
      9   1.1.1.4  christos fsf_callg_blurb (FILE *file)
     10       1.1     skrll {
     11       1.1     skrll   fputs ("\n", file);
     12       1.1     skrll   fputs (" This table describes the call tree of the program, and was sorted by\n", file);
     13       1.1     skrll   fputs (" the total amount of time spent in each function and its children.\n", file);
     14       1.1     skrll   fputs ("\n", file);
     15       1.1     skrll   fputs (" Each entry in this table consists of several lines.  The line with the\n", file);
     16       1.1     skrll   fputs (" index number at the left hand margin lists the current function.\n", file);
     17       1.1     skrll   fputs (" The lines above it list the functions that called this function,\n", file);
     18       1.1     skrll   fputs (" and the lines below it list the functions this one called.\n", file);
     19       1.1     skrll   fputs (" This line lists:\n", file);
     20       1.1     skrll   fputs ("     index	A unique number given to each element of the table.\n", file);
     21       1.1     skrll   fputs ("		Index numbers are sorted numerically.\n", file);
     22       1.1     skrll   fputs ("		The index number is printed next to every function name so\n", file);
     23   1.1.1.2  christos   fputs ("		it is easier to look up where the function is in the table.\n", file);
     24       1.1     skrll   fputs ("\n", file);
     25       1.1     skrll   fputs ("     % time	This is the percentage of the `total' time that was spent\n", file);
     26       1.1     skrll   fputs ("		in this function and its children.  Note that due to\n", file);
     27       1.1     skrll   fputs ("		different viewpoints, functions excluded by options, etc,\n", file);
     28       1.1     skrll   fputs ("		these numbers will NOT add up to 100%.\n", file);
     29       1.1     skrll   fputs ("\n", file);
     30       1.1     skrll   fputs ("     self	This is the total amount of time spent in this function.\n", file);
     31       1.1     skrll   fputs ("\n", file);
     32       1.1     skrll   fputs ("     children	This is the total amount of time propagated into this\n", file);
     33       1.1     skrll   fputs ("		function by its children.\n", file);
     34       1.1     skrll   fputs ("\n", file);
     35       1.1     skrll   fputs ("     called	This is the number of times the function was called.\n", file);
     36       1.1     skrll   fputs ("		If the function called itself recursively, the number\n", file);
     37       1.1     skrll   fputs ("		only includes non-recursive calls, and is followed by\n", file);
     38       1.1     skrll   fputs ("		a `+' and the number of recursive calls.\n", file);
     39       1.1     skrll   fputs ("\n", file);
     40       1.1     skrll   fputs ("     name	The name of the current function.  The index number is\n", file);
     41       1.1     skrll   fputs ("		printed after it.  If the function is a member of a\n", file);
     42       1.1     skrll   fputs ("		cycle, the cycle number is printed between the\n", file);
     43       1.1     skrll   fputs ("		function's name and the index number.\n", file);
     44       1.1     skrll   fputs ("\n", file);
     45       1.1     skrll   fputs ("\n", file);
     46       1.1     skrll   fputs (" For the function's parents, the fields have the following meanings:\n", file);
     47       1.1     skrll   fputs ("\n", file);
     48       1.1     skrll   fputs ("     self	This is the amount of time that was propagated directly\n", file);
     49       1.1     skrll   fputs ("		from the function into this parent.\n", file);
     50       1.1     skrll   fputs ("\n", file);
     51       1.1     skrll   fputs ("     children	This is the amount of time that was propagated from\n", file);
     52       1.1     skrll   fputs ("		the function's children into this parent.\n", file);
     53       1.1     skrll   fputs ("\n", file);
     54       1.1     skrll   fputs ("     called	This is the number of times this parent called the\n", file);
     55       1.1     skrll   fputs ("		function `/' the total number of times the function\n", file);
     56       1.1     skrll   fputs ("		was called.  Recursive calls to the function are not\n", file);
     57       1.1     skrll   fputs ("		included in the number after the `/'.\n", file);
     58       1.1     skrll   fputs ("\n", file);
     59       1.1     skrll   fputs ("     name	This is the name of the parent.  The parent's index\n", file);
     60       1.1     skrll   fputs ("		number is printed after it.  If the parent is a\n", file);
     61       1.1     skrll   fputs ("		member of a cycle, the cycle number is printed between\n", file);
     62       1.1     skrll   fputs ("		the name and the index number.\n", file);
     63       1.1     skrll   fputs ("\n", file);
     64       1.1     skrll   fputs (" If the parents of the function cannot be determined, the word\n", file);
     65       1.1     skrll   fputs (" `<spontaneous>' is printed in the `name' field, and all the other\n", file);
     66       1.1     skrll   fputs (" fields are blank.\n", file);
     67       1.1     skrll   fputs ("\n", file);
     68       1.1     skrll   fputs (" For the function's children, the fields have the following meanings:\n", file);
     69       1.1     skrll   fputs ("\n", file);
     70       1.1     skrll   fputs ("     self	This is the amount of time that was propagated directly\n", file);
     71       1.1     skrll   fputs ("		from the child into the function.\n", file);
     72       1.1     skrll   fputs ("\n", file);
     73       1.1     skrll   fputs ("     children	This is the amount of time that was propagated from the\n", file);
     74       1.1     skrll   fputs ("		child's children to the function.\n", file);
     75       1.1     skrll   fputs ("\n", file);
     76       1.1     skrll   fputs ("     called	This is the number of times the function called\n", file);
     77       1.1     skrll   fputs ("		this child `/' the total number of times the child\n", file);
     78       1.1     skrll   fputs ("		was called.  Recursive calls by the child are not\n", file);
     79       1.1     skrll   fputs ("		listed in the number after the `/'.\n", file);
     80       1.1     skrll   fputs ("\n", file);
     81       1.1     skrll   fputs ("     name	This is the name of the child.  The child's index\n", file);
     82       1.1     skrll   fputs ("		number is printed after it.  If the child is a\n", file);
     83       1.1     skrll   fputs ("		member of a cycle, the cycle number is printed\n", file);
     84       1.1     skrll   fputs ("		between the name and the index number.\n", file);
     85       1.1     skrll   fputs ("\n", file);
     86       1.1     skrll   fputs (" If there are any cycles (circles) in the call graph, there is an\n", file);
     87       1.1     skrll   fputs (" entry for the cycle-as-a-whole.  This entry shows who called the\n", file);
     88       1.1     skrll   fputs (" cycle (as parents) and the members of the cycle (as children.)\n", file);
     89       1.1     skrll   fputs (" The `+' recursive calls entry shows the number of function calls that\n", file);
     90       1.1     skrll   fputs (" were internal to the cycle, and the calls entry for each member shows,\n", file);
     91       1.1     skrll   fputs (" for that member, how many times it was called from other members of\n", file);
     92       1.1     skrll   fputs (" the cycle.\n", file);
     93   1.1.1.3  christos   fputs ("\n", file);
     95       1.1     skrll   fputs ("Copyright (C) 2012-2026 Free Software Foundation, Inc.\n", file);
     96   1.1.1.3  christos   fputs ("\n", file);
     97   1.1.1.3  christos   fputs ("Copying and distribution of this file, with or without modification,\n", file);
     98   1.1.1.3  christos   fputs ("are permitted in any medium without royalty provided the copyright\n", file);
     99       1.1     skrll   fputs ("notice and this notice are preserved.\n", file);
    100                     }
    101