
                               					20-May-1983 10:18:35	VAX-11 FORTRAN V3.2-37              Page   1
								 4-May-1983 15:02:18	CAD$VOLSET:[GARY.STATS.SOURCE]STATUP.FOR;4  

0001    !
0002    !			  COPYRIGHT (c) 1982 BY
0003    !	      MOSTEK CORPORATION, CARROLLTON TX
0004    !
0005    ! This software is furnished under a license and may be used and  copied
0006    ! only  in  accordance  with  the  terms  of  such  license and with the
0007    ! inclusion of the above copyright notice.  This software or  any  other
0008    ! copies  thereof may not be provided or otherwise made available to any
0009    ! other person.  No title to and ownership of  the  software  is  hereby
0010    ! transferred.
0011    !
0012    ! The information in this software is subject to change  without  notice
0013    ! and  should  not  be  construed  as  a commitment by MOSTEK
0014    ! CORPORATION.
0015    !
0016    ! MOSTEK assumes no responsibility for the use or  reliability  of  its
0017    ! software on equipment which is not supplied by MOSTEK.
0018    !
0019     
0020    !++
0021    ! FACILITY:
0022    !   MOSTEK CORPORATION
0023    !
0024    ! ABSTRACT:
0025    !   One of the things that VMS keeps on itself is how long it has been
0026    !   in operation since boot. This routine fronts for the MACRO that
0027    !   does all the work.
0028    !
0029    ! ENVIRONMENT:
0030    !   VAX11 VMS
0031    !
0032    ! AUTHOR: Gary Smith, CREATION DATE: 6/24/82
0033    !
0034    ! MODIFIED BY:
0035    !
0036    !--
0037    !
0038    ! TABLE OF CONTENTS:
0039    !
0040    !
0041    ! INCLUDE FILES:
0042    !   mousesubs.for
0043    !
0044    ! MACROS:
0045    !   none
0046    !
0047    ! EQUATED SYMBOLS:
0048    !   see mousesubs.for
0049    !
0050    ! EXTERNAL REFERENCES:
0051    !   UPTIME
0052     
0053    !++
0054    ! FUNCTIONAL DESCRIPTION:
0055    !   Because FORTRAN does not support a 64 bit multiply, it is necessary to
0056    !   call a MACRO routine to do this.
0057    !

                               					20-May-1983 10:18:35	VAX-11 FORTRAN V3.2-37              Page   2
								 4-May-1983 15:02:18	CAD$VOLSET:[GARY.STATS.SOURCE]STATUP.FOR;4  

0058    !
0059    ! FORMAL PARAMETERS:
0060    !   none
0061    !
0062    !
0063    ! IMPLICIT INPUTS:
0064    !   time
0065    !
0066    !
0067    ! IMPLICIT OUTPUTS:
0068    !    time
0069    !
0070    !
0071    ! ROUTINE VALUE and
0072    ! COMPLETION CODES:
0073    !   none
0074    !
0075    !
0076    ! SIDE EFFECTS:
0077    !   none to date
0078    !
0079    !
0080    !--
0081              SUBROUTINE STATUP  !! Get the time the system has been up
0082     
0083              include 'mousesubs.for'
0286              include 'defrec.for'
0388     
0389              external uptime
0390     
0391              call uptime( rec_time )
0392     
0393              return
0394              end

STATUP                         					20-May-1983 10:18:35	VAX-11 FORTRAN V3.2-37              Page   3
								 4-May-1983 15:02:18	CAD$VOLSET:[GARY.STATS.SOURCE]STATUP.FOR;4  

PROGRAM SECTIONS

    Name				 Bytes   Attributes

  0 $CODE                                   17   PIC CON REL LCL   SHR   EXE   RD NOWRT LONG
  2 $LOCAL                                   8   PIC CON REL LCL NOSHR NOEXE   RD   WRT LONG
  3 REC_COMMON                             348   PIC OVR REL GBL   SHR NOEXE   RD   WRT LONG

    Total Space Allocated                  373


ENTRY POINTS

    Address  Type  Name                                        References

  0-00000000       STATUP                                         81     


VARIABLES

    Address  Type  Name                            Attributes  References

  3-00000108  I*4  REC_RESPONSE                    COMM EQUIV    289       346     


ARRAYS

    Address  Type  Name                            Attributes        Bytes  Dimensions       References

  3-00000000  I*4  REC_CPU_MODES                   COMM EQUIV          36  (9)                 291       303     
  3-00000024  I*4  REC_FCP                         COMM EQUIV          20  (5)                 297       310     
  3-00000120  I*4  REC_LOCK_MODES                  COMM EQUIV          28  (7)                 299       365     
  3-00000080  I*4  REC_MEM_MODES                   COMM EQUIV           8  (2)                 292       315     
  3-00000038  I*4  REC_MISC                        COMM EQUIV          72  (18)                294       312     

  3-0000010C  I*4  REC_NET_MODES                   COMM EQUIV          20  (5)                 298       355     
  3-00000088  I*4  REC_PGFLT                       COMM EQUIV          28  (7)                 296       319     
  3-0000013C  I*4  REC_POOL_MODES                  COMM EQUIV          32  (8)                 300       376     
  3-000000A4  I*4  REC_SCH_STATE                   COMM EQUIV          56  (14)                295       324     
  3-000000DC  I*4  REC_SWAP                        COMM EQUIV          36  (9)                 293       330     

  3-00000100  I*4  REC_TIME                        COMM EQUIV           8  (2)                 290       337       391A    
  3-00000000  I*4  STATS_REC                       COMM EQUIV         348  (87)                287       301       303     
											       310       312       315     
											       319       324       330     
											       337       346       355     
											       365       376     


PARAMETER CONSTANTS

  Type  Name                                                   References

   I*2  ARRLOCPK                                                 230#    
   I*2  ARRTRAPK                                                 231#    
   CHAR ASCII_DELTA_TIME                                          88        89#    
   I*2  BIGHOLE                                                  264#    

STATUP                         					20-May-1983 10:18:35	VAX-11 FORTRAN V3.2-37              Page   4
								 4-May-1983 15:02:18	CAD$VOLSET:[GARY.STATS.SOURCE]STATUP.FOR;4  

   I*2  BJOBCNT                                                  120#    

   I*2  BUFIO                                                    141#    
   I*2  CEF                                                      187#    
   I*2  COLPG                                                    185#    
   I*2  COM                                                      196#    
   I*2  COMO                                                     197#    

   I*2  COMPAT                                                   118#    
   I*2  CPU_SIZE                                                 123#      280       291       310       312       315     
							         319       324       330       337       346       355     
							         365       376     
   I*2  CUR                                                      198#    
   I*2  DEPLOCPK                                                 232#    
   I*2  DEQ                                                      246#    

   I*2  DIRHIT                                                   150#    
   I*2  DIRIO                                                    140#    
   I*2  DIRMISS                                                  151#    
   I*2  DLCKFND                                                  247#    
   I*2  DLCKSRCH                                                 248#    

   I*2  DZROFLTS                                                 172#    
   I*2  ENQCVT                                                   249#    
   I*2  ENQNEW                                                   244#    
   I*2  ENQNOTQD                                                 250#    
   I*2  ENQWAIT                                                  245#    

   I*2  EXEC                                                     115#    
   I*2  EXTHIT                                                   152#    
   I*2  EXTMISS                                                  153#    
   I*2  FAULTS                                                   173#    
   I*2  FCP_CACHE                                                130#    

   I*2  FCP_CALLS                                                129#    
   I*2  FCP_CPU                                                  131#    
   I*2  FCP_READ                                                 132#    
   I*2  FCP_SIZE                                                 135#      280       297       312       315       319     
							         324       330       337       346       355       365     
							         376     
   I*2  FCP_WRITE                                                133#    

   I*2  FIDHIT                                                   154#    
   I*2  FIDMISS                                                  155#    
   I*2  FPG                                                      195#    
   I*2  FREECNT                                                  164#    
   I*2  GETDVI_EF                                                103#    

   I*2  HIB                                                      191#    
   I*2  HIBO                                                     192#    
   I*2  HISWPCNT                                                 210#    
   I*2  HIT                                                      147#    
   I*2  HOLECNT                                                  263#    

   I*2  HOLESUM                                                  267#    
   I*2  HOSWPCNT                                                 209#    
   I*2  IDLE                                                     119#    

STATUP                         					20-May-1983 10:18:35	VAX-11 FORTRAN V3.2-37              Page   5
								 4-May-1983 15:02:18	CAD$VOLSET:[GARY.STATS.SOURCE]STATUP.FOR;4  

   I*2  IJOBCNT                                                  121#    
   I*2  INT                                                      117#    

   I*2  IRPCNT                                                   262#    
   I*2  ISPAGCNT                                                 205#    
   I*2  ISWPCNT                                                  206#    
   I*2  KERNEL                                                   113#    
   I*2  KEY_SIZE                                                 109#    

   I*2  LEF                                                      189#    
   I*2  LEFO                                                     190#    
   I*2  LOCK_SIZE                                                255#      280       299       376     
   I*2  LOGNAM                                                   142#    
   I*2  LRPCNT                                                   268#    

   I*2  MBREADS                                                  143#    
   I*2  MBWRITES                                                 144#    
   I*2  MEM_SIZE                                                 167#      280       292       319       324       330     
							         337       346       355       365       376     
   I*2  MFYCNT                                                   165#    
   I*2  MISC_SIZE                                                159#      280       294       315       319       324     
							         330       337       346       355       365       376     

   I*2  MWAIT                                                    186#    
   I*2  NET_SIZE                                                 239#      280       298       365       376     
   I*2  NUM_MODES                                                124#    
   I*2  OPEN                                                     149#    
   I*2  OPENS                                                    148#    

   I*2  OSWPCNT                                                  208#    
   I*2  PFW                                                      188#    
   I*2  PGFLT_SIZE                                               180#      280       296       324       330       337     
							         346       355       365       376     
   I*2  POOL_SIZE                                                275#      280       300     
   I*2  PREADIO                                                  174#    

   I*2  PREADS                                                   176#    
   I*2  PROCCNT                                                  207#    
   I*2  PWRITES                                                  177#    
   I*2  PWRITIO                                                  175#    
   I*2  QUOHIT                                                   156#    

   I*2  QUOMISS                                                  157#    
   I*2  RCVBUFFL                                                 233#    
   I*2  RDFLTS                                                   178#    
   I*2  REC_SIZE                                                 280#      301     
   I*2  RES                                                      225#    

   I*2  RESPONSE_SIZE                                            224#      280       355       365       376     
   I*2  SCH_SIZE                                                 200#      280       295       330       337       346     
							         355       365       376     
   I*2  SMALLCNT                                                 266#    
   I*2  SMALLHOLE                                                265#    
   I*2  SPLIT                                                    146#    

   I*2  SRPCNT                                                   269#    
   CHAR STANDARD_NEST_FILE                                        95        96#    

STATUP                         					20-May-1983 10:18:35	VAX-11 FORTRAN V3.2-37              Page   6
								 4-May-1983 15:02:18	CAD$VOLSET:[GARY.STATS.SOURCE]STATUP.FOR;4  

   I*2  SUPER                                                    114#    
   I*2  SUSP                                                     193#    
   I*2  SUSPO                                                    194#    

   I*2  SWAP_SIZE                                                212#      280       293       337       346       355     
							         365       376     
   I*2  SWAP_SPARES                                              213#    
   I*2  TIME_SIZE                                                218#      280       290       346       355       365     
							         376     
   I*2  TRCNGLOS                                                 234#    
   I*2  TURN                                                     145#    

   I*2  USER                                                     116#    
   I*2  WAIT_EF                                                  102#    


FUNCTIONS AND SUBROUTINES REFERENCED

  Type  Name                                                   References

        UPTIME                                                   389       391     


  +----------------------------------------------+
  |           KEY TO REFERENCE FLAGS             |
  |   =   - Value Modified                       |
  |   #   - Defining Reference                   |
  |   A   - Actual Argument, possibly modified   |
  |   D   - Data Initialization                  |
  |  (n)  - Number of occurrences on line        |
  +----------------------------------------------+



COMMAND QUALIFIERS

  FORTRAN /DEBUG/OBJECT=OBJ:STATUP/LIST=LIS:STATUP/CONT=99/CROSS/NOOPT SRC:STATUP

  /CHECK=(NOBOUNDS,OVERFLOW,NOUNDERFLOW)
  /DEBUG=(SYMBOLS,TRACEBACK)
  /STANDARD=(NOSYNTAX,NOSOURCE_FORM)
  /SHOW=(NOPREPROCESSOR,NOINCLUDE,MAP)
  /F77  /NOG_FLOATING  /I4  /NOOPTIMIZE  /WARNINGS  /NOD_LINES  /CROSS_REFERENCE  /NOMACHINE_CODE  /CONTINUATIONS=99


COMPILATION STATISTICS

  Run Time:           1.78 seconds
  Elapsed Time:       4.85 seconds
  Page Faults:        415
  Dynamic Memory:     842 pages
