Next: Statistical Profiler, Up: Profiling
The package sb-profile
provides a classic, per-function-call
profiler.
If no names are supplied, return the list of profiled functions.
If names are supplied, wrap profiling code around the named functions. As in
trace
, the names are not evaluated. A symbol names a function. A string names all the functions named by symbols in the named package. If a function is already profiled, then unprofile and reprofile (useful to notice function redefinition.) If a name is undefined, then we give a warning and ignore it. See alsounprofile
,report
andreset
.
Unwrap any profiling code around the named functions, or if no names are given, unprofile all profiled functions. A symbol names a function. A string names all the functions named by symbols in the named package.
names
defaults to the list of names of all currently profiled functions.