MacroPackage: profToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.1
Unrevised from 10.0 to 10.1.
10.0 version

save-current-profile

Arguments: variable

Use of this function is deprecated. Use save-named-profile instead.

This macro saves the contents of the current runtime analysis into the named variable (which is not evaluated). A runtime analysis must be in the :analyzed state (as returned by profiler-status) to be saved.

profiler-status returns :analyzed after show-call-graph or show-flat-profile have been run at least once on collected data. The following results in data being saved and made the value of the symbol foo:

(prof:with-profiling (:type :time) <forms>)
(prof:show-flat-profile)
(prof:save-current-profile foo)

Saving a runtime analysis with save-current-profile allows you to analyze the data at your leisure, running other analyses in the meantime. The keyword argument current-profile to show-call-graph and show-flat-profile can take a saved analysis instead of the default (which is the currently running or last run analysis) and display results using that profile.

See runtime-analyzer.htm for general information on the runtime analyzer.


Copyright (c) 1998-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.1
Unrevised from 10.0 to 10.1.
10.0 version