Measure Reference Manual

doubleadd
input
INT(32):value
is the value (positive or negative) to add to the counter. Applicable only if you specified
bumptype as ADD and the counter type as FACCUM. doubleadd cannot be specified if
addvalue is also specified.
quadadd
input
FIXED:value
is the value (positive or negative) to add to a 64-bit counter. Applicable only if you specified
bumptype as ADD and the counter type as FACCUM. quadadd cannot be specified if
addvalue is also specified. The quadadd parameter is only supported in Measure H01 and
later PVUs.
MEASCOUNTERBUMPINIT
Determines whether the user-defined counter, name, is part of a currently active measurement. If
it is, MEASCOUNTERBUMPINIT returns the location of the counter value to be bumped in offset.
If it is not, MEASCOUNTERBUMPINIT returns -1 in offset and ERR^UDCNOTPRESENT in error.
To define a counter in an application, modify the source code to call the MEASCOUNTERBUMPINIT
and MEASCOUNTERBUMP (bumps the counter) procedures at appropriate times. To collect
information from a user-defined counter:
1. Use the MEASCOM command ADD USERDEF or the MEASCONFIGURE procedure to add
the process that modifies the counter to the configuration.
2. Use the MEASCOM command ADD COUNTER or the MEASCONFIGURE procedure to add
the counter to the configuration.
error := MEASCOUNTERBUMPINIT ( name ! i
,offset ! o
,[ version ] ); ! i
name
input
INT:ref:8
is an array that contains a user-defined counter name. The name must be 1 through 16
alphanumeric characters, hyphens, or underscores, the first of which must be a letter. Counter
names are not case-sensitive. They are displayed in uppercase characters.
offset
output
INT:ref:1
is the offset of the counter value within the internal counter record. If the specified counter is
not part of an active measurement, MEASCOUNTERBUMPINIT returns offset as -1.
version
input
INT:value
(Measure G11 and later PVUs) is an incremental version to be reported as
SUBSYSTEM-VERSION in the Measure data. HP recommends that version start as 1 and increase
any time the USERDEF instrumentation logic in the application is altered. If not specified,
SUBSYSTEM-VERSION is reported as 0.
388 Measure Callable Procedures