set-up-profiler &key symbols packages kind interval
Note: the argument kind is available only on UNIX/Linux/Mac OS X.
A symbol or a list of symbols. Each symbol is checked to see if it is suitable for profiling and if so it is added to the list *profile-symbol-list*.
A valid package name or list of package names, or
:all
, meaning all packages. All the symbols in the packages are checked as above. If a
:symbols
keyword is present then this argument is ignored.
There are three possible values corresponding to the kinds of profiling that are available:
:virtual
-- process time and system time
The default value is
:profile
.
A positive integer representing time in microseconds. The default value is 10000.
set-up-profiler
is used to declare the values of the parameters of the profiling function. Three values are required:
(set-up-profiler :symbols '(car cdr)
:interval 50000)
(set-up-profiler :symbols '(car cdr)
:kind :profile :interval 50000)