Intel® Advisor User Guide

ID 766448
Date 11/07/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

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.

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