User Guide

Contents

cache-sources

Enable source code visibility in a read-only snapshot you can view any time (with
--snapshot
action).
Enable keeping source code cache within a project (with
--collect
action).

Syntax

--cache-sources
--no-cache-sources
Default
Off (no-cache-sources)
Actions Modified
Usage
When used with
collect
action, report is supplied with source code folded like a snapshot. Once set, this option triggers a flag in project configuration that prevents deleting cache with each analysis run unless you manually disable it.
Create a read-only snapshot. Include performance data, sources, and binaries. Save the snapshot to the
tmp
directory. Name the snapshot
myAdvisorProjSnapshot.advixeexpz
.
$ advisor --snapshot --project-dir=./myAdvisorProj --pack --cache-sources --cache-binaries -- ./tmp/myAdvisorProjSnapshot
Run a Survey analysis and keep source cache.
$ advisor –-collect=survey --cache-sources --project-dir=./advi -- ./bin/myApplication

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.