HP Caliper User's Guide
threshold=int
An integer value that specifies how HP Caliper
counts events:
• If the value is zero, HP Caliper counts all
events.
• If the value is greater than zero, HP Caliper
counts only the CPU cycles in which the
number of events is greater than or equal to
the value you specify.
The default value is zero.
privilege-level-mask=level
Determines the privilege level setting for a given
counter. By default, counters are measured when
your application runs in user space (user). The
privilege levels available are:
• user
• kernel
• all
You can abbreviate this qualifier to PLM. This
qualifier is not case-sensitive.
When you specify this option on the command line, you can override all or just part
of the sampling_spec setting in the measurement configuration file or the
.caliperinit file. This allows you to, in effect, create your own default settings.
For example, if the measurement configuration file contains this setting:
sampling_spec = "400000, 10%, BRANCH_EVENT"
and on the command line, you specify only variation:
-s ,5%
the resulting settings would be a rate of 400000, a variation of 5%, and the CPU event
BRANCH_EVENT.
NOTE: Using -s multiple times will not result in sampling on multiple events. If you
specify multiple -s options, only the last one is used.
-v or --version
-v
Prints the HP Caliper version identification. You can also use the what(1) command.
-v or --version 71