SU894713A1 - Device for monitoring command run - Google Patents

Device for monitoring command run Download PDF

Info

Publication number
SU894713A1
SU894713A1 SU802903184A SU2903184A SU894713A1 SU 894713 A1 SU894713 A1 SU 894713A1 SU 802903184 A SU802903184 A SU 802903184A SU 2903184 A SU2903184 A SU 2903184A SU 894713 A1 SU894713 A1 SU 894713A1
Authority
SU
USSR - Soviet Union
Prior art keywords
elements
counter
output
program
input
Prior art date
Application number
SU802903184A
Other languages
Russian (ru)
Inventor
Юрий Васильевич Трудов
Original Assignee
Военный Инженерный Краснознаменный Институт Им.А.Ф.Можайского
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Военный Инженерный Краснознаменный Институт Им.А.Ф.Можайского filed Critical Военный Инженерный Краснознаменный Институт Им.А.Ф.Можайского
Priority to SU802903184A priority Critical patent/SU894713A1/en
Application granted granted Critical
Publication of SU894713A1 publication Critical patent/SU894713A1/en

Links

Landscapes

  • Debugging And Monitoring (AREA)

Description

(54) УСТРОЙСТВО ДЛЯ КОНТРОЛЯ ХОДА Изобретение относитс  к вычислительной технике и может найти применение при создании устройств контрол  мультипроцессорных и мультипрограммных вычислительных систем. Известно устройство дл  контрол  хода программ, содержащее схемы сбор ки, счетчик, генератор,.схему сравнени , регистри клапаны, осуществл ющее контроль хода программы путем проверки правильности пор дка выполнени  контрольных подпрограмм 1. Недостатками такого устройства  в л ютс  необходимость дополнительного объема пам ти дл  хранени  контроль ных подпрограмм и уменьшение эффективной производительности ЦВМ за сче периодического решени  контрольных подпрограмм. Известно также устройство дл  контрол  хода программ, содержащее триггер, элемент И и счетчик, осуг ществл ющее контроль команд безуслов ных переходов и линейных участков посредством подсчета числа команд на участке и сравнение его с заранее заданным 2. Недостатки этого устройства состо т в том, что использование специальных команд двух типов и посто н ПРОГРАММ ное число команд на контролируемых участках приводит к значительным, программным затратам дл  организации контрол  хода программы, что приводит к потере производительности ЦВМ и росту емкости пам ти. Кроме того, такое устройство не позвол ет осуществить контроль хода программ в ЦВМ, реализующей мультипрограммный режим работы ЦВМ. Наиболее близким к предлагаемому  вл етс  устройство дл  контрол  хода программ, осуществл ющее вре «енный контроль выполнени  основных программ что не требует значительных дополнительных затрат времени. Основой устройства  вл етс  счет-чик, в который перед выполнением программы .заноситс  со стиранием старого значени  по специальной команде дополнительный код максимально допустимого времени выполнени  программы. Счетный вход счетчика подключен к генератору временных меток. Если выполнение программы не закончитс  в течение максимально допустимого времени , то в счетчике возникает переполнение , СИГНсШ которого ЯВЛЯ1ВТСЯ сигнсшом ошибки в выполнении программы 3 .(54) DEVICE FOR MONITORING PROCESS The invention relates to computing technology and may find application in the creation of control devices for multiprocessor and multiprogramming computing systems. A device for controlling the progress of programs is known, containing assembly schemes, a counter, a generator, a comparison circuit, registering valves, monitoring the progress of a program by checking the correctness of the order of execution of control subroutines 1. The disadvantages of such a device are the need for additional memory storing control subroutines and reducing the effective performance of a digital computer by periodically resolving control subroutines. It is also known a program for controlling the course of programs, containing a trigger, an element And and a counter, which is responsible for monitoring the commands of unconditional jumps and linear sections by counting the number of commands on a section and comparing it with a predetermined 2. the use of special commands of two types and constant PROGRAM number of commands in controlled areas leads to significant program costs for organizing control of the program progress, which leads to loss of performance of the DV M and the growth of memory capacity. In addition, such a device does not allow monitoring the course of programs in a digital computer that implements a multi-program mode of digital computer operation. The closest to the proposed is a device for monitoring the progress of programs, exercising time control of the implementation of basic programs, which does not require significant additional time. The basis of the device is a counter, in which, prior to the execution of a program, the additional code of the maximum permissible program execution time is deleted by deleting the old value by a special command. The counting counter input is connected to a time stamp generator. If the execution of the program is not completed within the maximum allowable time, an overflow occurs in the meter, the SIGNSH of which is an error in the execution of the program 3.

Недостаток известного устройства состоит в том, что оно не позвол ет осуществить контроль хода программ в мультипрограммном и мультипроцессорном режимах функционировани  ЦВМ. Действительно, при реализации этих режимов необходимо осуй1ествл ть прерывание выполн емых программ и, следовательно, запомнить оставшеес  врем  выполнени  прерываемой программы, а затем при возобновлении ее выполнени  - восстановить . Известное устройство не позвол ет это осуществить.A disadvantage of the known device is that it does not allow controlling the course of programs in multiprogram and multiprocessor modes of operation of a digital computer. Indeed, when implementing these modes, it is necessary to interrupt the executed programs and, therefore, remember the remaining time of the interrupted program execution, and then when resuming its execution, restore it. The known device does not allow this.

Цель изобретени  - расширение функциональных возможностей за счет обеспечени  запоминани  и восстановлени  кодов оставшегос  времени выполнени  прерванных программ.The purpose of the invention is to expand the functionality by ensuring the storage and recovery of codes for the remaining execution time of interrupted programs.

Поставленна  цель достигаетс  тем, что в устройство дл  контрол  хода программ,содержащее первый счетчик и генератор импульсов, которого соединен с суммирующим входом первого счетчика, а выход переполнени  первого счетчика  вл етс  управл ющим выходом устройства, дополнительно введены К регистров, К входных блоков элементов И, К выходных блоков элементов И, второй счетчик , первый и второй дешифраторы, блок элементов ИЛИ, первый, и второй элементы ИЛИ, причем информационные входы устройства соединены с первым входом блока элементов ИЛИ, выходы которого соединены с информационными входами первого счетчика, информационные выходы первого счетчика соединены с входами К входных блоков элементов И, выходы К входных блоков элементов И соединены с информационными входами соответствующих регистров, выход каждого регистра соединен с входом соответствующего выходного блока элементов И, выходы К выходных блоков элементов И соединены с вторым входом блока элементов ИЛИ, информационные выходы второго счетчика соединены с входами первого и второго дешифрато ров, выходы которых через первый и второй элементы ИЛИ соединены соответственно с суммирующим и вычитающим входами второго счетчика, каждый К-ый выход .. первого и второго дешифраторов соединен соответственно с управл ющими входами К-го входного блока элементов И и К-го выход;ного блока элементов И, первый и вт|рой управл ющие входы устройства содинены соответственно с тактовыми входами первого и второго дешифраторов .The goal is achieved by the fact that the device for controlling the program run, which contains the first counter and the pulse generator, which is connected to the summing input of the first counter, and the overflow output of the first counter, is the controlling output of the device, additionally entered K registers, To input blocks of AND elements , To the output blocks of the elements And, the second counter, the first and second decoders, a block of elements OR, the first, and the second elements OR, and the information inputs of the device are connected to the first input of the block of elements IL The outputs of which are connected to the information inputs of the first counter, the information outputs of the first counter are connected to the inputs To the input blocks of the elements And, the outputs To the input blocks of the elements And are connected to the information inputs of the corresponding registers, the output of each register is connected to the input of the corresponding output block And, the outputs To output blocks of elements AND are connected to the second input of the block of elements OR, information outputs of the second counter are connected to the inputs of the first and second decoders, outputs cat through the first and second elements OR are connected respectively to the summing and subtracting inputs of the second counter, each K-th output of the first and second decoders is connected respectively to the control inputs of the K-th input block of the elements And and the K-th output; Both the first and second control inputs of the device are connected, respectively, with the clock inputs of the first and second decoders.

.На чертеже представлено устройство дл  контрол  хода Программ, функциональна  схема.The drawing shows a device for monitoring the progress of the Programs, a functional diagram.

Устройство содержит первый счетчик 1, суммирующий вход которого поключен к выходу генератора 2 импульсов , а выход переполнени  соединен с управл ющим выходом устройства 3. Дополнительно устройство снабжено К регистров 4, К входных 5 и К выходных 6 блоков элементов И, вторым счетчиком 7, первым и вторьам дешифраторами 8 и 9, блоком элементов ИЛИ 1 и двум  элементами ИЛИ 11 и 12.The device contains the first counter 1, the summing input of which is connected to the output of the generator 2 pulses, and the overflow output is connected to the control output of the device 3. Additionally, the device is equipped with K registers 4, K input 5 and K output 6 blocks of elements And, second counter 7, first and the second decoders 8 and 9, a block of elements OR 1 and two elements OR 11 and 12.

Каждый К-ый вход первого элемента ИЛИ 11 соединен с К-ым выходом первого дешифратора 8 и с управл ющими входами К-го блока входных элементов И 5, управл ющие входы выходных элементов И б К-го блока подключены к К-МУ выходу второго д шифратора 9 и к К-му входу второго элемента ИЛИ 12, выход которого соединен с вычитающим входом 13 второго счетчика 7, суммирующий вход 14 которого подключен к выходу первого элемента ИЛИ 11, а выходы соединены с информационными входами первого 8 и второго 9 дешифраторов, тактовые входы 15 и 16 которых подключены соответственно к первому 17 и ко второму 18 управл ющим входам устройства, выходы всех К блоков выходных элементов И б через блок элементов ИЛИ 10, вторые входы которых соединены с информационными входами 19 устройства, подключены к входам счетчика 1, выходы которого соединены с информационными входами блока входных элементов И 5.Each K-th input of the first element OR 11 is connected to the K-th output of the first decoder 8 and to the control inputs of the K-th block of input elements I 5, the control inputs of the output elements And b of the K-th block are connected to the K-MU output of the second d the encoder 9 and the K-th input of the second element OR 12, the output of which is connected to the subtractive input 13 of the second counter 7, the summing input 14 of which is connected to the output of the first element OR 11, and the outputs are connected to the information inputs of the first 8 and second 9 decoders, clock inputs 15 and 16 of which are connected respectively Actually, to the first 17 and to the second 18 control inputs of the device, the outputs of all K blocks of output elements AND b through the block of elements OR 10, the second inputs of which are connected to the information inputs 19 of the device, are connected to the inputs of counter 1, the outputs of which are connected to the information inputs of the block input elements And 5.

Устройство работает следующим образом .The device works as follows.

При каждом исполнении программы в Ьчетчик 1 программно заноситс  через 11нформационные входы 19 устройства и 5лок элементов ИЛИ 10 дополнительный КОД максимального времени выполнени  программы. В процессе выполнени  программы на суммирующий вход счетчика 1 поступают временные импульсы от генератора 2 импульсов временные метки. Если врем  выполнени  программы превосходит максимально допустимое , то в счетчике 1 формируетс  сигнал переполнени , который через управл ющий выход 3 устройства поступает в систему прерывани . При нормальном ходе программы переполнени  счетчика 1 не происходит. Однако и при нормальном ходе программы при мультипрограммном режиме работы возможно прерывание данной программы за счет необходимости выполнени  программ более высокого приоритета. При этом естественно возникает необходимость запоминани  и восстановлени  оставшегос  времени выполнени  прерванных программ. Количество программ, которое может одновремен|НО находитьс  в режиме прерывани , прин то называть глубиной прерывани .At each program execution, the meter 1 is programmatically entered through 11 information inputs 19 of the device and 5 blocks of elements OR 10 additional CODE of the maximum program execution time. In the process of executing a program, time impulses from a generator 2 of impulses of time stamps arrive at the summing input of counter 1. If the program execution time exceeds the maximum allowable, then counter 1 generates an overflow signal, which through control output 3 of the device enters the interrupt system. In the normal course of the program, overflow of the counter 1 does not occur. However, even during the normal course of a program during a multiprogram mode of operation, this program may be interrupted due to the need to execute programs of higher priority. In this case, it naturally becomes necessary to memorize and restore the remaining execution time of interrupted programs. The number of programs that can simultaneously | BUT be in interrupt mode is usually called the interrupt depth.

Claims (3)

1.Кл мко Э.И. Схемный и тестовый контроль автоматических цифровых вычислительных машин. М., Советское радио , 1963, с. 86-87, рис. 14.1.Cl mko E.I. Schematic and test control of automatic digital computers. M., Soviet Radio, 1963, p. 86-87, fig. 14. 2.Там же, с. 58-59, рис. 6.2. In the same place 58-59, fig. 6 5 five 3. Там же, с. 91-92, рис. 8.4 (прототип ) .3. Ibid, p. 91-92, fig. 8.4 (prototype).
SU802903184A 1980-04-01 1980-04-01 Device for monitoring command run SU894713A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU802903184A SU894713A1 (en) 1980-04-01 1980-04-01 Device for monitoring command run

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU802903184A SU894713A1 (en) 1980-04-01 1980-04-01 Device for monitoring command run

Publications (1)

Publication Number Publication Date
SU894713A1 true SU894713A1 (en) 1981-12-30

Family

ID=20886733

Family Applications (1)

Application Number Title Priority Date Filing Date
SU802903184A SU894713A1 (en) 1980-04-01 1980-04-01 Device for monitoring command run

Country Status (1)

Country Link
SU (1) SU894713A1 (en)

Similar Documents

Publication Publication Date Title
US4763296A (en) Watchdog timer
SU1082341A3 (en) Control device in data processing system
CA1166752A (en) Memory management method and apparatus
SU894713A1 (en) Device for monitoring command run
JPH0320776B2 (en)
RU1795463C (en) Device for checking correctness of sequence of command execution in program
SU1124316A1 (en) Microcomputer
SU1363221A1 (en) Program-debugging device
SU1322290A2 (en) Device for debugging programs
SU879563A1 (en) Device for checking programs
SU1228074A1 (en) Device for controlling robot
RU1815644C (en) Device for control of program execution in computer
SU1410048A1 (en) Computing system interface
SU1550626A1 (en) Code correction device
SU1061144A1 (en) Device for control of program interruptions
SU892446A1 (en) Program run checking device
SU1049914A1 (en) Device for debugging program
SU949657A1 (en) Microprogram control device
SU1425684A1 (en) Program execution checking device
SU1642472A1 (en) Device for checking the sequence of operatorъs actions
SU1615725A1 (en) Device for monitoring running of programs
SU1305690A1 (en) Device for monitoring microprogram run
SU1287287A1 (en) Shift-to-digital converter
SU1273934A1 (en) Device for checking transitions
SU696454A1 (en) Asynchronous control device