Advanced PGO Options

The options controlling advanced PGO optimizations are:

Use the -prof_dirdirname  option to specify the directory in which you intend to  place the dynamic information (.dyn) files to be created. The default is the directory where the program is compiled. The specified directory must already exist.

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

The -prof_filefilename  option specifies file name for profiling summary file.

Guidelines for Using Advanced PGO

When you use PGO, consider the following guidelines:

The compiler issues a warning that the dynamic information does not correspond to a modified function.

See PGO Environment Variables.