Intel® C++ Compiler Classic Developer Guide and Reference

ID 767249
Date 3/31/2023
Public

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

Document Table of Contents

prof-dir, Qprof-dir

Specifies a directory for profiling information output files.

Syntax

Linux:

-prof-dir dir

macOS:

-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