Macro | Package: prof | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version

## 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 data collection.

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 runtime-analyzer.htm for general information on the runtime analyzer.

Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.2 page.
Created 2012.5.30.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version