1 /* BEGIN INCLUDE FILE...fnp_channel_meters.incl.pl1 */
 2 
 3 /* This include file defines meters returned for subchannels of an FNP. */
 4 
 5 /* Created February 1981 by Robert Coren from fnp_meters.incl.pl1. */
 6 
 7 dcl  fnp_chan_meterp pointer;
 8 dcl  FNP_CHANNEL_METERS_VERSION_1 fixed bin int static options (constant) init (1);
 9 
10 dcl 1 fnp_chan_meter_struc based (fnp_chan_meterp) aligned,
11     2 version fixed bin,
12     2 flags,
13       3 synchronous bit (1) unaligned,
14       3 reserved bit (35) unaligned,
15     2 current_meters like fnp_channel_meters,
16     2 saved_meters like fnp_channel_meters;
17 
18 dcl 1 fnp_channel_meters based aligned,
19     2 header,
20       3 dia_request_q_len fixed bin (35),                             /* cumulative */
21       3 dia_rql_updates fixed bin (35),                     /* updates to above */
22       3 pending_status fixed bin (35),                      /* cumulative */
23       3 pending_status_updates fixed bin (35),              /* updates to above */
24       3 output_overlaps fixed bin (18) unsigned unaligned,  /* output chained to already-existing chain */
25       3 parity_errors fixed bin (18) unsigned unaligned,    /* parity on the channel */
26       3 software_status_overflows fixed bin (18) unsigned unaligned,
27       3 hardware_status_overflows fixed bin (18) unsigned unaligned,
28       3 input_alloc_failures fixed bin (18) unsigned unaligned,
29       3 dia_current_q_len fixed bin (18) unsigned unaligned,          /* current length of dia request queue */
30       3 exhaust fixed bin (35),
31       3 software_xte fixed bin (18) unsigned unaligned,
32       3 pad bit (18) unaligned,
33     2 sync_or_async (17) fixed bin;                         /* placeholder for meters for sync or async channels */
34 
35 dcl 1 fnp_sync_meters based aligned,
36     2 header like fnp_channel_meters.header,
37     2 input,
38       3 message_count fixed bin (35),                       /* total number of messages */
39       3 cum_length fixed bin (35),                          /* total cumulative length in characters */
40       3 min_length fixed bin (18) unsigned unaligned,       /* length of shortest message */
41       3 max_length fixed bin (18) unsigned unaligned,       /* length of longest message */
42     2 output like fnp_sync_meters.input,
43     2 counters (8) fixed bin (35),
44     2 pad (3) fixed bin;
45 
46 dcl 1 fnp_async_meters based aligned,
47     2 header like fnp_channel_meters.header,
48     2 pre_exhaust fixed bin (35),
49     2 echo_buf_overflow fixed bin (35),                     /* number of times echo buffer has overflowed */
50     2 bell_quits fixed bin (18) unsigned unaligned,
51     2 padb bit (18) unaligned,
52     2 pad (14) fixed bin;
53 
54 /* END INCLUDE FILE...fnp_channel_meters.incl.pl1 */