ring-buffer

Limit the amount of raw data to be collected by setting the timer that enables the analysis only for the last seconds before the target or collection is terminated.

GUI Equivalent

Configure Analysis window >WHAT pane > Advanced > Limit collected data by: Time from collection end, sec option

Syntax

-ring-buffer=<integer>

Arguments

<integer>

Timer (in sec)

Actions Modified

collect, collect-with

Description

Use the ring-buffer action-option to limit the amount of raw data to be collected. The option sets the timer (in sec) that enables the analysis only for the last seconds before the target or collection is terminated.

Alternate Options

data-limit
Limit the amount of raw data (in MB) to be collected.

Example

Enable a Hotspots analysis for the last 10 seconds before the collection is terminated.

 $ amplxe-cl -collect hotspots -ring-buffer=10 myApp
For more complete information about compiler optimizations, see our Optimization Notice.
Select sticky button color: 
Orange (only for download buttons)