Macro | Package: prof | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 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 8.2 page.
Created 2012.5.30.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version