Code which is to be executed during profiling should be entered in the Code to Profile area. This is actually an editor window, and so you can use all the keyboard commands which can be used in the editor.
Code may be placed in this window in three ways:
Specify the package in which you want to run the code to be profiled using the Package box in the
General
tab of the Profiler Preferences. To see this, choose
Works > Tools > Preferences...
or click
, and select
Profiler
in the list on the left side of the dialog. If you are unsure, full details on how to do this can be found in Specifying a package. Like all other tools in the LispWorks IDE, the Profiler can have a particular package associated with it; the default package is
CL-USER
.
LispWorks IDE User Guide (Unix version) - 25 Nov 2011