HP Caliper Advisor Rule Writer Guide

Table B-21 Metrics Available for Return by Histogram Accessor Functions (continued)
DescriptionReturn
Type
Metric
Returns the privilege level mask. Will be one of the
following: USER, KERNEL, BOTH, or ALL.
stringSAMPLE_PLM
Returns the sample rate.integerSAMPLE_RATE
Returns the sample threshold value.integerSAMPLE_THRESHOLD
Returns the sample rate variation.integerSAMPLE_VARIATION
Returns the ID number of the dataset whose metric values
are being returned in this get_histogram() or
get_histogram_nth() call.
integer'n'
Table B-22 “Histogram Types and Return Values” shows the data returned for each
histogram type.
Table B-22 Histogram Types and Return Values
Return ValuesHistogram Type
(function_name, image_name, misses)
ALAT
(function_name, image_name, misses, latency,
average_latency)
DCACHE
(function_name, image_name, misses, l2_fills, hpw_fills,
soft_fills)
DTLB
(function_name, image_name, misses, latency,
average_latency)
ICACHE
(function_name, image_name, samples)
IP
(function_name, image_name, misses, l2_fills, hpw_fills,
soft_fills)
ITLB
Table B-23 “Histogram Types and Sort Keys Available” shows the sort metrics and
their defaults as defined for each histogram type.
Table B-23 Histogram Types and Sort Keys Available
Sort KeyHistogram Type
MISSES (default)ALAT
AVERAGE_LATENCY, LATENCY (default), MISSESDCACHE
HPW_FILLS, L2_FILLS, MISSES (default), SOFT_FILLSDTLB
AVERAGE_LATENCY, LATENCY (default), MISSESICACHE
Histogram Accessor Functions 95