Next Prev Up Top Contents Index

19.3 Steps involved in profiling code

Each time you profile code, you first need to set up the profiler to ensure that you find out the sort of information you are interested in. This section gives you details about how to go about this.

The steps that you need to take when profiling code are as follows:

  1. Choose which functions you want to profile.
  2. Specify the code that you want to run while profiling, and the package that you want to run the code in.
  3. Perform the profile.

Note: You do not have to adhere strictly to the sequence shown above, but this is the order that you should usually follow.

See the chapter on the profiler in the LispWorks User Guide for information on how to set the time interval at which you want the Lisp process to be interrupted.

19.3.1 Choosing the functions to profile

19.3.2 Choosing the time interval

19.3.3 Specifying the code to run while profiling

19.3.4 Performing the profile


Common LispWorks User Guide - 14 Dec 2001

Next Prev Up Top Contents Index