MacroPackage: profToCDocOverviewCGDocRelNotesIndexPermutedIndex
Allegro CL version 6.2
Unrevised from 6.1

with-sampling

Arguments: (&key verbose) &body body

Calling this macro is equivalent to the following code sequence, with the exception that the macro returns the result of the body.

(start-sampling)
  <body>
  (stop-sampling)

The verbose argument, if true (default is nil), causes status messages to be printed to *standard-output* during the profile.

The body argument must be one or more forms. The system will sample until the last form in body has been evaluated, then sampling will stop. This macro returns the result of the body.

See profiling.htm for general information on profiling. Note that the profiler is not available with some Allegro CL products.


Copyright (c) 1998-2002, Franz Inc. Oakland, CA., USA. All rights reserved.
Documentation for Allegro CL version 6.2. This page was not revised from the 6.1 page.
Created 2002.2.26.

ToCDocOverviewCGDocRelNotesIndexPermutedIndex
Allegro CL version 6.2
Unrevised from 6.1