Measure Reference Manual
counter-type
is the type of counter to create. In D-series and G-series RVUs, counter-type must be one
of:
Accumulating counter (length = 3 words)ACCUM
64-bit accumulating counter (length = 5 words)FACCUM
Busy counter (length = 6 words)BUSY
Queue counter (length = 7 words)QUEUE
In H-series RVUs counter-type must be one of:
Accumulating counter (length = 2 words)ACCUM
64-bit accumulating counter (length = 4 words)FACCUM
Busy counter (length = 4 words)BUSY
Queue counter (length = 8 words)QUEUE
Queue Busy counter (length = 8 words)QBUSY
Busy counter, maintained with timer cells (length = 4 words)TCELLBUSY
Queue counter, maintained with timer cells (length = 8 words)TCELLQUEUE
Queue Busy counter, maintained with timer cells (length = 8 words)TCELLQBUSY
ARRAY size
is the length of the counter array (1 through 127). Array indexes start at 0, so a size of 1
creates a two-element array, a size of 2 creates a three-element array, and so on.
By default, a counter name is associated with a single counter value (array length of 0). You
can also associate a counter name with an array of counter values.
Related Commands
PageFunctionCommand
41Adds to the configuration a process that modifies one or more
user-defined counters
ADD USERDEF
53Deletes a user-defined counter from the configurationDELETE COUNTER
63Displays the user-defined counters in the configurationINFO COUNTER
Usage Notes
• To place a user-defined counter in an application, modify the source code to call the
MEASCOUNTERBUMPINIT and MEASCOUNTERBUMP procedures at appropriate times. For
descriptions of these procedures, see MEASCOUNTERBUMP (page 387) and
MEASCOUNTERBUMPINIT (page 388).
To collect information from a user-defined counter:
1. Add the processes that modify the counter to the configuration by using the ADD USERDEF
command.
44 MEASCOM Commands