# prof-data-order, Qprof-data-order

Enables or disables data ordering if profiling information is enabled.

## Syntax

Linux: | -prof-data-order -no-prof-data-order

macOS: | None

Windows: | /Qprof-data-order /Qprof-data-order-

## Arguments

None

## Default

-no-prof-data-order or /Qprof-data-order- | Data ordering is disabled.

## Description

This option enables or disables data ordering if profiling information is enabled. It controls the use of profiling information to order static program data items.

For this option to be effective, you must do the following:

- For instrumentation compilation, you must specify option [Q]prof-gen setting globdata.

- For feedback compilation, you must specify the [Q]prof-use option. You must not use multi-file optimization by specifying options such as [Q]ipo or [Q]ipo-c.

## 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-func-order, Qprof-func-order compiler option