HP Caliper Advisor Rule Writer Guide

Table B-24 Metrics Available for Return by Run Information Accessor Functions (continued)
Description of What Is ReturnedReturn TypeMetric
The total user time of the measured process. The value is in
seconds.
HP Caliper report section: Target Execution Time User time.
floatUSER_TIME
ID number of the dataset whose metric values are being returned
in this get_run_info() or get_run_info_nth() call.
integer'n'
Advice Function
This section provides reference information for the advice function. For information
about how to use the advice function, see “HP Caliper Advisor Advice Function”
(p. 53).
The syntax is:
advice(index, class, [description], [improvement], [measurement], [explanation])
Table B-25 Arguments for Advice Function
DescriptionTypeOptionalArgument
The “impact” of this advice. It is a mixture of the
certainty that this advice applies to this application,
the percentage of elapsed time that could be saved if
the problem were eliminated, and the likelihood that
savings could be realized.
A floating-point value between 0.0 and 100.0.
floatno
index
The classification of this advice. All advice is classified
by what performance area it mostly deals with. One
of the following values: GENERAL_ADVICE,
CPU_ADVICE, MEMORY_ADVICE, IO_ADVICE, or
SYSTEM_ADVICE.
integerno
class
A one-sentence description of the performance focus
of the analysis rule.
stringyes
description
Detailed guidance on what to try that might improve
the application’s performance in this area.
stringyes
improvement
A specific recommendation of what additional
measurement(s) would help to analyze a potential
performance problem.
stringyes
measurement
A detailed explanation of this performance problem
area.
stringyes
explanation
Advice Function 99