1 /*        Begin  include file ... oc_log_meters.incl.pl1
 2 *
 3 *         Created by  Bill Silver  on 08/11/73
 4 *         This include file defines the meter areas used by the operator's console
 5 *         software.  These meter areas are used to keep statistics about the wired
 6 *         buffers listed below.  If this include files is changed the size of all
 7 *         of these areas may also have to be changed.
 8 *
 9 *         METER AREA                    WIRED BUFFER
10 *         ----------                    ------------
11 *         oc_data$sys_meters            syserr write buffer
12 *         oc_data$dim_meters            dim write buffer
13 *         wired_log_data$log_meters     wired syserr log buffer
14 */
15 
16 dcl       olm_ptr             ptr;                /* Pointer to an oc or log meter area. */
17 
18 
19 dcl    1  olm       based(olm_ptr)    aligned,
20 
21           2  totl_time        fixed bin(71),      /* Time elapsed since meters initialized. */
22           2  last_time        fixed bin(71),      /* Time metering last performed. */
23           2  full_time        fixed bin(71),      /* Total time buffer was full. */
24           2  empt_time        fixed bin(71),      /* Total time buffer was empty. */
25 
26           2  tw_ave           fixed bin(71),      /* Time weighted average number of entries
27                                                   *  in the buffer.   Actually this is just
28                                                   *  a total.  To get the average just divide
29                                                   *  by  olm.totl_time. */
30           2  len_ave          fixed bin(71),      /* Average length of message texts.  Actually
31                                                   *  this is just the total.  To get the average
32                                                   *  just divide by  olm.tot_num. */
33 
34           2  tot_num          fixed bin,          /* Total number of entries put into buffer. */
35           2  max_num          fixed bin,          /* Maximum number of entries ever in buffer. */
36           2  full_num         fixed bin,          /* Total number of times buffer was full. */
37           2  full_flag        bit(1);             /* ON => buffer is now full. */
38 
39 
40 /*        End of include file ... oc_log_meters.incl.pl1              */