diff options
author | Per Bothner <per@bothner.com> | 1992-10-06 00:57:18 +0000 |
---|---|---|
committer | Per Bothner <per@bothner.com> | 1992-10-06 00:57:18 +0000 |
commit | 3d3e494e4c586428ffe396ef58b6c5a4789edc3c (patch) | |
tree | ca6ca94c37be2372930cae56fba65f26442e640f /gprof/flat_bl.m | |
parent | c116445e02813ac7b20a6c631a3c387e76643ad5 (diff) | |
download | gdb-3d3e494e4c586428ffe396ef58b6c5a4789edc3c.zip gdb-3d3e494e4c586428ffe396ef58b6c5a4789edc3c.tar.gz gdb-3d3e494e4c586428ffe396ef58b6c5a4789edc3c.tar.bz2 |
* gen-c-prog.awk: New awk script, lightly changed from
previously deleted make-c-prog.awk. Converts a text file
to a c function that prints that text.
* flat_bl.m, fsf_callg_bl.m, bsd_callg_bl.m: New files.
Inputs to gen-c-prog.awk, containing text describing
gprof output.
* blurbs.c: Removed. Use *_bl.c instead.
* Makefile.in: Use gen-cprog.awk to generate *_bl.c files
from *_bl.m files. Also, improve *clean rules.
* printgprof.c (printgprof): Usw new function names from *_bl.c.
Diffstat (limited to 'gprof/flat_bl.m')
-rw-r--r-- | gprof/flat_bl.m | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gprof/flat_bl.m b/gprof/flat_bl.m new file mode 100644 index 0000000..6fc3340 --- /dev/null +++ b/gprof/flat_bl.m @@ -0,0 +1,28 @@ + + % the percentage of the total running time of the +time program used by this function. + +cumulative a running sum of the number of seconds accounted + seconds for by this function and those listed above it. + + self the number of seconds accounted for by this +seconds function alone. This is the major sort for this + listing. + +calls the number of times this function was invoked, if + this function is profiled, else blank. + + self the average number of milliseconds spent in this +ms/call function per call, if this function is profiled, + else blank. + + total the average number of milliseconds spent in this +ms/call function and its descendents per call, if this + function is profiled, else blank. + +name the name of the function. This is the minor sort + for this listing. The index shows the location of + the function in the gprof listing. If the index is + in parenthesis it shows where it would appear in + the gprof listing if it were to be printed. + |