limit

Set the number of top items to include in a report.

Syntax

-limit <value>

Arguments

<value>

Number of items to output

Default

Unlimited lines in output

Actions Modified

report

Description

Use the limit action-option when you only want to include the top items in a report, and specify the number of items (program units) to include.

Example

Output a Hotspots report on the ten modules with the highest CPU time values.

$ amplxe-cl -report hotspots -limit 10 -group-by module
For more complete information about compiler optimizations, see our Optimization Notice.