NextPrevUpTopContentsIndex

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

One of two values -- :profile or :top . This refers to which column of the profiling results reset-profiler uses to determine which symbols to delete from *profile-symbol-list* . The default is :profile .

Values

reset-profiler returns nil .

Description

This function updates the list of symbols being profiled according to 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.

Example

(reset-profiler :according-to :top)

Notes

Reducing the number of symbols in profile-symbol-list 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 Reference Manual - 12 Mar 2008

NextPrevUpTopContentsIndex