# qopt-report-format, Qopt-report-format

Specifies the format for an optimization report.

## Syntax

Linux: | -qopt-report-format=keyword

macOS: | -qopt-report-format=keyword

Windows: | /Qopt-report-format:keyword

## Arguments

keyword | Specifies the format for the report. You can specify one of the following:
text | Indicates that the report should be in text format.
vs | Indicates that the report should be in Visual Studio* (IDE) format. The Visual Studio IDE uses the information to visualize the optimization report in the context of your program source code.

## Default

OFF | No optimization report is generated.

## Description

This option specifies the format for an optimization report. If you use this option, you must specify either text or vs.

If you do not specify this option and another option causes an optimization report to be generated, the default format is text.

If the [q or Q]opt-report-file option is also specified, it will affect where the output goes:

- If filename is specified, output goes to the specified file.

- If stdout is specified, output goes to stdout.

- If stderr is specified, output goes to stderr.

If you use this option, you do not have to specify option [q or Q]opt-report.

When optimization reporting is enabled, the default is -qopt-report-phase=all (Linux* and macOS*) or /Qopt-report-phase:all (Windows*).

## IDE Equivalent

None

## Alternate Options

None

Parent topic: Optimization Report Options

## See Also

qopt-report, Qopt-report compiler option
qopt-report-file, Qopt-report-file compiler option