HP Caliper Advisor Rule Writer Guide
Run Information
These metric values retrieve run information from a dataset. There is only one format
for this type of metric:
metric
Returns the value of the requested metric.
Replace metric with one of the metrics listed in Table 4-5 “Metrics Available
for Return by Run Information Accessor Functions”. The type of the value
returned is specific to the metric selected. The data returned is equivalent
to information in HP Caliper reports, as shown in the table.
Examples:
get_run_info(‘USER_TIME’)
get_run_info_nth(‘USER_TIME’, 3)
Table 4-5 Metrics Available for Return by Run Information Accessor Functions
Description of What Is ReturnedReturn TypeMetric
The full version string of HP Caliper used to make the
measurements.
HP Caliper report section: Run Information Version.
stringCALIPER_VERSION
The number of CPUs on the measurement system. This is not
necessarily the number of CPUs used by the measured process.
HP Caliper report section: Processor Information Number of
Processors.
integerCPU_COUNT
The speed (in Hz) of the measurement processor.
HP Caliper report section: Processor Information Processor
Speed.
integerCPU_FREQUENCY
The CPU model of the measurement system. The value will be
one of the following: ITANIUM2_CPU, ITANIUM2_6M_CPU,
ITANIUM2_9M_CPU, or MONTECITO_CPU.
HP Caliper report section: Processor Information Processor Type.
stringCPU_MODEL
The date and time that the measurement run ended. The value
is in “Unix time” (the number of seconds since 1/1/1970 00:00:00
GMT).
HP Caliper report section: Target Application End Time.
integerEND_TIME
The full path of the measured executable.
HP Caliper report section: Target Application Program.
stringEXECUTABLE_PATH
48 HP Caliper Advisor Accessor Functions