All Manuals > LispWorks® User Guide and Reference Manual > 37 The HCL Package

profiler-tree-to-allocation-functions Function

Summary

Prints a reversed call tree of profiled code below allocation functions.

Package

hcl

Signature

profiler-tree-to-allocation-functions &optional max-depth

Arguments
max-depth
A number or nil.
Description

The function profiler-tree-to-allocation-functions prints a tree of function calls where the roots are the various allocation functions of LispWorks, and the children are their callers. The tree is reversed, with callers appearing under their callees.

profiler-tree-to-allocation-functions uses the data from the previous profile session with style :tree. A profile session ends at the end of profile or when stop-profiling is called or when the Profiler tool finishes profiling.

max-depth limits the depth of tree that is printed. If max-depth is nil then there is no limit on the depth that is printed. The default value of max-depth is 12.

See also

profiler-tree-to-function
profile
stop-profiling


LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:35