# prof-file, Qprof-file

Specifies an alternate file name for the profiling summary files.

## Syntax

Linux: | -prof-file filename

macOS: | -prof-file filename

Windows: | /Qprof-file:filename

## Arguments

filename | Is the name of the profiling summary file.

## Default

OFF | The profiling summary files have the file name pgopti.*

## Description

This option specifies an alternate file name for the profiling summary files. The filename is used as the base name for files created by different profiling passes.

If you add this option to profmerge, the .dpi file will be named filename.dpi instead of pgopti.dpi.

If you specify this option with option [Q]prof-use, the .dpi file will be named filename.dpi instead of pgopti.dpi.

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

### Note

When you use option [Q]prof-file, you can only specify a file name. If you want to specify a path (relative or absolute) for filename, you must also use option [Q]prof-dir.

## IDE Equivalent

None

## Alternate Options

None

Parent topic: Profile Guided Optimization (PGO) Options

## See Also

prof-gen, Qprof-gen compiler option
prof-use, Qprof-use compiler option
prof-dir, Qprof-dir compiler option