format

Specify the file format of a Correctness report.

Syntax

-format <string>

Arguments

csv

Tabular (.csv) file format.

text

Text (.txt) file format.

xml

XML (.xml) file format.

Default

text

Actions Modified

report

Description

Use the format action-option to specify a format other than the default text when generating a report.

By default, a report is written to standard output in text format, but the advixe-cl tool provides a number of options you can use when generating a report.

  • To write a report to a file, use the report-output option.

  • Use the format option to choose report format: Text, csv, or xml.
  • If you choose the CSV format and want to use a delimiter other than the default comma, use the csv-delimiter option to specify the delimiter.

Example

This command generates a Correctness report in XML file format and saves it as advisor-correctness.xml.

$ advixe-cl -report correctness –project-dir ./advi -format xml –report-output ./out/advisor-correctness.xml

In this example, the Correctness report is generated in CSV format with tab delimiters, and saved as the file advisor-correctness.csv.

$ advixe-cl -report correctness -project-dir ./advi -format csv -csv-delimiter tab -report-output ./out/advisor-correctness.csv
For more complete information about compiler optimizations, see our Optimization Notice.