Limit metrics collection to the specified time interval.

Syntax

-ct <collection-time>

--collect_time <collection-time>

Arguments

<collection-time> - the time interval, in seconds.

Description

Use this option to specify the time interval for metrics collection. If you skip this option, Intel® GPA collects metrics data until you close the application.

Related Options

You can use collect_time together with the app_name option.

Example

gpa_console_client -dn B3E8BDE8 –an “Angry Birds HD” -csv metrics.csv -cfg metrics.cfg -ct 60 

In this example, Intel® GPA connects to the B3E8BDE8 target device to analyze the Angry Birds HD application, collects the metrics specified in the metrics.cfg file for 60 seconds, and saves the result in the metrics.csv file.

Para obtener información más completa sobre las optimizaciones del compilador, consulte nuestro Aviso de optimización.