HP Caliper Advisor Rule Writer Guide

L3CACHE, QUEUES, STALL, SYSBUS, or TLB.
These correspond to the event sets used with the
CPU Metrics measurement.
Replace metric with a specific metric
appropriate to event_set. See “Function
Reference Information” (p. 71) for a complete
list.
Replace statistic with MEAN, STDEV,
90%CI, MINIMUM, LOW90, HIGH90, or
MAXIMUM:
MEAN — Mean value of all samples.
STDEV — Standard deviation of the
samples.
90%CI 90 percentage confidence interval.
This indicates that, statistically, 90% of the
time, the mean value will lie within this
distance from the present mean value.
MINIMUM — Minimum value across all
samples.
LOW90 — Lowest value in the 90%
confidence interval. This indicates that,
statistically, 90% of the time, the mean value
will be higher than or equal to this value.
HIGH90 — Highest value in the 90%
confidence interval. This indicates that,
statistically, 90% of the time, the mean value
will be lower than or equal to this value.
MAXIMUM — Maximum value across all
samples.
Examples:
get_metrics(STALL.RAW_CPI.MEAN)
get_metrics_nth(STALL.RAW_CPI.MEAN,
-1)
Sampling Parameters
Sometimes a rule needs to know the sampling parameters behind a multiplexed PMU
statistic. These metric values can be retrieved using the following two-part metric name:
event_set.sample
Returns the requested sampling parameter, which is an
integer or string value, depending on the specific parameter.
Replace event_set with BRPATH, BRPRED, C2C, CPI,
CPUBUS, CSPEC, DISPERSAL, DSPEC, FP, L1DCACHE,
Global Metrics Accessor Function: get_metrics 39