HP Caliper Advisor Rule Writer Guide

argument list as the base version plus one additional final argument. The other type of accessor
function is base version.
Python An interpreted, interactive, object-oriented scripting language, sometimes compared to Tcl, Perl,
Scheme, or Java. For more information, see http://www.python.org.
reference
dataset
The first dataset found for an analysis object when the Advisor is performing its analysis.
rule file A file containing one or more independent rule functions written in Python. Rule files are read,
compiled, and executed by the Advisor.
rule function A function in a rule file. A rule function retrieves the analysis object’s performance data that it
needs, makes decisions about a possible performance problem, and, if appropriate, generates
advice messages.
run
information
accessor
function
An accessor function used to retrieve miscellaneous information about a performance measurement
run.
special n
metric
A “metric” named n that can be used by an accessor function like any other metric. Its return
value is the ID number of the dataset that supplied all of the other metric values in the call.
102 Glossary