PGO Environment Variables

The environment variables determine the directory in which to store dynamic information files or whether to overwrite pgopti.dpi. The environment variables are described in the table below.

Variable

Description

PROF_DIR

Specifies the directory in which dynamic information files are created. This variable applies to all three phases of the profiling process.

PROF_DUMP_INTERVAL

Initiates interval profile dumping in an instrumented user application. This environment variable may be used to initiate Interval Profile Dumping in an instrumented application.

See Interval Profile Dumping for more information.

PROF_NO_CLOBBER

Alters the feedback compilation phase slightly. By default, during the feedback compilation phase, the compiler merges the data from all dynamic information files and creates a new pgopti.dpi file, if the .dyn files are newer than an existing pgopti.dpi file.

When this variable is set, the compiler does not overwrite the existing pgopti.dpi file. Instead, the compiler issues a warning and you must remove the pgopti.dpi file if you want to use additional dynamic information files.

See the documentation for your operating system for instructions on how to specify environment variables and their values.