NextPrevUpTopContentsIndex

profiler-tree-from-function

Function
Summary

Prints a call tree of profiled code below a given function.

Package

hcl

Signature

profiler-tree-from-function function-name &optional max-depth

Arguments

function-name

A symbol naming a function.

max-depth

A number or nil .

Description

The function profiler-tree-from-function prints a tree with root function-name whose children are the callees of function-name and their callees.

profiler-tree-from-function 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.

In both cases the counts of profile calls is the total counts of the calls to function-name . Note that the percentages (the number in parentheses) are percentages from the total number of profile calls, rather than from the numbers of calls to function-name .

If max-depth is a number it limits the depth of tree that is printed to that value. The default value of max-depth is nil , meaning no limit on the depth that is printed.

See also

profile
start-profiling
stop-profiling


LispWorks Reference Manual - 12 Mar 2008

NextPrevUpTopContentsIndex