-c or --cpu-counter

-ccounter_namekeywordall

Specifies what kind of information about the CPU counters should be output. You can specify a partial name.

Use all for information on all CPU counters.

The -cand -roptions are mutually exclusive. If neither is given, then -cis assumed.

The output of this option comes from two text files in the HP Caliper directory. See “Specifying Which CPU Events to Measure” (p. 93).

-d or --details

-d all[name][:title][:category][:description]

Specifies which information fields to include in CPU counter reports. This can be any combination of name, title, category, or description separated by colons or all. The default value is name:title.

-o or --output-file

-o outfile[,appendcreate]

Specifies the file in which to write the output of the caliper info command.

Default value is stdout.

Open the file in one of two modes:

append Adds the report results to the end of an existing file that has the specified name.

create Creates a file with the specified name and writes the report results to the file. Replaces any existing file with the specified name.

This is the default.

-r or --report

-r all report_type

Specifies that descriptions of reports that match the given report_type name be output.

Report type can be any HP Caliper measurement. You can specify a partial name.

Use all to get a report on all report descriptions.

The output of this option is the same information that is included in measurement reports when you use the --infooption with the caliper command.

The -rand -coptions are mutually exclusive. If neither is given, then -cis assumed.

-s or --search

-s all[category][:name][:title][:description]

Specifies information fields to be searched. It can be any combination of category, name, title, or description separated by colons or all. The default value is name.

Examples of the caliper info Command

To list all CPU counters that measure the L1 data cache:

$ caliper info L1D

This is the same as:

$ caliper info -c L1D

because --cpu-counteris assumed unless you specify the mutually exclusive --reportoption.

102 Configuring HP Caliper

Page 102
Image 102
HP UX Caliper Software manual Examples of the caliper info Command