# Qcov-dir

Specifies a directory for profiling information output files that can be used with the codecov or tselect tool. This feature is only available for ifort.

## Syntax

Linux: | None

macOS: | None

Windows: | /Qcov-dir:dir

## Arguments

dir

  Is the name of the directory.

## 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) that can be used with the code-coverage tool (codecov) or the test prioritization tool (tselect). 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 /Qcov-dir is equivalent to option /Qprof-dir. If you specify both options, the last option specified on the command line takes precedence.

## IDE Equivalent

None

## Alternate Options

None

Parent topic: Profile Guided Optimization Options

## See Also

Qcov-gen compiler option
Qcov-file compiler option