JPS63316148A - History control system - Google Patents

History control system

Info

Publication number
JPS63316148A
JPS63316148A JP62151609A JP15160987A JPS63316148A JP S63316148 A JPS63316148 A JP S63316148A JP 62151609 A JP62151609 A JP 62151609A JP 15160987 A JP15160987 A JP 15160987A JP S63316148 A JPS63316148 A JP S63316148A
Authority
JP
Japan
Prior art keywords
history
processing
idle
memory
writing
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
JP62151609A
Other languages
Japanese (ja)
Inventor
Tadayoshi Sannomiya
三宮 忠義
Hiroyuki Tsujita
辻田 博之
Mitsuyuki Maruyama
丸山 光行
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP62151609A priority Critical patent/JPS63316148A/en
Publication of JPS63316148A publication Critical patent/JPS63316148A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To sample effective history information by stopping a history operation in a queue state, by setting an idle loop flag when a state enters an idle state, and stopping the write of information on a history memory transiently. CONSTITUTION:The idle loop flag 3 is set at the time of executing an idle processing 2, and is reset by idle loop flag resets 3-1-3-3 when a processing other than the processing 2 is executed. When the flag 3 is set, the write of history information on the history memory 1 is stopped transiently. Meanwhile, when the processing other than the processing 2 is executed, the flag 3 is reset, and the write of the history information on the memory 1 is started. In such a way, it is possible to sample the effective history information without rewriting the history information obtained at a preceding processing by writing level change in the idle state, etc., on the memory 1 repeatedly.

Description

【発明の詳細な説明】 〔概要〕 本発明は、計算機システムにおける処理の履歴をWi環
する態様で採取するヒストリ制御方式において、アイド
ル状態が続いた場合にレベルチェンジ命令が履歴情報と
して採取されてしまい、それ以前のff歴が書き替えら
れてしまう問題を解決するため、アイドル状態に入った
場合にアイドルループフラグをセットしてヒストリメモ
リへの書き込みを一時的に停止させたり、あるいはヒス
トリストップ命令およびヒストリスタート命令を新たに
設けてアイドル状態に入った場合にヒストリメモリへの
書き込みを一時的に停止させることにより、待ち状態に
おける書き込みを禁止して有効な履歴情報を採取し得る
ようにしている。
[Detailed Description of the Invention] [Summary] The present invention provides a history control method that collects the history of processing in a computer system in a Wi-ring manner, in which a level change instruction is collected as history information when an idle state continues. In order to solve the problem that the previous FF history is rewritten when the FF history is rewritten, it is necessary to set an idle loop flag to temporarily stop writing to the history memory when entering the idle state, or to use a history stop command. A new history restart command is also provided to temporarily stop writing to the history memory when the system enters the idle state, thereby prohibiting writing in the waiting state and allowing valid history information to be collected. .

〔産業上の利用分野〕[Industrial application field]

本発明は、アイドル状態に入った場合にヒストリメモリ
への言き込みを一時的に停止するように構成したヒスト
リ制御方式に関するものである。
The present invention relates to a history control system that is configured to temporarily stop writing to a history memory when an idle state is entered.

〔従来の技術と発明が解決しようとする問題点〕従来、
計算機システムのハードウェアやプログラムの履歴を採
取する手段としてヒストリメモリを設け、これに循環す
る態様で履歴情報を記憶させておき、必要に応じて取り
出して履歴を調べるものがある。
[Problems to be solved by conventional technology and invention] Conventionally,
A history memory is provided as a means for collecting the history of the hardware and programs of a computer system, and history information is stored in this memory in a circular manner, and the history information is retrieved as needed to examine the history.

ある処理を実行して終了した後、次の要求が来ているか
否かを調査して判断し、優先順位の高い処理の先頭アド
レスに分岐させるレベルチェンジ命令を出して次の処理
を開始させている。この際、次の処理要求が来ない場合
は、待ち状態(アイドル状態)の連続となり、レベルチ
ェンジ命令を出し続けて次の処理要求が来るのを待ち続
ける。このようなアイドル状態が続くと、ヒストリメモ
リにはこのアイドル状態の間もストップすることなく履
歴を採取しているため、レベルチェンジ命令が履歴とし
て残り、前の処理の履歴が書き替えられてしまうという
問題点があった。また、前の処理の履歴を残そうとする
と、膨大なヒストリメモリ容盪が必要となってしまうと
いう問題点があった。以下第4図および第5図を用いて
而単に説明する。
After executing and completing a certain process, it investigates and determines whether the next request has come, issues a level change instruction to branch to the start address of the process with a higher priority, and starts the next process. There is. At this time, if the next processing request does not come, the device remains in a waiting state (idle state), continues issuing level change commands, and continues waiting for the next processing request to arrive. If such an idle state continues, the history is collected in the history memory without stopping even during this idle state, so the level change command remains as history and the history of the previous process is rewritten. There was a problem. Furthermore, if a history of previous processing is to be kept, there is a problem in that a huge amount of history memory is required. A simple explanation will be given below using FIGS. 4 and 5.

第4図において、ヒストリメモリ11はアイドル処理1
2、処理fll l 2−1ないし12−3のいずれが
実行されているか否かに関係なく、常に履歴情報を循環
する態様で採取しているため、アイドル状態になった場
合にはレベルチェンジ命令などが繰り返し採集されてし
まう。
In FIG. 4, the history memory 11 is the idle processing 1
2. Regardless of whether any of processes 2-1 to 12-3 is being executed, history information is always collected in a circular manner, so when the idle state occurs, a level change command is issued. etc. are collected repeatedly.

第5図において、図中0で処理の実行を開始し、図中@
で当該処理が終了した場合、図中0でレベルチェンジ命
令が実行され、処理要求がない場合には図中0を繰り返
し実行して待機するため、図中■でヒストリメモリへの
履歴の採取が動作中であり、当該レベルチェンジ命令な
どが繰り返し採集されてしまう。また、図中0で処理要
求があった場合には、図中■で次の処理の実行が開始さ
れる。
In Fig. 5, execution of the process starts at 0 in the figure, and @
When the process is finished, the level change command is executed at 0 in the figure, and if there is no processing request, 0 in the figure is repeatedly executed and the system waits, so the history is collected to the history memory at ■ in the figure. It is in operation, and the level change command etc. is repeatedly collected. Further, if a processing request is made at 0 in the figure, execution of the next process is started at 2 in the figure.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は、前記問題点を解決するため、アイドル状態に
入った場合にアイドルループフラグ3をセットしてヒス
トリメモリ1への書き込みを一時的に停止させたり、あ
るいはヒストリストップ命令5およびヒストリスタート
命令6を新たに設けてアイドル状態に入った場合にヒス
トリメモリ1への書き込みを一時的に停止させることに
より、待ち状態における書き込みを禁止して有効な膠層
情報を採取し得るようにしている。
In order to solve the above-mentioned problems, the present invention sets an idle loop flag 3 to temporarily stop writing to the history memory 1 when entering an idle state, or a history stop command 5 and a history restart command. 6 is newly provided to temporarily stop writing to the history memory 1 when entering the idle state, thereby inhibiting writing in the waiting state and making it possible to collect effective glue layer information.

第1図および第2図を参照して問題点を解決するための
手段を説明する。
Means for solving the problem will be explained with reference to FIGS. 1 and 2.

第1図において、ヒストリメモリ1はH歴情報を採取す
るものである。
In FIG. 1, a history memory 1 is for collecting H history information.

アイドル処理2は、待機するための処理である。Idle processing 2 is processing for waiting.

このアイドル処理を開始した場合には、アイドルループ
フラグ3がセットされる。
When this idle processing is started, idle loop flag 3 is set.

アイドルループフラグ3は、セットされることによって
ヒストリメモリ1への履歴情報の書き込みが一時的にス
トップ(停止)され、リセットされることによって書き
込みが再開されるものである。
When the idle loop flag 3 is set, writing of history information to the history memory 1 is temporarily stopped, and when reset, the writing is restarted.

第2図において、ヒストリストップ命令5は、履歴情報
をヒストリメモリlに口き込むことを停止させるために
新たに設けたマイクロ命令である。
In FIG. 2, a history stop instruction 5 is a microinstruction newly provided to stop reading history information into the history memory l.

ヒストリスタート命令6は、1IIUIiをヒストリメ
モリ1に書き込みむごとを開始させるために新たに設け
たマイクロ命令である。
The history restart instruction 6 is a newly provided microinstruction to start writing 1IIUIi to the history memory 1.

〔作用〕[Effect]

次に動作を説明する。 Next, the operation will be explained.

第1図において、処理要求がない場合には、レベルチェ
ンジ4.4−1ないし4−3によってアイドル処理2の
実行が開始される。この際、最初のアイドル処理2の実
行によってアイドルループフラグ3がセットされ、ヒス
トリメモリ1への履歴情報の書き込みがストップされる
。そして、処理要求があった場合には、レベルチェンジ
4によって処理要求に対応した処理例えば処理+112
−1を実行する場合には、アイドルループフラグリセッ
ト3−1が実行されてアイドルループフラグ3がリセッ
トされ、ヒストリメモリ1への履歴情報の書き込みがス
タートされる。
In FIG. 1, if there is no processing request, execution of idle processing 2 is started by level changes 4.4-1 to 4.4-3. At this time, the idle loop flag 3 is set by the first execution of the idle process 2, and writing of history information to the history memory 1 is stopped. When there is a processing request, level change 4 is used to perform processing corresponding to the processing request, for example, processing +112.
-1, idle loop flag reset 3-1 is executed, idle loop flag 3 is reset, and writing of history information to history memory 1 is started.

また、第2図において、図中■で処理を終了し、図中■
のレベルチェンジにおいて、処理要求がない場合には、
ヒストリストップ命令5が発行され、ヒストリメモリ1
への履歴情報の書き込みが一時的に停止される。そして
、処理要求があった場合には、図中■でヒストリスター
ト命令6が発行され、ヒストリメモリ1への履歴情報の
書き込みが再開される。
In addition, in Figure 2, the process ends at ■ in the figure, and
In the level change, if there is no processing request,
History stop command 5 is issued and history memory 1
Writing of history information to is temporarily stopped. If there is a processing request, a history restart command 6 is issued at ■ in the figure, and writing of history information into the history memory 1 is restarted.

〔実施例〕〔Example〕

次に第1図ないし第3図を用いて本発明の1実施例の構
成および動作を詳細に説明する。
Next, the configuration and operation of one embodiment of the present invention will be explained in detail using FIGS. 1 to 3.

第1図において、アイドルループフラグ3は、アイドル
処理2が実行される時にセットされ、アイドル処理2以
外の処理が実行される時にアイドルループフラグリセッ
ト3−1ないし3−3によってリセットされる。このア
イドルループフラグ3がセットされた場合には、ヒスト
リメモリ1に対して履歴情報の書き込みが一時的にスト
ップされる。
In FIG. 1, idle loop flag 3 is set when idle processing 2 is executed, and is reset by idle loop flag resets 3-1 to 3-3 when processing other than idle processing 2 is executed. When this idle loop flag 3 is set, writing of history information to the history memory 1 is temporarily stopped.

レベルチェンジ4.4−1ないし4−3は、レベルチェ
ンジ命令を実行することを意味し、これによって要求に
対応した処理、例えば処理+1+ 2−1ないし2−3
のいずれかが実行されることとなる。この際、処理fl
+ 2−1ないし2−3のうちのいずれかが実行される
に先立ち、アイドルループフラグリセット3−1ないし
3−3によってアイドルループフラグ3がリセットされ
、ヒストリメモリ1への履歴情報の書き込みが再開され
る。尚、処理要求が無い場合には、アイドル処理2が実
行され、アイドルループフラグ3がセットされ、ヒスト
リメモリlへの履歴情報の書き込みが一時的にストップ
される。
Level change 4.4-1 to 4-3 means executing a level change command, thereby processing corresponding to the request, for example, processing +1+ 2-1 to 2-3
One of these will be executed. At this time, processing fl
+ Before any of 2-1 to 2-3 is executed, idle loop flag 3 is reset by idle loop flag reset 3-1 to 3-3, and history information is not written to history memory 1. It will be restarted. Note that if there is no processing request, idle processing 2 is executed, idle loop flag 3 is set, and writing of history information to history memory 1 is temporarily stopped.

以上のように、アイドルループフラグ3を設け、アイド
ル処理2が実行される場合にはこのアイドルループフラ
グ3をセットしてヒストリメモリ1へのH層情報の書き
込みを一時的にストップし、一方、アイドル処理2以外
の処理が実行される場合にはこのアイドルループフラグ
3をリセットしてヒストリメモリ1への履歴情報の書き
込みをスタートさせることにより、アイドル状態におけ
るレベルチェンジ命令などをヒストリメモリ1に繰り返
し書き込んで前の処理の履歴情報を書き替えてしまうこ
とがなく、有効な履歴情報を採取することが可能となる
As described above, the idle loop flag 3 is provided, and when the idle processing 2 is executed, the idle loop flag 3 is set to temporarily stop writing the H layer information to the history memory 1, and on the other hand, When processing other than idle processing 2 is executed, this idle loop flag 3 is reset and writing of history information to history memory 1 is started, thereby repeating level change commands etc. to history memory 1 in the idle state. It is possible to collect valid history information without overwriting the history information of the previous process.

次に、第2図および第3図を用いてヒストリストップ命
令5およびヒストリスタート命令6を新たに設けてアイ
ドル状態における1!歴情報の採取を一時的に停止させ
る場合について詳細に説明する。
Next, using FIGS. 2 and 3, a history stop command 5 and a history restart command 6 are newly provided, and 1! in the idle state is created. A case in which history information collection is temporarily stopped will be explained in detail.

第2図において、図中■は、処理を実行開始する状態を
示す。
In FIG. 2, ■ in the figure indicates a state in which execution of the process is started.

図中■は、処理を終了した状態を示す。この図中■ない
し■の間は、図中■に示すようにヒストリメモリへの履
歴情報の書き込みが循環するB様で実行されている。
■ in the figure indicates a state in which the processing has been completed. Between ■ and ■ in the figure, writing of history information to the history memory is performed in a circular manner B as shown in ■ in the figure.

図中■は、図中■の処理の終了に伴い、次の処理を開始
するためにレベルチェンジ命令を実行する状態を示す。
■ in the figure indicates a state in which a level change command is executed in order to start the next process upon completion of the process in ■ in the figure.

ここで、処理要求がない場合には、図中■でヒストリス
トップ命令5を発行し、図中■でヒストリメモリ1への
履歴情報の書き込みを一時的に停止させている。一方、
処理要求が前の処理終了の時(図中■の時)に既に次の
処理要求が来ていた場合には、連続して図中■で次の処
理を実行する。処理要求が前の処理終了の時に来ていな
く、一旦図中■でヒストリストップ命令5を発行してヒ
ストリメモリ1へのff歴情報の書き込みを一時的に停
止させた後、処理要求が来た場合には、図中■でヒスト
リスタート命令6を発行して図中■でヒストリメモリ1
への履歴情報の書き込みを再開させる。そして、図中■
で処理要求のあった処理を実行する。
Here, if there is no processing request, a history stop command 5 is issued at ■ in the figure, and writing of history information to the history memory 1 is temporarily stopped at ■ in the figure. on the other hand,
If the next processing request has already arrived when the previous processing request ends (at the time of ■ in the figure), the next process is executed continuously at the time of ■ in the figure. The processing request did not come when the previous processing finished, and after issuing the history stop command 5 at ■ in the diagram to temporarily stop writing the ff history information to the history memory 1, the processing request came. In this case, issue the history start command 6 at ■ in the figure, and start the history memory 1 at ■ in the figure.
Resumes writing of history information to. And in the figure ■
Executes the requested process.

第3図はヒストリメモリへの履歴情報の書き込みを停止
する回路を示す。図中ヒストリストップフラグ8は、ヒ
ストリストップ命令5の発行によってセットされ、ヒス
トリスタート命令6の発行によってリセットされるもの
である。このヒストリストップフラグ8がセットされる
と、ヒストリメモリ1に対してライトイネーブル信号が
供給されなくなって履歴情報の書き込みが一時的に停止
されると共に、アドレスレジスタ9に対するインクリメ
ントが停止される。
FIG. 3 shows a circuit for stopping writing of history information to the history memory. A history stop flag 8 in the figure is set when a history stop command 5 is issued, and reset when a history start command 6 is issued. When this history stop flag 8 is set, the write enable signal is no longer supplied to the history memory 1, and writing of history information is temporarily stopped, and at the same time, incrementing to the address register 9 is stopped.

以上のように、アイドル状態になった場合にヒストリス
トップ命令5を発行し、これをデコードしてヒストリス
トップフラグ8をセットすることにより、ヒストリメモ
リ1への履歴情報の書き込みが一時的に停止される。そ
して、アイドル処理以外の処理が開始される時にヒスト
リスタート命令6を発行し、これをデコードしてヒスト
リストップフラグ8をリセットすることにより、ヒスト
リメモリ2への履歴情報の四き込みが再開される。
As described above, writing of history information to the history memory 1 is temporarily stopped by issuing the history stop command 5 when the state becomes idle, decoding this command, and setting the history stop flag 8. Ru. Then, when a process other than idle processing is started, a history restart command 6 is issued, this is decoded, and the history stop flag 8 is reset, thereby restarting the loading of history information into the history memory 2. .

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明によれば、アイドル状態に
入った場合にアイドルループフラグをセットしてヒスト
リメモリへの書き込みを一時的に停止さ一仕たり、ある
いはヒストリストップ命令およびヒストリスタート命令
を新たに設けてアイドル状態に入った場合にヒストリメ
モリへの書き込みを一時的に停止させる構成を採用して
いるため、1)ち状態におけるH層情報の書き込みを禁
止して有効な履歴情報を採取することができる。
As explained above, according to the present invention, when the idle state is entered, the idle loop flag is set to temporarily stop writing to the history memory, or the history stop command and the history restart command are executed. Since we have adopted a new configuration that temporarily stops writing to the history memory when entering the idle state, we can: 1) Prohibit the writing of H layer information in the idle state and collect valid history information; can do.

【図面の簡単な説明】[Brief explanation of drawings]

第1図および第2図は本発明の1実施例構成図、第3図
はヒストリメモリへの履歴情報の書き込み停止回路、・
第4図および第5図は従来方式の構成図を示す。 図中、1はヒストリメモリ、2はアイドル処理、2−1
ないし2−3は処理、3はアイドルループフラグ、3−
1ないし3−3はアイドルループフラグリセット、4.
4−1ないし4−3はレベルチェンジを表す。 オ〈吻−日月 の] 突Xた。イゲj第1−2万(図(
その2)湾 2 図 ヒストリメtリヘ几後刀杏惰宰1の富力Lun1回「ゲ
拓 3 図 槌来方式の澗 兜 5 ■ 灰図(千の2) 図
1 and 2 are configuration diagrams of one embodiment of the present invention, and FIG. 3 is a circuit for stopping writing of history information to the history memory.
FIGS. 4 and 5 show configuration diagrams of the conventional system. In the figure, 1 is history memory, 2 is idle processing, 2-1
or 2-3 is processing, 3 is idle loop flag, 3-
1 to 3-3 reset the idle loop flag; 4.
4-1 to 4-3 represent level changes. Oh (prosthetically) Ige J 1st-20,000th (Figure (
Part 2) Bay 2 Figure Historime t Rehe 几Goto Anzuzai 1's wealth power Lun 1 time "Getaku 3 Figure Tsukirai style Kankabuto 5 ■ Ash map (1000 2) Figure

Claims (2)

【特許請求の範囲】[Claims] (1)計算機システムにおける処理の履歴を循環する態
様で採取するヒストリ制御方式において、次の処理のア
ドレスを決定する際に、アイドル処理へ分岐したことを
契機としてセットされ、当該アイドル処理以外の処理へ
分岐したことを契機としてリセットされるアイドルルー
プフラグ(3)を設け、 このアイドルループフラグ(3)がセットされた場合に
ヒストリメモリ(1)に処理の履歴の書き込みおよび当
該履歴を書き込むアドレスのインクレメントを一時的に
停止するように構成したことを特徴とするヒストリ制御
方式。
(1) In a history control method that collects the history of processing in a computer system in a circular manner, when determining the address of the next processing, it is set when a branch is made to an idle processing, and is set when processing other than the idle processing An idle loop flag (3) is provided that is reset when a branch is made to A history control method characterized by being configured to temporarily stop incrementing.
(2)計算機システムにおける処理の履歴を循環する態
様で採取するヒストリ制御方式において、ヒストリメモ
リ(1)への書き込みを停止させるヒストリストップ命
令(5)および開始させるヒストリスタート命令(6)
を新たに設け、 次の処理のアドレスを決定する際に、アイドル状態にな
った時にヒストリストップ命令(5)を発行してヒスト
リメモリ(1)への書き込みを一時的に停止させ、アイ
ドル状態から他の処理を実行する時にヒストリスタート
命令(6)を発行してヒストリメモリ(1)への書き込
みを再開させるように構成したことを特徴とするヒスト
リ制御方式。
(2) In a history control method that collects the history of processing in a computer system in a circular manner, a history stop instruction (5) that stops writing to the history memory (1) and a history start instruction (6) that starts it.
When determining the address for the next process, a history stop command (5) is issued when the system enters the idle state to temporarily stop writing to the history memory (1), and the process returns from the idle state. A history control system characterized in that a history start command (6) is issued to restart writing to a history memory (1) when another process is executed.
JP62151609A 1987-06-18 1987-06-18 History control system Pending JPS63316148A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62151609A JPS63316148A (en) 1987-06-18 1987-06-18 History control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62151609A JPS63316148A (en) 1987-06-18 1987-06-18 History control system

Publications (1)

Publication Number Publication Date
JPS63316148A true JPS63316148A (en) 1988-12-23

Family

ID=15522274

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62151609A Pending JPS63316148A (en) 1987-06-18 1987-06-18 History control system

Country Status (1)

Country Link
JP (1) JPS63316148A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007299126A (en) * 2006-04-28 2007-11-15 Mitsubishi Electric Corp Controller and program for controller

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007299126A (en) * 2006-04-28 2007-11-15 Mitsubishi Electric Corp Controller and program for controller

Similar Documents

Publication Publication Date Title
JPS63316148A (en) History control system
JPS62191947A (en) Disk cache control processing system
JPS6336023B2 (en)
JPH01205343A (en) System for resuming interruption of process in electronic computer system
JPS62131313A (en) Restart system for system freeze
JPS6370362A (en) Command intermission restart system in time sharing system
JPH05346867A (en) Processor for restarting data transfer
JP2001166966A (en) Method for managing execution environment of program to be tested in debugger
JPH0816880B2 (en) Database system and processing method thereof
JPS6254347A (en) Processing system for fault of file
JPH0371235A (en) Device for restarting multitask in interruption
JPS5968067A (en) Specifying system for number of run steps
JPS59189452A (en) Queue structure for data processor
JPH0462093B2 (en)
JPH03252729A (en) Data transfer control method
JPH04167146A (en) Address tracing system for information processor
JPH04113432A (en) Virtual storage control method
JPH04338852A (en) File transfer program with interruption restart mechanism
JPS6215645A (en) Central processing unit
JPS62194559A (en) Memory scheduling system of program in virtual storage system
JPS6254348A (en) Processing system for fault of file
JPH04222035A (en) Method for evading dead lock in computer system
JPH04148427A (en) Program patch system
JPS6246341A (en) I/o control method for additional processor
JPS63273144A (en) Virtual storage dump-processing method