To specify the length of time before detaching and reporting, use the -eseconds option. The value of seconds represents the number of real-time seconds HP Caliper is attached to the process. The exact placement of -eseconds is not significant.

Some example command lines are:

$ caliper fprof -e 15 /usr/bin/ls -R $ caliper fprof -e 20 7654

NOTE: The target process being measured does not terminate when HP Caliper detaches from it. The process keeps running (in the background if it was launched by HP Caliper).

How to Display Reference Information About CPU Counters or HP Caliper Report Types

You can use the caliper info command to display reference information about the CPU counters or HP Caliper report descriptions. You can specify a partial name of a CPU counter or a measurement name to get information on all items that match.

By default, it is assumed that you want to see counter information, not report information.

Figure 23 (page 101) shows some example output of the caliper info command. In this case, the following command is specified:

$ caliper info cycle

Figure 23 Example Output of the caliper info Command

$ caliper info cycle

================================================================================

HP Caliper 4.3.0 CPU Counter Information

================================================================================

Name: BUS_DATA_CYCLE Abbreviation: BDC or BUS_D

Title: Valid Data Cycle on the Bus

Definition: Counts the number of BUS Clocks which had a valid data cycle on the bus.

Name: BUS_SNOOP_STALL_CYCLES.ANY Abbreviation: BSSCA or BUS_SNOOP_STALL_CYCLES.A

Title: Bus Snoop Stall Cycles (from any agent)

Definition: Counts the number of bus clocks FSB is stalled for snoop (this is twice the number of bus clocks HIT and HITM are asserted at the same time).

Umask Descr: Counts snoops from the CPU or non-CPU (all snoops)

Name: BUS_SNOOP_STALL_CYCLES.SELF Abbreviation: BSSCS or BUS_SNOOP_STALL_CYCLES.S

Title: Bus Snoop Stall Cycles (from any agent)

Definition: Counts the number of bus clocks FSB is stalled for snoop (this is twice the number of bus clocks HIT and HITM are asserted at the same time).

Umask Descr: Only counts snoops from the local CPU

Name: CPU_CYCLES

Abbreviation: CC or CPU_CY

Title: CPU Cycles

Definition: Counts the number of clock cycles.

================================================================================

If you specify multiple CPU events or reports, then HP Caliper displays information on all matches.

Options for the caliper info Command

The options for the caliper info are not case-sensitive and can be abbreviated.

How to Display Reference Information About CPU Counters or HP Caliper Report Types 101