ASSEMBLY LISTING OF SEGMENT >spec>install>1112>meter_ast_lock.alm ASSEMBLED ON: 11/11/89 0929.0 mst Sat OPTIONS USED: -target l68 list symbols ASSEMBLED BY: ALM Version 8.14 March 1989 ASSEMBLER CREATED: 06/09/89 1002.3 mst Fri 1 " *********************************************************** 2 " * * 3 " * Copyright, (C) Honeywell Bull Inc., 1987 * 4 " * * 5 " * Copyright, (C) Honeywell Information Systems Inc., 1982 * 6 " * * 7 " * Copyright (c) 1972 by Massachusetts Institute of * 8 " * Technology and Honeywell Information Systems, Inc. * 9 " * * 10 " *********************************************************** 000000 11 name meter_ast_lock 000000 12 entry lock 000036 13 entry unlock 14 15 """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" 16 " 17 " meter_ast_lock 18 " 19 " Routine to meter number of AST locks and time locked by 20 " caller. This data is maintained in ast_lock_meter_seg. 21 " This routine is intended to be called only by lock, and 22 " the data it collects is charged against the caller of 23 " lock (i.e., the owner of the stack frame immediately 24 " preceding that of lock) 25 " 26 " After locking the AST, 27 " call meter_ast_lock$lock 28 " 29 " Before unlocking the AST, 30 " call meter_ast_lock$unlock 31 " 32 " Note that ast_lock_meter_seg is protected by the AST lock. 33 " 34 " Register Conventions: 35 " ap -> stack frame of caller of lock 36 " ab -> ast_lock_meter_seg 37 " bp -> ast_lock_meters.meters 38 " 39 " Written November 1981 by J. Bongiovanni 40 " 41 """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" 42 " 000000 43 lock: 000000 aa 6 00020 3501 20 44 eppap sp|stack_frame.prev_sp,* ap -> frame of caller of lock 000001 aa 0 00024 2131 20 45 epaq ap|stack_frame.return_ptr,* AQ = return point in caller 000002 aa 000022 7310 00 46 ars 18 convert to packed pointer 000003 aa 000022 7370 00 47 lls 18 in Areg 000004 4a 4 00010 3515 20 48 eppab ast_lock_meter_seg$ 000005 aa 1 00012 3521 00 49 eppbp ab|ast_lock_meters.meters 000006 aa 1 00000 2361 00 50 ldq ab|ast_lock_meters.n_entries number currently in table 000007 aa 000025 7360 00 51 qls 3+18 x (size of entry) in QU 52 000010 53 find_caller_loop: 000010 aa 777770 6360 02 54 eaq -lock_meters_size,qu decrement to next entry 000011 0a 000025 6044 00 55 tmoz caller_not_found none left 000012 aa 2 00000 1151 02 56 cmpa bp|lock_meters.caller,qu match on caller 000013 0a 000010 6010 00 57 tnz find_caller_loop no 000014 58 find_caller_join: 000014 aa 1 00003 7561 00 59 stq ab|ast_lock_meters.last_locker save (protected by AST lock) 60 000015 61 inhibit on <+><+><+><+><+><+><+><+><+><+><+><+><+><+><+><+><+> 000015 4a 4 00012 6333 20 62 rccl sys_info$clock_,* current time 000016 aa 1 00004 7573 00 63 staq ab|ast_lock_meters.last_lock_time save 000017 4a 4 00014 1773 20 64 sbaq pds$cpu_time total CPU time 000020 4a 4 00016 1773 20 65 sbaq pds$virtual_delta virtual CPU time 000021 aa 1 00006 7573 00 66 staq ab|ast_lock_meters.last_lock_vcpu 000022 4a 4 00020 2353 20 67 lda pds$page_waits page faults 000023 aa 1 00010 7553 00 68 sta ab|ast_lock_meters.last_lock_pf 69 000024 70 inhibit off <-><-><-><-><-><-><-><-><-><-><-><-><-><-><-><-><-> 000024 aa 7 00044 7101 20 71 short_return 72 000025 73 caller_not_found: " create entry for caller 000025 aa 1 00000 2361 00 74 ldq ab|ast_lock_meters.n_entries highest so far 000026 aa 1 00001 1161 00 75 cmpq ab|ast_lock_meters.max_n_entries any room 000027 0a 000032 6040 00 76 tmi insert_caller yes 000030 aa 000000 2360 03 77 ldq 0,du overflows to index 0 000031 0a 000014 7100 00 78 tra find_caller_join 79 000032 80 insert_caller: 000032 aa 000025 7360 00 81 qls 18+3 index x size in QU 000033 aa 1 00000 0541 00 82 aos ab|ast_lock_meters.n_entries bump next 000034 aa 2 00000 7551 02 83 sta bp|lock_meters.caller,qu save text pointer 000035 0a 000014 7100 00 84 tra find_caller_join 85 86 " 000036 87 unlock: 000036 4a 4 00010 3515 20 88 eppab ast_lock_meter_seg$ 000037 aa 1 00003 2361 00 89 ldq ab|ast_lock_meters.last_locker offset to entry in QU 000040 0a 000043 6050 00 90 tpl unlock_meter valid 000041 aa 1 00002 0541 00 91 aos ab|ast_lock_meters.invalid no--meter and exit 000042 aa 7 00044 7101 20 92 short_return 93 000043 94 unlock_meter: 000043 aa 1 00012 3521 00 95 eppbp ab|ast_lock_meters.meters 000044 aa 000000 6200 02 96 eax0 0,qu x0 = rel offset of entry 97 000045 98 inhibit on <+><+><+><+><+><+><+><+><+><+><+><+><+><+><+><+><+> 99 000045 4a 4 00012 6333 20 100 rccl sys_info$clock_,* current time 000046 aa 1 00004 1773 00 101 sbaq ab|ast_lock_meters.last_lock_time time locked 000047 aa 2 00002 0773 10 102 adaq bp|lock_meters.time_locked,0 update entry 000050 aa 2 00002 7573 10 103 staq bp|lock_meters.time_locked,0 .. 000051 4a 4 00012 6333 20 104 rccl sys_info$clock_,* current time 000052 4a 4 00014 1773 20 105 sbaq pds$cpu_time total CPU time 000053 4a 4 00016 1773 20 106 sbaq pds$virtual_delta virtual CPU time 000054 aa 1 00006 1773 00 107 sbaq ab|ast_lock_meters.last_lock_vcpu vcpu time locked 000055 aa 2 00004 0773 10 108 adaq bp|lock_meters.vcpu_locked,0 000056 aa 2 00004 7573 10 109 staq bp|lock_meters.vcpu_locked,0 000057 4a 4 00020 2353 20 110 lda pds$page_waits page faults 000060 aa 1 00010 1753 00 111 sba ab|ast_lock_meters.last_lock_pf 000061 aa 2 00006 0553 10 112 asa bp|lock_meters.pf_locked,0 000062 aa 2 00001 0543 10 113 aos bp|lock_meters.n_calls,0 114 000063 115 inhibit off <-><-><-><-><-><-><-><-><-><-><-><-><-><-><-><-><-> 116 000063 aa 7 00044 7101 20 117 short_return 118 119 " 120 include ast_lock_meters 1-1 1-2 1-3 "BEGIN INCLUDE FILE ast_lock_meters.incl.alm 1-4 1-5 1-6 "Created 11/21/81 1433.2 est Sat by convert_include_file, 1-7 " Version of 04/19/81 1350.7 est Sun. 1-8 1-9 "Made from >udd>Multics>Bongiovanni>htd>almd>ast_lock_meters.incl.pl1, 1-10 " modified 11/21/81 1433.2 est Sat 1-11 1-12 " 1-13 " Structure ast_lock_meters 1-14 " 1-15 000000 1-16 equ ast_lock_meters.n_entries,0 000001 1-17 equ ast_lock_meters.max_n_entries,1 000002 1-18 equ ast_lock_meters.invalid,2 000003 1-19 equ ast_lock_meters.last_locker,3 000004 1-20 equ ast_lock_meters.last_lock_time,4 " DOUBLE 000006 1-21 equ ast_lock_meters.last_lock_vcpu,6 " DOUBLE 000010 1-22 equ ast_lock_meters.last_lock_pf,8 000012 1-23 equ ast_lock_meters.meters,10 " LEVEL 2 1-24 1-25 1-26 " 1-27 " Structure lock_meters 1-28 " 000010 1-29 equ lock_meters_size,8 1-30 000000 1-31 equ lock_meters.caller,0 000001 1-32 equ lock_meters.n_calls,1 000002 1-33 equ lock_meters.time_locked,2 " DOUBLE 000004 1-34 equ lock_meters.vcpu_locked,4 " DOUBLE 000006 1-35 equ lock_meters.pf_locked,6 1-36 1-37 "END INCLUDE FILE ast_lock_meters.incl.alm 121 " 122 include stack_frame 2-1 " 2-2 " BEGIN INCLUDE FILE ... stack_frame.incl.alm 6/72 RBS 2-3 " 2-4 " Modified: 16 Dec 1977, D. Levin - to add fio_ps_ptr 2-5 " Modified: 3 Feb 1978, P. Krupp - to add run_unit_manager_bit & main_proc_bit 2-6 " Modified: 21 March 1978, D. Levin - change fio_ps_ptr to support_ptr 2-7 " 000020 2-8 equ stack_frame.prev_sp,16 000020 2-9 equ stack_frame.condition_word,16 000022 2-10 equ stack_frame.next_sp,18 000022 2-11 equ stack_frame.signaller_word,18 000024 2-12 equ stack_frame.return_ptr,20 000026 2-13 equ stack_frame.entry_ptr,22 000030 2-14 equ stack_frame.operator_ptr,24 000030 2-15 equ stack_frame.lp_ptr,24 000032 2-16 equ stack_frame.arg_ptr,26 000034 2-17 equ stack_frame.static_ptr,28 000035 2-18 equ stack_frame.support_ptr,29 " only used by fortran I/O 000036 2-19 equ stack_frame.on_unit_rel_ptrs,30 000037 2-20 equ stack_frame.operator_ret_ptr,31 000037 2-21 equ stack_frame.translator_id,31 000040 2-22 equ stack_frame.regs,32 000060 2-23 equ stack_frame.min_length,48 000020 2-24 equ stack_frame.flag_word,16 020000 2-25 bool stack_frame.main_proc_bit,020000 (DL) 010000 2-26 bool stack_frame.run_unit_manager,010000 (DL) 004000 2-27 bool stack_frame.signal_bit,004000 (DL) 002000 2-28 bool stack_frame.crawl_out_bit,002000 (DL) 001000 2-29 bool stack_frame.signaller_bit,001000 (DL) 000400 2-30 bool stack_frame.link_trap_bit,000400 (DL) 000200 2-31 bool stack_frame.support_bit,000200 (DL) 000100 2-32 bool stack_frame.condition_bit,000100 (DL) 2-33 2-34 " 2-35 " END INCLUDE FILE ... stack_frame.incl.alm 2-36 " 123 124 end ENTRY SEQUENCES 000064 5a 000017 0000 00 000065 aa 7 00046 2721 20 000066 0a 000000 7100 00 000067 5a 000012 0000 00 000070 aa 7 00046 2721 20 000071 0a 000036 7100 00 NO LITERALS NAME DEFINITIONS FOR ENTRY POINTS AND SEGDEFS 000072 5a 000003 000000 000073 5a 000033 600000 000074 aa 000000 000000 000075 55 000012 000002 000076 5a 000002 400003 000077 55 000006 000012 000100 aa 016 155 145 164 000101 aa 145 162 137 141 000102 aa 163 164 137 154 000103 aa 157 143 153 000 000104 55 000017 000003 000105 0a 000070 500000 000106 55 000015 000003 000107 aa 006 165 156 154 unlock 000110 aa 157 143 153 000 000111 55 000024 000012 000112 0a 000065 500000 000113 55 000022 000003 000114 aa 004 154 157 143 lock 000115 aa 153 000 000 000 000116 55 000002 000017 000117 6a 000000 400002 000120 55 000027 000003 000121 aa 014 163 171 155 symbol_table 000122 aa 142 157 154 137 000123 aa 164 141 142 154 000124 aa 145 000 000 000 DEFINITIONS HASH TABLE 000125 aa 000000 000015 000126 aa 000000 000000 000127 aa 000000 000000 000130 aa 000000 000000 000131 aa 000000 000000 000132 5a 000012 000000 000133 aa 000000 000000 000134 5a 000017 000000 000135 5a 000024 000000 000136 aa 000000 000000 000137 aa 000000 000000 000140 aa 000000 000000 000141 aa 000000 000000 000142 aa 000000 000000 EXTERNAL NAMES 000143 aa 012 160 141 147 page_waits 000144 aa 145 137 167 141 000145 aa 151 164 163 000 000146 aa 015 166 151 162 virtual_delta 000147 aa 164 165 141 154 000150 aa 137 144 145 154 000151 aa 164 141 000 000 000152 aa 010 143 160 165 cpu_time 000153 aa 137 164 151 155 000154 aa 145 000 000 000 000155 aa 003 160 144 163 pds 000156 aa 006 143 154 157 clock_ 000157 aa 143 153 137 000 000160 aa 010 163 171 163 sys_info 000161 aa 137 151 156 146 000162 aa 157 000 000 000 000163 aa 022 141 163 164 ast_lock_meter_seg 000164 aa 137 154 157 143 000165 aa 153 137 155 145 000166 aa 164 145 162 137 000167 aa 163 145 147 000 NO TRAP POINTER WORDS TYPE PAIR BLOCKS 000170 aa 000004 000000 000171 55 000063 000051 000172 aa 000004 000000 000173 55 000063 000054 000174 aa 000004 000000 000175 55 000063 000060 000176 aa 000004 000000 000177 55 000066 000064 000200 aa 000003 000000 000201 5a 000071 000000 000202 aa 000001 000000 000203 aa 000000 000000 INTERNAL EXPRESSION WORDS 000204 5a 000076 000000 000205 5a 000100 000000 000206 5a 000102 000000 000207 5a 000104 000000 000210 5a 000106 000000 000211 aa 000000 000000 LINKAGE INFORMATION 000000 aa 000000 000000 000001 0a 000072 000000 000002 aa 000000 000000 000003 aa 000000 000000 000004 aa 000000 000000 000005 aa 000000 000000 000006 22 000010 000022 000007 a2 000000 000000 000010 9a 777770 0000 46 ast_lock_meter_seg| 000011 5a 000116 0000 00 000012 9a 777766 0000 46 sys_info|clock_ 000013 5a 000115 0000 20 000014 9a 777764 0000 46 pds|cpu_time 000015 5a 000114 0000 00 000016 9a 777762 0000 46 pds|virtual_delta 000017 5a 000113 0000 00 000020 9a 777760 0000 46 pds|page_waits 000021 5a 000112 0000 00 SYMBOL INFORMATION SYMBOL TABLE HEADER 000000 aa 000000 000001 000001 aa 163171 155142 000002 aa 164162 145145 000003 aa 000000 000010 000004 aa 000000 117244 000005 aa 361023 525721 000006 aa 000000 117547 000007 aa 244243 133430 000010 aa 141154 155040 000011 aa 040040 040040 000012 aa 000024 000040 000013 aa 000034 000040 000014 aa 000044 000100 000015 aa 000002 000002 000016 aa 000064 000000 000017 aa 000000 000177 000020 aa 000000 000137 000021 aa 000154 000147 000022 aa 000167 000137 000023 aa 000064 000000 000024 aa 101114 115040 000025 aa 126145 162163 000026 aa 151157 156040 000027 aa 070056 061064 000030 aa 040115 141162 000031 aa 143150 040061 000032 aa 071070 071040 000033 aa 040040 040040 000034 aa 110151 162156 000035 aa 145151 163145 000036 aa 156056 123171 000037 aa 163115 141151 000040 aa 156164 056141 000041 aa 040040 040040 000042 aa 040040 040040 000043 aa 040040 040040 000044 aa 055164 141162 000045 aa 147145 164040 000046 aa 154066 070040 000047 aa 040040 040040 000050 aa 040040 040040 000051 aa 040040 040040 000052 aa 040040 040040 000053 aa 040040 040040 000054 aa 040040 040040 000055 aa 040040 040040 000056 aa 040154 151163 000057 aa 164040 163171 000060 aa 155142 157154 000061 aa 163040 040040 000062 aa 040040 040040 000063 aa 040040 040040 000064 aa 000000 000001 000065 aa 000000 000003 000066 aa 000102 000045 000067 aa 175453 020222 000070 aa 000000 117547 000071 aa 200254 600000 000072 aa 000114 000045 000073 aa 105663 633044 000074 aa 000000 110566 000075 aa 417313 000000 000076 aa 000126 000041 000077 aa 052721 247134 000100 aa 000000 105272 000101 aa 317215 400000 000102 aa 076163 160145 >spec>install>1112>meter_ast_lock.alm 000103 aa 143076 151156 000104 aa 163164 141154 000105 aa 154076 061061 000106 aa 061062 076155 000107 aa 145164 145162 000110 aa 137141 163164 000111 aa 137154 157143 000112 aa 153056 141154 000113 aa 155040 040040 000114 aa 076154 144144 >ldd>include>ast_lock_meters.incl.alm 000115 aa 076151 156143 000116 aa 154165 144145 000117 aa 076141 163164 000120 aa 137154 157143 000121 aa 153137 155145 000122 aa 164145 162163 000123 aa 056151 156143 000124 aa 154056 141154 000125 aa 155040 040040 000126 aa 076154 144144 >ldd>include>stack_frame.incl.alm 000127 aa 076151 156143 000130 aa 154165 144145 000131 aa 076163 164141 000132 aa 143153 137146 000133 aa 162141 155145 000134 aa 056151 156143 000135 aa 154056 141154 000136 aa 155040 040040 MULTICS ASSEMBLY CROSS REFERENCE LISTING Value Symbol Source file Line number 2 ast_lock_meters.invalid meter_ast_lock: 91, ast_lock_meters: 18. 3 ast_lock_meters.last_locker meter_ast_lock: 59, 89, ast_lock_meters: 19. 10 ast_lock_meters.last_lock_pf meter_ast_lock: 68, 111, ast_lock_meters: 22. 4 ast_lock_meters.last_lock_time meter_ast_lock: 63, 101, ast_lock_meters: 20. 6 ast_lock_meters.last_lock_vcpu meter_ast_lock: 66, 107, ast_lock_meters: 21. 1 ast_lock_meters.max_n_entries meter_ast_lock: 75, ast_lock_meters: 17. 12 ast_lock_meters.meters meter_ast_lock: 49, 95, ast_lock_meters: 23. 0 ast_lock_meters.n_entries meter_ast_lock: 50, 74, 82, ast_lock_meters: 16. ast_lock_meter_seg meter_ast_lock: 48, 88. 25 caller_not_found meter_ast_lock: 55, 73. clock_ meter_ast_lock: 62, 100, 104. cpu_time meter_ast_lock: 64, 105. 14 find_caller_join meter_ast_lock: 58, 78, 84. 10 find_caller_loop meter_ast_lock: 53, 57. 32 insert_caller meter_ast_lock: 76, 80. 0 lock meter_ast_lock: 12, 43. 0 lock_meters.caller meter_ast_lock: 56, 83, ast_lock_meters: 31. 1 lock_meters.n_calls meter_ast_lock: 113, ast_lock_meters: 32. 6 lock_meters.pf_locked meter_ast_lock: 112, ast_lock_meters: 35. 2 lock_meters.time_locked meter_ast_lock: 102, 103, ast_lock_meters: 33. 4 lock_meters.vcpu_locked meter_ast_lock: 108, 109, ast_lock_meters: 34. 10 lock_meters_size meter_ast_lock: 54, ast_lock_meters: 29. page_waits meter_ast_lock: 67, 110. pds meter_ast_lock: 64, 65, 67, 105, 106, 110. 32 stack_frame.arg_ptr stack_frame: 16. 100 stack_frame.condition_bit stack_frame: 32. 20 stack_frame.condition_word stack_frame: 9. 2000 stack_frame.crawl_out_bit stack_frame: 28. 26 stack_frame.entry_ptr stack_frame: 13. 20 stack_frame.flag_word stack_frame: 24. 400 stack_frame.link_trap_bit stack_frame: 30. 30 stack_frame.lp_ptr stack_frame: 15. 20000 stack_frame.main_proc_bit stack_frame: 25. 60 stack_frame.min_length stack_frame: 23. 22 stack_frame.next_sp stack_frame: 10. 36 stack_frame.on_unit_rel_ptrs stack_frame: 19. 30 stack_frame.operator_ptr stack_frame: 14. 37 stack_frame.operator_ret_ptr stack_frame: 20. 20 stack_frame.prev_sp meter_ast_lock: 44, stack_frame: 8. 40 stack_frame.regs stack_frame: 22. 24 stack_frame.return_ptr meter_ast_lock: 45, stack_frame: 12. 10000 stack_frame.run_unit_manager stack_frame: 26. 1000 stack_frame.signaller_bit stack_frame: 29. 22 stack_frame.signaller_word stack_frame: 11. 4000 stack_frame.signal_bit stack_frame: 27. 34 stack_frame.static_ptr stack_frame: 17. 200 stack_frame.support_bit stack_frame: 31. 35 stack_frame.support_ptr stack_frame: 18. 37 stack_frame.translator_id stack_frame: 21. sys_info meter_ast_lock: 62, 100, 104. 36 unlock meter_ast_lock: 13, 87. 43 unlock_meter meter_ast_lock: 90, 94. virtual_delta meter_ast_lock: 65, 106. NO FATAL ERRORS ----------------------------------------------------------- Historical Background This edition of the Multics software materials and documentation is provided and donated to Massachusetts Institute of Technology by Group BULL including BULL HN Information Systems Inc. as a contribution to computer science knowledge. This donation is made also to give evidence of the common contributions of Massachusetts Institute of Technology, Bell Laboratories, General Electric, Honeywell Information Systems Inc., Honeywell BULL Inc., Groupe BULL and BULL HN Information Systems Inc. to the development of this operating system. Multics development was initiated by Massachusetts Institute of Technology Project MAC (1963-1970), renamed the MIT Laboratory for Computer Science and Artificial Intelligence in the mid 1970s, under the leadership of Professor Fernando Jose Corbato. Users consider that Multics provided the best software architecture for managing computer hardware properly and for executing programs. Many subsequent operating systems incorporated Multics principles. Multics was distributed in 1975 to 2000 by Group Bull in Europe , and in the U.S. by Bull HN Information Systems Inc., as successor in interest by change in name only to Honeywell Bull Inc. and Honeywell Information Systems Inc. . ----------------------------------------------------------- Permission to use, copy, modify, and distribute these programs and their documentation for any purpose and without fee is hereby granted,provided that the below copyright notice and historical background appear in all copies and that both the copyright notice and historical background and this permission notice appear in supporting documentation, and that the names of MIT, HIS, BULL or BULL HN not be used in advertising or publicity pertaining to distribution of the programs without specific prior written permission. Copyright 1972 by Massachusetts Institute of Technology and Honeywell Information Systems Inc. Copyright 2006 by BULL HN Information Systems Inc. Copyright 2006 by Bull SAS All Rights Reserved