# qopt-report-routine, Qopt-report-routine

Tells the compiler to generate an optimization report for each of the routines whose names contain the specified substring.

## Syntax

Linux: | -qopt-report-routine=substring

macOS: | -qopt-report-routine=substring

Windows: | /Qopt-report-routine:substring

## Arguments

substring | Is the text (string) to look for.

## Default

OFF | No optimization report is generated.

## Description

This option tells the compiler to generate an optimization report for each of the routines whose names contain the specified substring.

You can also specify a sequence of substrings separated by commas. If you do this, the compiler will generate an optimization report for each of the routines whose name contains one or more of these substrings.

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

Visual Studio: Diagnostics > Optimization Diagnostic Routine

Eclipse: Compilation Diagnostics > Optimization Diagnostic Routine

Xcode: None

## Alternate Options

None

Parent topic: Optimization Report Options

## See Also

qopt-report, Qopt-report compiler option