Measure Reference Manual
COUNTER^DESC
describes a user-defined counter specification. OSS file pathnames also use COUNTER^DESC.
Struct Counter^desc (*);
! Numcounters of these structs go here
Begin ! when used as a Contab descriptor
Int Name[0:7]; ! User assigned counter name
Int Type; ! 1=accum, 2=busy, 3=queue
Int Index; ! 0:index counters will be allocated
End;
name
INT:value:8
is a left-justified, blank-filled counter name.
type
INT:value:1
is one of these literal values:
Accumulating counter, 32 bitsACCUM
Accumulating counter, 64 bitsFACCUM
Busy counterBUSY
Queue counterQUEUE
Queue Busy counterQBUSY
Busy counter, maintained with timer cellsTCELLBUSY
Queue counter, maintained with timer cellsTCELLQUEUE
Queue Busy counter, maintained with timer cellsTCELLQBUSY
index
INT:value:1
is the highest index value needed to address the array of counters associated with this counter
name. If the counter is a single value, set index to 0.
USERDEF^OSS^DESC
is the descriptor for USERDEF entities on systems running G06.12 and later RVUs.
USERDEF^OSS^DESC includes support for OSS pathnames. USERDEF^OSS^DESC is also used
with the COUNTER^DESC.
Struct Userdef^OSS^desc (*);
Begin
Int Type; ! Entity type
Int Len; ! Byte length of record.
Int CPU^number;
Int PIN;
Int Process^name[0:3];
Int Program^file^name[0:11];
Struct Program^file^name^MID; ! Internal identifier for OSS pathname
Begin
Int Pathid[0:11]; ! Internal format OSS file pathname
Int Crvsn[0:2]; ! Creation Volume Sequence Number
End;
Int Numcounters; ! Number of counters to be installed
End; ! A subsequent counter^desc is not needed for an Entitydesc of
! a previously installed entity. But for Contab use, as many
! Counter^desc as desired must imediately follow this struct.
COUNTER^DESC 491