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

save-current-profile

Arguments: variable

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-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 9.0 page.
Created 2015.5.21.

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