summaryrefslogtreecommitdiff
path: root/gprof/flat_bl.c
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2012-05-22 10:14:26 +0100
committerRichard Maw <richard.maw@codethink.co.uk>2012-05-22 10:14:26 +0100
commitd77a90baa62121bf51834146369e7b316f8bcce8 (patch)
tree53a724174571588f41250f8d1155867e738d4ed8 /gprof/flat_bl.c
parent1070d4f3172a880fef86cbaec21aef167afee285 (diff)
downloadbinutils-redhat-baserock/bootstrap-pass2.tar.gz
binutils: add files that would be in a releasebaserock/bootstrap-pass2
To reduce the dependencies, bison and flex output has been added, along with documentation, as it was easier to run `make distclean` than dig through makefiles to find the files that need to be flexed
Diffstat (limited to 'gprof/flat_bl.c')
-rw-r--r--gprof/flat_bl.c39
1 files changed, 39 insertions, 0 deletions
diff --git a/gprof/flat_bl.c b/gprof/flat_bl.c
new file mode 100644
index 0000000000..8bfe80b91e
--- /dev/null
+++ b/gprof/flat_bl.c
@@ -0,0 +1,39 @@
+/* ==> Do not modify this file!! It is created automatically
+ from flat_bl.m using the gen-c-prog.awk script. <== */
+
+#include <stdio.h>
+#include "ansidecl.h"
+
+void flat_blurb (FILE *);
+void
+flat_blurb (file)
+ FILE *file;
+{
+ fputs ("\n", file);
+ fputs (" % the percentage of the total running time of the\n", file);
+ fputs ("time program used by this function.\n", file);
+ fputs ("\n", file);
+ fputs ("cumulative a running sum of the number of seconds accounted\n", file);
+ fputs (" seconds for by this function and those listed above it.\n", file);
+ fputs ("\n", file);
+ fputs (" self the number of seconds accounted for by this\n", file);
+ fputs ("seconds function alone. This is the major sort for this\n", file);
+ fputs (" listing.\n", file);
+ fputs ("\n", file);
+ fputs ("calls the number of times this function was invoked, if\n", file);
+ fputs (" this function is profiled, else blank.\n", file);
+ fputs (" \n", file);
+ fputs (" self the average number of milliseconds spent in this\n", file);
+ fputs ("ms/call function per call, if this function is profiled,\n", file);
+ fputs (" else blank.\n", file);
+ fputs ("\n", file);
+ fputs (" total the average number of milliseconds spent in this\n", file);
+ fputs ("ms/call function and its descendents per call, if this \n", file);
+ fputs (" function is profiled, else blank.\n", file);
+ fputs ("\n", file);
+ fputs ("name the name of the function. This is the minor sort\n", file);
+ fputs (" for this listing. The index shows the location of\n", file);
+ fputs (" the function in the gprof listing. If the index is\n", file);
+ fputs (" in parenthesis it shows where it would appear in\n", file);
+ fputs (" the gprof listing if it were to be printed.\n", file);
+}