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

set-profiler-threshold Function

Summary

Sets the percentage threshold for symbols to be profiled in a subsequent run.

Package

hcl

Signature

set-profiler-threshold value => value

Arguments
value
A fixnum between 0 and 100.
Values
value
A fixnum between 0 and 100.
Description

The function set-profiler-threshold sets the value of *profiler-threshold* to value. This is the value below which symbols are not profiled in a repeated profiling run. After a profiling run, all the symbols being profiled have a percentage value for the amount of time they were on the top of the stack. If *profiler-threshold* is set to 40 then by running reset-profiler with argument :top all symbols which are found on the top of the stack less than forty percent of the time are removed from the list of those symbols considered for profiling.

set-profiler-threshold returns value.

Examples
(set-profiler-threshold 40)
See also

reset-profiler
profile
*profiler-threshold*


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