Next Previous Up Top Contents Index

10 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

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

Values

reset-profiler returnsnil.
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 inprofile-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
print-profile-list
set-profiler-threshold


LispWorks Reference Manual - 15 Oct 1998

Next Previous Up Top Contents Index

Generated with Harlequin WebMaker