Starts collecting profiling information.
or a list of
starts collecting profiling information.
any profiling information collected so far is discarded. The default value of
is supplied, the set of processes that will be profiled is set as if by calling:
(set-process-profiling :set :processes
Otherwise, the set of processes remains unchanged, so is controlled by any previous calls to set-process-profiling.
Only processes that are active are profiled.
can be repeatedly called without intervening calls to stop-profiling, for example to change the profiled processes.
cannot be used while profile is used or while the Profiler tool is profiling (on any thread). Between the call to
and the next call to stop-profiling with
(or omitted), profile and the Profiler tool cannot be used.
Various parameters which are set by set-up-profiler control the behavior of the profiler. See the documentation for set-up-profiler.
The following sequence of calls to
can be used to profile only interesting work and print the results:
Start profiling the current process:
(start-profiling :processes :current)
Temporarily suspend profiling:
(stop-profiling :print nil)
(start-profiling :initialize nil)
LispWorks Reference Manual - 12 Mar 2008