Intel® Advisor Help

snapshot

Create a read-only result snapshot you can view any time.

GUI Equivalent

File > Create Data Snapshot

Syntax

--snapshot [--action-options] [--global-options] [[--] target [target options]]

Default

Save the current analysis result.

Modifiers

cache-binaries, cache-binaries-mode, cache-sources, mpi-rank, pack, project-dir, quiet, search-dir, verbose

Usage

Intel® Advisor stores only the most recent analysis result. Visually comparing one or more snapshots to each other or to the most recent analysis result can be an effective way to judge performance improvement progress.

Example

Create a new snapshot in the project directory. Name it snapshotXXX (default name).

advisor --snapshot --no-pack --project-dir=./advi_results

Create a new snapshot in the project directory. Name it new_snapshot.

advisor --snapshot --no-pack --project-dir=./advi_result -- new_snapshot

Create a new snapshot. Pack it into an archive. Put it in the current directory. Name it snapshotXXX.advixeexpz (default name).

advisor --snapshot --pack --project-dir=./advi_results

Create a new snapshot. Include sources and binaries. Pack it into an archive. Name it /tmp/new_snapshot.advixeexpz.

advisor --snapshot --pack --cache-sources --cache-binaries --project-dir=./advi_results -- /tmp/new_snapshot

See Also