Before a profiling session can start, several parameters must be set, using the function set-up-profiler. If the profiler is invoked before any call to set-up-profiler, it calls set-up-profiler implicitly without any arguments. In many cases that is what you want anyway, and in these cases you do not need to call set-up-profiler, but in some cases you will want to change something.
There are four main areas to consider: the symbols to be profiled, the time interval between samples, the kind of profiling required, and the format of the output.
:packages
and :symbols
(and :kw-contexts
for KnowledgeWorks) to restrict the set of symbols that will be profiled.The time the Lisp process is actually executing plus the time that the system is executing on behalf of the process. This is called profile time .
Just the time that the process is actually executing. This is called virtual time .
The actual elapsed time, called real time .
:tree
), or just the columnar report (style :list
). You can restrict the data shown in several ways, helping you to focus on the slowest parts of your program.LispWorks User Guide and Reference Manual - 20 Sep 2017