         DEF      PMDAT
*MONITOR VARIABLES RELEVANT TO PERFORMANCE MEASUREMENT
         SYSTEM   SIG7
PMONOFF EQU 1
*DEFS
         DEF      C:RT90,C:ETM
         DEF      C:NSP
         DEF      C:RTRW
         DEF      C:CSC
         DEF      C:SCO
         DEF      C:SCB
O        EQU      PMONOFF
         DO       O
         DEF      C:CIT,C:CITI,C:CAL
         DEF      C:CTW,C:CO
         DEF      C:CI,C:COS,C:MSO,C:MSB
         FIN
         DEF C:OVHD
         DEF      C:IDLE
         DEF      C:IDLES
         DO       O
         DEF      C:SIT,C:SRT,C:STT,C:ST,C:SCI
         DEF      CH:DOS,CH:DRT,CH:DIT,CH:DTT
         DEF      CH:DT,CH:DC,CH:DLI,CH:DLO
         FIN
         DEF      BGNPMPRC,ENDPMPRC
         REF      MAXOVLY
         DEF      C:LAST            LAST OC REQUIRED BY CONTROL
         DEF      C:CTUN
         DEF      C:TIC
         DEF      C:TINC
         DO       O
         DEF      C:SC
         DEF      C:NOPROC
         DEF      C:PROCREQ
         DEF      CH:DI1
         DEF      CH:DI2
         DEF      CH:DI3
         DEF      CH:DOT
         DEF      CH:SWAPT
         DEF      C:RECYCLE
*
         DEF      CITHEN
         DEF      DRTHEN
         FIN
         DO       O
         DEF      RT90THEN
         DEF      DTBLWSZ
*
         FIN
         DEF      TINC
         DEF      DID%IO
*EQUS
S        EQU      7          NO. OF WORDS FOR DISTRIBUTION BUCKETS
P        EQU      12                NO. PROCESSORS MEASURED+2
ENDPMPRC EQU      P-2
BGNPMPRC EQU      MAXOVLY+5
DTBLWSZ  EQU      S
         OPEN     RES
RES      CNAME
         PROC
LF       EQU      %
         DO1      AF(1)
         DATA     0
         PEND
         PAGE
*
*MISCELLANEOUS
*
*
PMDAT    EQU      %
*
DID%IO   DATA     0                 NONZERO => I/O OCCURRED IN SWAPPER
         DO       O
CH:SWAPT DATA     0                 TIME AT END OF PREVIOUS SWAP
*
CITHEN   DATA     0                 C:CIT AT START OF THIS TIME INTERVAL
DRTHEN   EQU      %                 CH:DRT AT START OF THIS TIME INTERVA
         DO       S
         DATA     0
         FIN
RT90THEN DATA     0                 90% RESPONSE POINT THEN
         FIN
*
C:LAST   EQU      PMDAT+PMDATSZ     LAST PMDAT LOC REQUIRED BY CONTROL
         DEF      C:NOQ
C:NOQ    DATA     0                 COUNT OF TIMES NO I/O QUEUE AVAIL
*
*
C:RT90   DATA     0    NINETY, POINT OF RESPONSE TIME
         DO       O
C:SC     DATA     0
C:SQ     RES      1
         FIN
C:TIC    DATA     0                 # OF TICS SINXCE START UP
C:CTUN   DATA     600
C:TINC   EQU      TINC
TINC     DATA     600
C:ETM    DATA     1                 EXECUTION TIME MULTIPLIER
         DO       O
C:CIT    DATA     0    NUMBER OF INTERACTIONS
C:CITI   DATA     0    NUMBER OF INTERACTIVE INTERACTIONS
C:PROCREQ DATA    0                 # TIMES PROCESSOR REQUIRED
C:NOPROC DATA     0                 # TIMES PROCESSOR NOT IN CORE
C:RECYCLE DATA    0,0,0             # TIMES MORE THAN 1 PASS THROUGH
         FIN
*                                   QUEUES WAS REQUIRED FOR
*                                   1) EXECUTION, 2) INSWAP AND
*                                   3) OUTSWAP
*
C:NS     RES      1
C:NSP    RES      1
         DO       O
*I/O
C:CAL    RES      1   NUMBER OF CALS ISSUED
C:CTW    RES      1   NUMBER OF TERMINAL WRITES
C:CI     RES      1                 # OF CHARS INPUT
C:CO     RES      1                 # OF CHARS OUTPUT
         FIN
C:RTRW   RES      1   NUMBER OF I/O ACTIONS TO RAD & TAPE
C:CSC    RES      1   NUMBER OF SYMBIONT & COOP READS & WRITES
         DO1      O
C:COS    RES      1   NUMBER OF OUT SWAPS
*CPU  TIME SUMS
C:SCO    RES      P   ON-LINE USER
         DO1      O
C:MSO    RES      1   ON-LINE MONITOR SERVICES
C:SCB    RES      P   ON-LINE USER
         DO1      O
C:MSB    RES      1   BATCH MONITOR SERVICES
C:PROCN  DATA     0                 NUMBER OF PROCESSOR TO BE
*                                   MONITORED WITH EXTENDED
*                                   DISTRIBUTIONS
         DEF      C:PROCN
C:OVHD   RES      1   OVERHEAD
C:IDLE   RES      1   IDLE
C:IDLES  RES      1   I/O WAIT
C:IDLEW  RES      1
C:IDLESW RES      1
         DEF      C:IDLEW,C:IDLESW
*SUMS
         DO       O
C:SIT    RES      1   INTERACTION TIME
C:SRT    RES      1   RESPONSE TIME
C:STT    RES      2
C:ST     RES      2
C:SCI    RES      1   CPU TIME FOR INTERACTIVE INTERACTIONS
*DISTRIBUTIONS
*
CH:DI1   EQU      %                 PROC & JIT IN SWAP TIME
         DATA,2   2,2               SCALE FACTOR = 2, LINEAR SCALE
         RES      S
*
CH:DI2   EQU      %                 REST OF USER INSWAP TIME
         DATA,2   2,2               SCALE FACTOR = 2, LINEAR SCALE
         RES      S
*
CH:DI3   EQU      %                 INSWAP TWO FROM END OF JIT TO
         DATA,2   2,2               SCALE FACTOR = 2,LINEAR SCALE
         RES      S
*
CH:DOT   EQU      %                 OUTSWAP TIME
         DATA,2   2,2               SCALE FACTOR =2, LINEAR SCALE
         RES      S
CH:DOS   EQU      %           USERS OUT PER SWAP
         DATA,1   0,1,3,3    /1; COUNT; SPECIAL LINEAR SCALE
         RES      S
CH:DRT   EQU      %           RESPONSE TIME
         DATA,1   0,1,2,1           *I,MS; LOG SCALE
         RES      S
CH:DIT   EQU      %           INTERACTION TIME
         DATA     X'01F40101'  /500; SECOND; LOG SCALE
         RES      S
CH:DTT   EQU      %          TURN AROUND TIME
         DO       2
         DATA     X'01F40101'  /500; SECOND; LOG SCALE
         RES      S
         FIN
CH:DT    EQU      %           THINK + TYPE TIME
         DO       2
         DATA     X'01F40101'  /500; SECOND; LOG SCALE
         RES      S
         FIN
CH:DC    EQU      %           COMPUTE TIME
         DO       2
         DATA,1   0,1,2,1    *2; MILLISECONDS; LOG SCALE
         RES      S
         FIN
CH:DLI   EQU      %          INPUT LENGTH
         DO       2
         DATA,1   0,1,3,2     /1; COUNT; LINEAR SCALE
         RES      S
         FIN
CH:DLO   EQU      %           OUTPUT LENGTH
         DO       2
         DATA,1   0,1,3,2     /1; COUNT; LINEAR SCALE
         RES      S
         FIN
*
         FIN
         DEF      GARBTIME
GARBTIME DATA     0                 TIME SPENT IN CFU GARBAGE COLLECTION
PMDATSZ  EQU      %-PMDAT
         END

