Measure Reference Manual

PROCESS^DESC
is the descriptor for PROCESS entities.
For OSS file pathnames, use the template PROCESS^OSS^DESC (page 475).
The PROCESS^DESC descriptor is also used for OSSNS entities.
Struct Process^desc (*);
Begin
Int Type; ! Entity type
Int Len; ! Byte length of record. In case of
! process it includes
! length of all the code-space
! descriptors and for userdef
! it includes length of all the counter
! descriptors.
Int CPU^number;
Int PIN;
Int Process^name[0:3];
Int Program^file^name[0:11];
End;
type
INT:value:1
is one of:
Numeric IdentifierLiteralEntity Type
2PROCESS^TPROCESS
21OSSNS^TOSSNS
A positive type value includes the specified entities in the measurement configuration. A
negative type value excludes the specified entities from measurement. For an example, see
Specifying Entity Descriptors (page 376).
len
INT:value:1
is the length in bytes of this descriptor. len is 40.
cpu^number
INT:value:1
is the number of the CPU on which the process is running. Use the literal -1 to indicate all CPUs.
pin
INT:value:1
is the process identification number of the process. You can use these literal values:
-1 to indicate all PINs
-2 to indicate all system processes
SYSPROCS to indicate all processes installed by SYSGEN
process^name
INT:value:4
is the process name. The name must be left-justified and blank-filled. It must start with a dollar
sign ($) followed by a process name in internal format. process^name can be a system
process name. Use a dollar sign followed by an asterisk ($*) to indicate all processes.
474 Entity Descriptors