HP Caliper User's Guide

cpi Event Set
The cpi event set provides information related to cycles per instruction (CPI).
If you use this event set, the default is to make the measurements irrespective of CPU
operating state (that is, user, system, or interrupt states). By default, the idle state is
not included in the measurement. You can use command-line options to limit the scope
of the measurement. Specifically, you can:
Limit measurement to a specific privilege level: -m
event_set[:all|user|kernel]
Include idle: --exclude-idle False
Exclude the interruption state: --measure-on-interrupts off
Only measure the interruption state: --measure-on-interrupts only
Metrics Available from this Measurement
The following metrics are available from this event set. These descriptions do not take
into account any command-line options you might use.
The metrics are:
Cycles
This is the total number of CPU cycles collected during the measurement sample
period.
IA64 Instr
This is the total number of IA64 instructions retired during the measurement
sample period. Irrespective of qualification, the count includes predicated off
instructions, nops, and failed speculative instructions. Depending on qualification
level, the count may also include system idle loop instruction, speculative recovery
code, all trap code, and instructions executed during the handling of external
interrupts. The default mode would count all instructions irrespective of execution
state.
Nops
This is the total number of nop instructions retired during the measurement sample
period. In the default mode, this count will include executed nops irrespective of
execution state.
Pred-Off
This is the approximate total number of predicated off instructions retired during
the measurement sample period. The reason it is not the precise number of
predicated off instruction is due to an Itanium 2 PMU quirk: It counts predicated
off branches as executed branches that were not taken. In effect, the Itanium 2
implementation considers all predicated off branches to be useful instructions.
You can use a command-line argument to qualify measurement scope to a specific
CPU execution state. The default mode count includes all predicated off
instructions, subject to the Itanium 2 semantics, irrespective of CPU execution
state.
cpi Event Set 307