To profile your Lisp forms enter:
(profile <forms>)
This evaluates the forms as an implicit
progn
and prints the results, according to the parameters established by set-up-profiler.
Note:
you cannot use profile (or the graphical Profiler tool) after a call to start-profiling and before a call to stop-profiling with
print
t
, because the two profiling modes are incompatible.
LispWorks User Guide and Reference Manual - 21 Dec 2011