Sun Studio 12: Performance Analyzer

data_metrics metric_spec

Set the data-derived metrics. The metric_spec is defined in Metric Lists.

By default, the data-derived metrics are set to match the function list metrics whenever they are changed. The data-derived metrics corresponding to any visible exclusive metric or inclusive metric that has a data-derived flavor, are set with visibility corresponding to the logical or of the visibility setting for those two.

Static metric settings are copied to the data-derived metrics. If the metric name is not in the list, the metric name is appended to the list.

If metric_spec is omitted, the current data-derived metrics setting is displayed.

A list of all the available metric-name values for the experiments loaded can be obtained with the data_metric_list command.

If the metric_spec has any errors, it is ignored, and the data-derived metrics are left unchanged.