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

reset-profiler Function

Summary

Resets the profiler so that symbols below a given threshold are no longer profiled.

Package

hcl

Signature

reset-profiler &key according-to => nil

Arguments
according-to
Either :profile or :top.
Description

The function reset-profiler updates the list of symbols being profiled based on the results of the previous profiling run. reset-profiler runs down the list of symbols being profiled and removes any symbols whose appearance in the previous profiling run falls below the value *profiler-threshold*. In this way the number of symbols being considered by the profiler can be reduced to just those which are important.

according-to refers to which column of the profiling results that reset-profiler compares with *profiler-threshold*. The default is :profile.

Examples
(reset-profiler :according-to :top)
Notes

Reducing the number of symbols in the list of symbols to profile does not actually speed up the execution of the form being profiled, but does reduce the setting up time of the profiler and the size of the list of results.

See also

profile
*profiler-threshold*
print-profile-list
set-profiler-threshold


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