All Manuals > LispWorks User Guide and Reference Manual > 38 The HCL Package

NextPrevUpTopContentsIndex

profile

Macro
Summary

Profile while executing some forms.

Package

hcl

Signature

profile &body forms => results-of-final-form

Arguments

forms

Lisp forms.

Values

results-of-final-form

Results of the final form in forms.

Description

The macro profile starts the profiler, evaluates forms, stops the profiler, reports the results of the profiling, and then returns the results of the last form in forms.

The profiler is described in The Profiler.

Note

profile profiles all processes. For better control of this, use start-profiling or do-profiling.

If profile is invoked before set-up-profiler was ever called, it calls set-up-profiler implicitly without arguments.

profile cannot be called while another profiling operation is running, either by a parallel call to profile or start-profiling.

See also

start-profiling
stop-profiling
set-up-profiler
The Profiler
Guidance for control of the memory management system


LispWorks User Guide and Reference Manual - 20 Sep 2017

NextPrevUpTopContentsIndex