diff options
author | Andy Wingo <wingo@pobox.com> | 2016-01-07 16:23:26 +0100 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2016-01-11 21:56:48 +0100 |
commit | cf2fadf603b7fa39269d3590ae99dca162c9350d (patch) | |
tree | 5b047c6828635d6ef6932afbfe950fbd32dadfa6 /libguile/guile.c | |
parent | 6d7c09c8a9900794a855b9c69c57c3d1736506ed (diff) | |
download | guile-cf2fadf603b7fa39269d3590ae99dca162c9350d.tar.gz |
statprof: Add tree #:display-style.
* module/statprof.scm (statprof-display/flat): Rename from
statprof-display. Use real format; we have it.
(statprof-display-anomalies): Likewise use real format.
(procedure=?): Remove unused function.
(collect-cycles): New helper.
(statprof-fetch-call-tree): Fix to root the trees correctly -- it was
interpreting them in the wrong order. Detect cycles so that it's not
so terrible. Use precise locations for source locations. Probably
need to add an option to go back to the per-function behavior.
(statprof-display/tree): New helper, uses statprof-fetch-call-tree to
display a profile in a nested tree.
(statprof-display): Add #:style argument, which can be `flat',
`anomalies', or `tree'.
(statprof): Add #:display-style argument, proxying to #:style,
defaulting to 'flat.
Diffstat (limited to 'libguile/guile.c')
0 files changed, 0 insertions, 0 deletions