Intel® C++ Compiler 16.0 User and Reference Guide

prof-dir, Qprof-dir

Specifies a directory for profiling information output files.

Architecture Restrictions

Not available on Intel® 64 architecture targeting the Intel® Xeon Phi™ coprocessor x100 product family (formerly code name Knights Corner), on IA-32 architecture targeting Intel® Graphics Technology, or on Intel® 64 architecture targeting Intel® Graphics Technology

Syntax

Linux and OS X:

-prof-dir dir

Windows:

/Qprof-dir:dir

Arguments

dir

Is the name of the directory. You can specify a relative pathname or an absolute pathname.

Default

OFF

Profiling output files are placed in the directory where the program is compiled.

Description

This option specifies a directory for profiling information output files (*.dyn and *.dpi). The specified directory must already exist.

You should specify this option using the same directory name for both instrumentation and feedback compilations. If you move the .dyn files, you need to specify the new path.

Option /Qprof-dir is equivalent to option /Qcov-dir. If you specify both options, the last option specified on the command line takes precedence.

IDE Equivalent

Visual Studio: General > Profile Directory

Eclipse: Optimization > Profile Directory

Xcode: None

Alternate Options

None