sort-asc

Sort data in ascending order by the specified column name.

Syntax

-sort-asc <string>

-s <string>

Arguments

Argument

Description

<string>

Column name that corresponds to a performance metric or event name. Multiple values are possible.

Actions Modified

report

Description

Use the sort-asc option with the report action to sort data by the specified column name in ascending order. Each column name corresponds to a performance metric or event.

You can specify multiple values as a comma-separated string (no spaces).

Alternate Options

Opposite: sort-desc

Example

This example sorts the data collected in the r001ge result and displayed in the Hardware Events report in the ascending order by the INST_RETIRED.ANY and CPU_CLK_UNHALTED.CORE event columns.

$ amplxe-cl -r r001ge -report hw-events -sort-asc=INST_RETIRED.ANY,CPU_CLK_UNHALTED.CORE
For more complete information about compiler optimizations, see our Optimization Notice.