13 HP Caliper Features Specific to HP-UX

These features are available only when using HP Caliper on the HP-UX operating system:

•These measurements:

◦cgprof

◦cpu

See “Performing CPU Metrics Analysis ” (p. 151).

◦fcount

◦fcover

•These command-line options:

◦--bus-speed

See “--bus-speed” (p. 55).

◦--cpu-aggregation

See “--cpu-aggregation” (p. 56).

◦--cpu-details

See “--cpu-details” (p. 56).

◦--exclude-caliper

See “--exclude-caliper” (p. 61).

◦--exclude-idle

See “--exclude-idle” (p. 61).

◦--measure-on-interrupts

See “--measure-on-interrupts” (p. 64).

◦--memory-usage

See “Measuring Memory Usage Concurrently with Other Measurements ” (p. 152).

◦--user-regions

See “--user-regions” (p. 74).

Measuring Memory Usage Concurrently with Other Measurements

You can request a measurement of your program's memory usage in addition to, and at the same time as, any other HP Caliper measurement.

To do this, use the --memory-usage=option. You can use this option with any measurement: --memory-usage=all[begin][:timed][:end][:PERIOD[smh]]

For example:

$ caliper cpu -o REPORT --memory-usage=all my_app

Use of this option causes two different sets of memory measurements to be taken, each reported in its own table in the report:

•Overall memory available (and currently in use and free) on the system

•Memory currently being consumed by the process(es) being measured by a particular HP Caliper run

152 HP Caliper Features Specific to HP-UX

Page 152
Image 152
HP UX Caliper Software HP Caliper Features Specific to HP-UX, Measuring Memory Usage Concurrently with Other Measurements