android_metrics

Print the list of available Android* metrics to stdout or to the specified file.

Syntax

-am [<config-file>]

--android_metrics [<config-file>]

Arguments

<config-file> - the output file listing the available Android* metrics.

Description

Use this option to view the list of Android* metrics available for your target device. If you specify the <config-file> argument, the metrics list is saved to this file. Otherwise, Intel® GPA returns the list to stdout.

You can use the generated file as a configuration file for metrics collection. To specify the metrics you want to collect, simply remove the redundant metrics from the file, or comment them out using the # symbol.

Example

gpa_console_client –am metrics.cfg

This example generates a metrics.cfg file that lists all the metrics available for your target device.

See Also

Getting the List of Available Android* Metrics

For more complete information about compiler optimizations, see our Optimization Notice.