The macro profile
starts the profiler, evaluates forms, stops the profiler, reports the results of the profiling, and then returns the results of the last form in forms.
The profiler is described in The Profiler.
profile
profiles all processes. For better control of this, use start-profiling or do-profiling.
If profile
is invoked before set-up-profiler was ever called, it calls set-up-profiler implicitly without arguments.
profile
cannot be called while another profiling operation is running, either by a parallel call to profile
or start-profiling.
start-profiling
stop-profiling
set-up-profiler
The Profiler
Guidance for control of the memory management system
LispWorks User Guide and Reference Manual - 20 Sep 2017