         PCC      0
*M*      PMDAT    PERFORMANCE MEASUREMENT DATA BASE
         SPACE    3
*P*      NAME:    PMDAT
         SPACE    1
*P*      DESCRIPTION:
*P*               THIS MODULE CONTAINS THE DATA BASE FOR PERFORMANCE
*P*               MONITORING
         PAGE
*
*        MODULE DEFINITIONS
*
         DEF      BGNPMPRC          INDEX USED BY STATS
         DEF      C:CFU             # OF CFUS IN USE
         DEF      C:CI              # CHARACTERS INPUT
         DEF      C:CIT             # INTERACTIONS
         DEF      C:CITI            # INTERACTIVE INTERACTONS
         DEF      C:CO              # CHARACTERS OUTPUT
         DEF      C:COS             # OUTSWAPS
         DEF      C:CTW             # TERMINAL WRITES
         DEF      C:CSC             # SYMBIONT & COOP READS & WRITES
         DEF      C:ETM             EXECUTION TIME MULTIPLIER
         DEF      C:IDLE            PRIMARY CPU IDLE TIME IN TICS
         DEF      C:IDLES           PRIMARY CPU IDLE I/O WAIT TIME
         DEF      C:IDLESW          PRIMARY CPY IDLE I/O SWAP WAIT TIME
         DEF      C:IDLEW           PRIMARY CPU IDLE & SWAP WAIT TIME
         DEF      C:LAST            LENGTH OF PMDAT MODULE
         DEF      C:MPOOL           # OF MPOOLS IN USE
         DEF      C:MSB             MONITOR SERVICE TIME-BATCH IN TICS
         DEF      C:MSG             MONITOR SERVICE TIME-GHOST
         DEF      C:MSO             MONITOR SERVICE TIME-ONLINE
         DEF      C:NOPROC          #TIMES PROCESSOR NOT IN CORE
         DEF      C:NOQ             #TIMES NO I/O QUEUE ENTRY AVAILABLE
         DEF      C:NSP             #SWAP SCHEDULE FAILURES
         DEF      C:OVHD            OVERHEAD TIME
         DEF      C:PROCN           PROCESSOR INDEX TO BE MONITORED
         DEF      C:PROCREQ         #TIMES PROCESSOR REQUIRED
         DEF      C:RECYCLE         TABLE OF #TIMES >1 PASS THRU QUEUES
*,*                                 REQUIRED FOR 1)EXECUTION
*,*                                 2)INSWAP 3)OUTSWAP
         DEF      C:RTRW            #I/O ACTIONS TO DISK &TAPE
         DEF      C:RT90            90 % RESPONSE TIME IN MSEC
         DEF      C:SC              INTERACTIVE COMPUTE TIME
         DEF      C:SCB             BATCH COMPUTE TIME
         DEF      C:SCG             GHOST COMPUTE TIME
         DEF      C:SCHED           #SCHEDULING OPERATIONS/CPU
         DEF      C:SCI             CPU TIME INTERACTIVE INTERACTIONS
         DEF      C:SCO             ONLINE COMPUTE TIME
         DEF      C:SIDLE           SECONDARY CPU IDLE TIME
         DEF      C:SIT             INTERACTION TIME
         DEF      C:SRT             RESPONSE TIME
         DEF      C:ST              THINK TYPE TIME
         DEF      C:STT             TASK TURNAROUND TIME
         DEF      C:SUSER           SECONDARY CPU USER EXEC TIME
         DEF      C:TRUNC           # OF TRUNCS
         DEF      CH:DC             COMPUTE TIME DISTRIBUTION TABLE
         DEF      CH:DIT            INTERACTION TIME DISTRIBUTION TABLE
         DEF      CH:DI1            PROC JIT INSWAP TIME
*,*                                 DISTRIBUTION TABLE
         DEF      CH:DI2            REST OF USER INSWAP TIME
*,*                                 DISTRIBUTION TABLE
         DEF      CH:DI3            INSWAP TIME FROM END OF JIT TO
*,*                                 END OF USER DISTRIBUTION TABLE
         DEF      CH:DLI            INPUT LENGTH DISTRIBUTION TABLE
         DEF      CH:DLO            OUTPUT LENGTH DISTRIBUTION TABLE
         DEF      CH:DOS            #USERSOUT/SWAP DISTRIBUTION TABLE
         DEF      CH:DOT            OUTSWAP TIME DISTRIBUTION TABLE
         DEF      CH:DRT            RESPONSE TIME DISTRIBUTION TABLE
         DEF      CH:DT             THINK TYPE TIME DISTRIBUTION TABLE
         DEF      CH:DTT            TURNAROUND TIME DISTRIBUTION TABLE
         DEF      CH:SWAPT          TIME AT END OF PREVIOUS SWAP
         DEF      CITHEN            C:CIT AT START OF CURRENT INTERVAL
         DEF      DID%IO            I/O OCCURRED IN SWAPPER FLAG
         DEF      DRTHEN            CH:SRT AT START OF CURRENT INTERVAL
         DEF      DTBLWSZ           # DISTRIBUTION BUCKETS
         DEF      ENDPMPRC          #PROCESSORS TO BE MEASURED
         DEF      GARBTIME          TIME IN CFU GARBAGE COLLECTION
         DEF      PMDAT:            MODULE START
         DEF      RT90THEN          90%RESPONSE TIME
*,*                                 AT START OF CURRENT INTERVAL
*
*        MODULE REFERENCES
*
         REF      MAXOVLY           #MONITORS OVERLAYS+1
         PAGE
*
*        SYMBOL DEFINITIONS
*
DTBLWSZ  EQU      7                 # DISTRIBUTION BUCKETS
MAXCPU   EQU      3                 MAX # OF SECONDARY CPUS
ENDPMPRC EQU      10                #PROCESSORS TO BE MEASURED
BGNPMPRC EQU      MAXOVLY+5         STARTING INDEX FOR STATS
         PAGE
PMDAT:   EQU      %                 START OF MODULE
C:LAST   EQU      PMDAT:+PMDATSZ    LENGHT OF MODULE
*
DID%IO   DATA     0                 NONZERO = I/O OCCURRED IN SWAPPER
CH:SWAPT DATA     0                 TIME AT END OF PREVIOUS SWAP
*
CITHEN   DATA     0                 #INTERACTIONS (C:CIT) AT START
*                                   OF CURRENT INTERVAL
DRTHEN   EQU      %                 RESPONSE TIME (CH:DRT) AT START OF
*                                   CURRENT INTERVAL
         DO1      DTBLWSZ
         DATA     0
RT90THEN DATA     0                 90% RESPONSE TIME
*                                   AT START OF CURRENT INTERVAL
C:RT90   DATA     0                 90%RESPONSE TIME
C:NOQ    DATA     0                 #TIMES NO I/O QUEUE AVAILABLE
*
C:ETM    DATA     1                 EXECUTION TIME MULTIPLIER
*
C:CIT    DATA     0                 # INTERACTIONS
C:CITI   DATA     0                 # 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 >1 PASS THRU QUEUES NEEDED
*                                   FOR 1) EXECUTION, 2)INSWAP
*                                   3)OUTSWAP
C:NSP    DATA     0                 #SWAP SCHEDULE FAILURES
*
C:MPOOL  DATA     0                 # OF MPOOLS IN USE
C:CFU    DATA     0                 # OF CFUS IN USE
C:TRUNC  DATA     0                 # OF TRUNCS
*
C:CTW    DATA     0                 # TERMINAL WRITES
C:CI     DATA     0                 # CHARACTERS INPUT
C:CO     DATA     0                 # CHARACTERS OUTPUT
C:RTRW   DATA     0                 # I/O ACTIONS TO DISK & TAPE
C:CSC    DATA     0                 # SYMBIONT & COOP READS & WRITES
C:COS    DATA     0                 # OUTSWAPS
*
*        CPU TIMES SUM TABLES
*                 MUST BE IN THIS ORDER
*
C:SCO    EQU      %                 ONLINE USER COMPUTE TIME
         DO1      ENDPMPRC+2
         DATA     0
C:MSO    DATA     0                 MONITOR SERVICE ONLINE
C:SCB    EQU      %                 BATCH USER COMPUTE TIME
         DO1      ENDPMPRC+2
         DATA     0
C:MSB    DATA     0                 MONITOR SERVICE BATCH
C:SCG    EQU      %                 GHOST USER COMPUTE TIME
         DO1      ENDPMPRC+2
         DATA     0
C:MSG    DATA     0                 MONITOR SERVICE GHOST
*
*
C:PROCN  DATA     0                 INDEX # PROCESSOR TO BE MONITORED
*                                   WITH EXTENDED DISTRIBUTIONS
*
C:SIDLE  EQU      %-1               SECONDARY CPU IDLE TIME
         DO1      MAXCPU
         DATA     0
C:SUSER  EQU      %-1               SECONDARY CPU EXEC TIME
         DO1      MAXCPU
         DATA     0
C:SCHED  EQU      %                 MAX # OF SCHEDULES
         DO1      MAXCPU+1
         DATA     0
*
C:OVHD   DATA     0                 OVERHEAD TIME
C:IDLE   DATA     0                 PRIMARY CPU IDLE TIME IN TICS
C:IDLES  DATA     0                 PRIMARY CPU I/O WAIT TIME
C:IDLEW  DATA     0                 PRIMARY CPU SWAP WAIT TIME
C:IDLESW DATA     0                 PRIMARY CPU I/O &SWAP WAIT TIME
*
*        SUM TABLES
*
C:SIT    DATA     0                 INTERACTION TIME
C:SRT    DATA     0                 RESPONSE TIME
C:SCI    DATA     0                 INTERACTIVE INTERACTIONS TIME
C:SC     DATA     0,0               INTERACTIVE COMPUTE TIME
C:ST     DATA     0,0               THINK TYPE TIME
C:STT    DATA     0,0               TASK TURNAROUND TIME
*
*        DISTRIBUTION TABLES
*
CH:DI1   EQU      %                 PROC & JIT INSWAP TIME
         DATA,2   1,1               SCALE=1:1,LINEAR
         DO1      DTBLWSZ
         DATA     0
*
CH:DI2   EQU      %                 REST OF USER INSWAP TIME
         DATA,2   1,1               SCALE=1:1,LINEAR
         DO1      DTBLWSZ
         DATA     0
*
CH:DI3   EQU      %                 INSWAP TIME END OF JIT->END USER
         DATA,2   1,1               SCALE=1:1,LINEAR
         DO1      DTBLWSZ
         DATA     0
*
CH:DOT   EQU      %                 OUTSWAP TIME
         DATA,2   1,1               SCALE=1:1,LINEAR
         DO1      DTBLWSZ
         DATA     0
*
CH:DOS   EQU      %                 USERS OUT PER SWAP
         DATA,1   0,1,3,3           /1;COUNT;SPECIAL LINEAR SCALE
         DO1      DTBLWSZ
         DATA     0
*
CH:DRT   EQU      %                 RESPONSE TIME
         DATA,1   0,1,2,1           *I,MS;LOG SCALE
         DO1      DTBLWSZ
         DATA     0
*
CH:DIT   EQU      %                 INTERACTION TIME
         DATA     X'01F40101'       /500;SECOND;LOG SCALE
         DO1      DTBLWSZ
         DATA     0
*
CH:DTT   EQU      %                 TURNAROUND TIME
         DATA     X'01F40101'       /500;SECOND:LOG SCALE
         DO1      DTBLWSZ
         DATA     0
         DATA     X'01F40101'       /500;SECOND;LOG SCALE
         DO1      DTBLWSZ
         DATA     0
*
CH:DT    EQU      %                 THINK TYPE TIME
         DATA     X'01F40101'       /500;SECOND:LOG SCALE
         DO1      DTBLWSZ
         DATA     0
         DATA     X'01F40101'
         DO1      DTBLWSZ
         DATA     0
*
CH:DC    EQU      %                 COMPUTE TIME
         DATA,1   0,1,2,1           *2;MSEC;LOG SCALE
         DO1      DTBLWSZ
         DATA     0
         DATA,1   0,1,2,1           *2;MSEC;LOG SCALE
         DO1      DTBLWSZ
         DATA     0
*
CH:DLI   EQU      %                 INPUT LENGTH
         DATA,1   0,1,3,2           /1;COUNT;LINEAR SCALE
         DO1      DTBLWSZ
         DATA     0
         DATA,1   0,1,3,2           /1;COUNT;LINEAR SCALE
         DO1      DTBLWSZ
         DATA     0
*
CH:DLO   EQU      %                 OUTPUT LENGTH
         DATA,1   0,1,3,2           /1;COUNT;LINEAR SCALE
         DO1      DTBLWSZ
         DATA     0
         DATA,1   0,1,3,2           /1;COUNT;LINEAR SCALE
         DO1      DTBLWSZ
         DATA     0
*
GARBTIME DATA     0                 TIME SPENT IN CFU GARBAGE COLLECTING
*
PMDATSZ  EQU      %-PMDAT:
         END

