1 "         BEGIN INCLUDE FILE tc_meters.incl.alm
  2 "
  3 "         BOS knows the offsets of some of these cells within tc_data
  4 "         These cells should not be moved without changing BOS:
  5 "                   apt_offset - o253 - offset of first apte in upper
  6 "                   apt_size - o313 - number of apte's in lower
  7 "                   apt_entry_size - o327 - size of an apte in lower
  8 "
  9 "         Modified 84.12.06 by Keith Loepere for page create delaying.
 10 "         Modified 84.11.26 by Keith Loepere for uid_array.
 11 "         Modified 84.05.21 by M. Pandolf to add tc_suspend_lock
 12 "         Modified 830913 to replace tty_polling_time with opc_polling_time... -E. A. Ranzenbach
 13 "
 14 " HISTORY COMMENTS:
 15 "  1) change(2018-05-31,Anthony), approve(2018-05-31,MCR10050),
 16 "     audit(2019-05-11,Swenson), install(2019-05-11,MR12.6g-0017):
 17 "     Promote loop_lock_time to fixed bin (71).
 18 "                                                      END HISTORY COMMENTS
 19 
 20           equ       tc_suspend_lock,0
 21           equ       cid2,3
 22           equ       cid3,4
 23           equ       cid4,5
 24           equ       depth_count,6
 25           equ       loadings,7
 26           equ       blocks,8
 27           equ       wakeups,9
 28           equ       waits,10
 29           equ       notifies,11
 30           equ       schedulings,12
 31           equ       interactions,13
 32           equ       avequeue,14
 33           equ       te_wait,15
 34           equ       te_block,16
 35           equ       te_i_stop,17
 36           equ       te_pre_empt,18
 37           equ       p_interactions,19
 38           equ       idle_time,20                  DOUBLE
 39           equ       mp_idle,22                    DOUBLE
 40           equ       nmp_idle,24                   DOUBLE
 41           equ       zero_idle,26                  DOUBLE
 42           equ       last_time,28                  DOUBLE
 43           equ       loop_locks,30
 44           equ       obs_loop_lock_time,31
 45           equ       ave_eligible,32
 46           equ       sort_to_elhead,33
 47           equ       processor_time,34             DOUBLE
 48           equ       response_time,36              DOUBLE
 49           equ       eligible_time,38              DOUBLE
 50           equ       response_count,40
 51           equ       eligible_count,41
 52           equ       quit_counts,42      " array of buckets indexed by process state
 53           equ       loading_idle,48               DOUBLE
 54           equ       delta_vcpu,50                 DOUBLE
 55           equ       post_purge_switch,52
 56           equ       time_out_severity,53
 57           equ       notify_check,54
 58           equ       quit_priority,55
 59           equ       iobm_polling_time_loc,56      DOUBLE
 60           equ       end_of_time_loc,58            DOUBLE
 61           equ       gp_at_notify,60
 62           equ       gp_at_ptlnotify,61
 63           equ       int_q_enabled,62
 64           equ       fnp_buffer_threshold,63
 65 
 66           equ       max_depth,8
 67           equ       depths,64
 68           equ       tdepth,depths+max_depth       ARRAY OF DOUBLE
 69           equ       pfdepth,tdepth+2*max_depth
 70 
 71           equ       ptl_not_waits,96
 72           equ       gw_gp_window_count,97
 73           equ       metering_lock,98
 74           equ       ptl_waits,99
 75           equ       gp_start_count,100
 76           equ       gp_done_count,101
 77           equ       nto_check_time,102  "DOUBLE
 78           equ       nto_delta,104
 79           equ       nto_count,105
 80           equ       tcpu_scheduling,106
 81           equ       nto_event,107
 82           equ       page_notifies,108
 83           equ       notify_nobody_count,109
 84           equ       notify_nobody_event,110
 85           equ       system_type,111
 86           equ       statistics,112      sixteen words RESERVED for states
 87 
 88           equ       waittime,128
 89           equ       readytime,waittime+2*max_depth
 90           equ       total_pf_time,readytime+2*max_depth     DOUBLE
 91           equ       total_pf_count,total_pf_time+2
 92           equ       auto_tune_ws,total_pf_time+3
 93           equ       ocore_delta,total_pf_time+4
 94           equ       ws_sum,total_pf_time+5
 95           equ       nonidle_force_count,total_pf_time+6
 96           equ       itt_list_lock,total_pf_time+7
 97           equ       cpu_pf_time,total_pf_time+8
 98           equ       cpu_pf_count,cpu_pf_time+2
 99           equ       apt_offset,cpu_pf_time+3      UPPER, BOS looks at tc_data|o253 (d171) for APT offset
100           equ       getwork_time,cpu_pf_time+4    DOUBLE
101           equ       getwork_count,cpu_pf_time+6
102           equ       short_pf_count,cpu_pf_time+7
103           equ       interrupt_time,cpu_pf_time+8  DOUBLE
104           equ       interrupt_count,interrupt_time+2        DOUBLE
105           equ       ocore,180
106           equ       pre_empt_flag,181
107           equ       cumulative_memory_usage,182   DOUBLE
108           equ       processor_time_at_define_wc,184         DOUBLE
109 
110           equ       boost_priority,186
111           equ       lost_priority_eligibility,187
112           equ       total_clock_lag,188           DOUBLE
113           equ       clock_simulations,190
114           equ       max_clock_lag,191
115 
116 
117 "300 octal
118           equ       pdscopyl,192
119           equ       max_hproc_segno,193
120           equ       prds_length,194
121           equ       pds_length,195
122           equ       lock,196
123           equ       id,197
124           equ       system_shutdown,198
125           equ       working_set_factor,199
126 
127           equ       ncpu,200
128           equ       last_eligible,201
129           equ       apt_lock,202
130           equ       apt_size,203                  BOS looks at tc_data|o313 for number of aptes
131           equ       realtime_q,204                DBL
132           equ       aht_size,206
133           equ       itt_size,207
134 
135           equ       dst_size,208
136           equ       itt_free_list,209
137           equ       used_itt,210
138           equ       initializer_id,211
139           equ       n_eligible,212
140           equ       max_eligible,213
141           equ       wait_enable,214
142           equ       apt_entry_size,215            BOS looks at tc_data|o327 for size of APTE
143 
144           equ       interactive_q,216             DBL
145           equ       dst_ptr,218                   DBL
146           equ       old_user,220                  DBL
147           equ       initialize_time,222           DBL
148 
149           equ       init_event,224
150           equ       oldt,225
151           equ       newt,226
152           equ       tefirst,227
153           equ       telast,228
154           equ       timax,229
155           equ       empty_q,230
156           equ       working_set_addend,231
157 
158           equ       eligible_q_head,232           DBL
159           equ       ready_q_head,eligible_q_head  OBS
160           equ       eligible_q_tail,234           DBL
161           equ       ready_q_tail,eligible_q_tail  OBS
162           equ       idle_tail,236                 DBL
163           equ       min_eligible,238
164           equ       alarm_timer_list,239
165 
166           equ       guaranteed_elig_inc,240
167           equ       priority_sched_inc,241
168           equ       next_alarm_time,242           DBL
169           equ       priority_sched_time,244       DBL
170           equ       opc_polling_time_loc,246      DBL
171 
172           equ       disk_polling_time_loc,248     DBL
173           equ       tape_polling_time_loc,250     DBL
174           equ       imp_polling_time_loc,252      DBL
175           equ       imp_polling_lock,254
176           equ       max_channels,255
177 
178 "400 octal
179           equ       system_virtual_time,256       DOUBLE
180           equ       credit_bank,256+2             DOUBLE
181           equ       min_wct_index,256+4           UPPER
182           equ       max_wct_index,256+5           UPPER
183           equ       delta_vt,256+6                DBL for pxss(compute_vc)
184           equ       gross_idle_time,256+8                   DOUBLE
185           equ       credits_per_scatter,256+10
186           equ       best_credit_value,256+11
187           equ       define_wc_time,256+12         DOUBLE
188           equ       max_batch_elig,256+14
189           equ       num_batch_elig,256+15
190           equ       deadline_mode,256+16
191           equ       credits_scattered,256+17
192           equ       max_max_eligible,256+18
193           equ       max_stopped_stack_0,256+19
194           equ       stopped_stack_0,256+20
195           equ       mos_polling_interval,256+21
196           equ       mos_polling_time_loc,256+22   DOUBLE
197           equ       vcpu_response_bounds,256+24   ARRAY
198           equ       vcpu_response_bounds_size,256+27
199           equ       meter_response_time_calls,256+28
200           equ       meter_response_time_invalid,256+29
201           equ       meter_response_time_overhead,256+30     DOUBLE
202           equ       init_wait_time,256+32                   DOUBLE
203           equ       init_wait_timeout,256+34                DOUBLE
204           equ       init_timeout_severity,256+36
205           equ       init_timeout_recurse,256+37
206           equ       max_timer_register,256+38               DOUBLE
207           equ       pre_empt_sample_time,256+40
208           equ       governing_credit_bank,256+41
209           equ       process_initial_quantum,256+42
210           equ       default_procs_required,256+43
211           bool      all_procs_required,776000               " DU
212           equ       work_class_idle,256+44                  DOUBLE
213           equ       stk_truncate,256+46
214           equ       stk_truncate_always,256+47
215           equ       stk_trunc_avg_f1,256+48
216           equ       stk_trunc_avg_f2,256+49
217 
218           equ       lock_error_severity,256+50
219 
220           equ       gv_integration,256+51
221           equ       gv_integration_set,256+52
222           equ       pauses,256+53
223 
224           equ       volmap_polling_time,256+54    " DOUBLE
225           equ       next_ring0_timer,256+56       " DOUBLE
226           equ       realtime_io_priority_switch,256+58
227           equ       realtime_io_deadline,256+59
228           equ       realtime_io_quantum,256+60
229           equ       realtime_priorities,256+61
230           equ       relinquishes,256+62
231           equ       abort_ips_mask,256+63
232 
233 "500 octal
234           equ       uid_array,320
235           equ       loop_lock_time,336            DOUBLE
236 
237 "522 octal
238 "
239 "         words 522 thru 584 are available for general use
240 "
241 "         Under present format, the wcte's begin at 1110 (octal),
242 "         and the apte's begin at 3000 (octal).  These tables should
243 "         not be accessed by fixed offsets, but rather through offset
244 "         cells - apt_offset (first apte), min_wct_index (first wcte)
245 
246 "
247 "         END INCLUDE FILE tc_meters.incl.alm
248 "