JPS62241043A - History information collecting device - Google Patents

History information collecting device

Info

Publication number
JPS62241043A
JPS62241043A JP61083555A JP8355586A JPS62241043A JP S62241043 A JPS62241043 A JP S62241043A JP 61083555 A JP61083555 A JP 61083555A JP 8355586 A JP8355586 A JP 8355586A JP S62241043 A JPS62241043 A JP S62241043A
Authority
JP
Japan
Prior art keywords
trace
register
conditions
internal state
address
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
JP61083555A
Other languages
Japanese (ja)
Inventor
Hiroyuki Wakita
脇田 弘幸
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP61083555A priority Critical patent/JPS62241043A/en
Publication of JPS62241043A publication Critical patent/JPS62241043A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To perform the instruction of the detailed trace conditions by providing a trace condition register and a trace counter register, etc., and controlling the trace conditions of the data stored in a history information collecting device based on two conditions, i.e., the internal state and the fixed time. CONSTITUTION:The replacement of a trace address register 13 is carried out in accordance with the contents of a trace condition register 15 which instructs the trace conditions based on the internal state of the register 13 and via a trace counter 16, etc. In other words, the register 13 is replaced at a time point when the coincidence is obtained between the contents of the register 15 and those of a trace buffer register 12 and also when the output signal of the register 16 is not equal to 'all-0'. Then the register 16 undergoes decrement through a decrement circuit 17 until the value of the register 16 is equal to 0. This decrement action is started at a time point when a coincidence detector 18 detects the coincident. Then an increment instruction is given to an incrementer 14 within a period during which an address register advancing circuit 19 detects the coincidence and then 'all-0' is detected. Thus the detailed trace conditions can be instructed by controlling the trace conditions under two conditions, i.e., the internal state of the register and the fixed time.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、履歴情報収集装置に関し、特に情報処理装置
の内部状態のトレースを行5ため、履歴情報収集に関す
る。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a history information collection device, and particularly to history information collection for tracing the internal state of an information processing device.

〔従来の技術〕[Conventional technology]

従来情報処理装置のトレーサメモリにおいて、内部情報
をトレースする条件としては、1種類のもの(たとえば
毎クロック)、とか、複数の条件をあらかじめ選択指定
(たとえば毎タロツク、一定時間毎)できるよ、うにな
ってい友。
Conventionally, in the tracer memory of an information processing device, the conditions for tracing internal information can be one type (for example, every clock) or multiple conditions can be selected and specified in advance (for example, every tarok, every fixed time). Become a friend.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述しt情報処理装置の内部情報のトレースについては
、トレースが行なわれるケースにより種々の要求があり
、その条件は、ますます複雑になってきている。特に、
装置の特定の内部状態に着目して、時間的に、その近辺
の情報が取りたい場合で、かつこの状態がくり返し、時
間間隔をあけて発生する場合、通常のトレース装置では
、トレーススパンが長くなりすぎ之り、トレース単位時
間が長くなったりして、細い情報がとれないという欠点
があっ几。
Regarding tracing of the internal information of the above-mentioned information processing device, there are various requirements depending on the case in which tracing is performed, and the conditions thereof are becoming increasingly complex. especially,
When you want to focus on a specific internal state of a device and obtain information in the temporal vicinity, and when this state occurs repeatedly and at intervals, a normal trace device requires a long trace span. This has the disadvantage that the trace unit time becomes too long and detailed information cannot be obtained.

〔問題点を解決する定めの手段〕[Defined means of solving problems]

本発明の履歴情報収集装置は、情報処理システムにおけ
る内部状態の履歴情報収集を行うための内部の状態情報
を保持するトレースメモリと、該トレースメモリに書込
む定めに装置の内部情報を一時的に保持するトレースバ
ッファレジスタと、前記トレースメモリの書込みアドレ
スを保持するトレースアドレスレジスタト、該トレース
アドレスレジスタの内容を歩進するインクリメンタと。
The history information collecting device of the present invention includes a trace memory that holds internal state information for collecting history information of internal states in an information processing system, and a trace memory that temporarily stores internal information of the device to be written to the trace memory. a trace buffer register for holding, a trace address register for holding a write address of the trace memory, and an incrementer for incrementing the contents of the trace address register.

内部状態に従ったトレース条件を指示するトレース条件
レジスタと、1トレース毎のクロック数を指定するトレ
ースカウントレジスタと、該トレースカウントレジスタ
の内容を受けて、−1L、−0”検出を行うデクリメン
タと、前記トレース条件レジスタと内部状態との一致検
出器と、前記一致検出器とデクリメンタの出力信号にL
り前記トレースアドレスレジスタの歩進を制御する回路
と有している。
A trace condition register that specifies trace conditions according to the internal state, a trace count register that specifies the number of clocks for each trace, and a decrementer that detects -1L and -0'' based on the contents of the trace count register. , a match detector between the trace condition register and the internal state, and output signals of the match detector and decrementer are set to L.
The circuit also includes a circuit for controlling the increment of the trace address register.

〔実施例〕〔Example〕

次に本発明の実施例について、図面を参照して説明する
Next, embodiments of the present invention will be described with reference to the drawings.

第1図に本発明の一実施例を示す。第1図において、本
実施例ハ、トレースメモリ11と、このトレースメモリ
11に接続されるトレースバッファレジスタ12お工び
トレースアドレスレジスタ13と、トレースアドレスレ
ジスタに接続さnるインクリメンタ14と、トレース条
件レジスタ15と、トレースカウントレジスタ16と、
トレースカウンタレジスタ16に接続されるデクリメン
タ17と、)レースバッファレジスタ12とトレース条
件レジスタ15とに接続される一致検出器18と、デク
リメンタ17と一致検出器18に接続されるアドレスレ
ジスタ歩進回路19とを含む。
FIG. 1 shows an embodiment of the present invention. In FIG. 1, the present embodiment includes a trace memory 11, a trace buffer register 12 connected to the trace memory 11, a trace address register 13, an incrementer 14 connected to the trace address register, and a trace buffer register 12 connected to the trace memory 11. a condition register 15, a trace count register 16,
a decrementer 17 connected to the trace counter register 16; a coincidence detector 18 connected to the race buffer register 12 and the trace condition register 15; and an address register increment circuit 19 connected to the decrementer 17 and the coincidence detector 18. including.

第2図は本実施例におけるトレースが行なわれていると
きの状態を示す、第2@七参照して本実施例の動作全説
明すると、装置が動作しているとき、トレースバッファ
レジスタ12に受けられた装置の内部状態が、順次トレ
ースメモリに書込まれ、情報が蓄積される。そのトレー
スメモリ11のアドレスニ、トレースアドレスレジスタ
13にエフ指示されるが、トレースアドレスレジスタ1
3の制御を行うことに工す、トレースしない場合は、ア
ドレスを更新しないでトレースすることに1夛、無駄な
トレースを除くことができる。
FIG. 2 shows the state when tracing is being performed in this embodiment.To explain the entire operation of this embodiment with reference to 2@7, when the device is operating, the trace buffer register 12 receives The internal state of the device thus determined is sequentially written to the trace memory, and the information is accumulated. The address of the trace memory 11 is specified to the trace address register 13, but the trace address register 1
By performing the control described in step 3, if tracing is not performed, tracing is performed without updating the address, thereby eliminating unnecessary traces.

本実施例におけるトレースアドレスレジスタの歩進条件
ハ、トレース条件レジスタ15の内容と、トレースバッ
ファレジスタ12の内容が一致した時で、かつトレース
カウントレジスタの出力信号がオールOにない時に、ト
レースアドレスレジスタ13の更新が行なわれる、トレ
ースカウントレジスタ16は、デクリメント回路17に
よフOになる迄デクリメントされ、Oの検出が行なわれ
る。
The step condition for the trace address register in this embodiment is when the contents of the trace condition register 15 and the contents of the trace buffer register 12 match, and when the output signal of the trace count register is not all O, the trace address register The trace count register 16, which is updated with 13, is decremented by the decrement circuit 17 until it becomes 0, and 0 is detected.

デクリメントの開始は、一致検出器18が一致を検出し
定時とする。アドレスレジスタ歩進回路19は、一致検
出器18の出力で一致が検出した時から、デクリメンタ
17の出力で、オー//、0が検出される迄の間、イン
クリメンタ14へ、インクリメントの指示を行う。
The decrement starts at a fixed time when the coincidence detector 18 detects a coincidence. The address register increment circuit 19 instructs the incrementer 14 to increment from the time when a match is detected in the output of the match detector 18 until the time when O//, 0 is detected in the output of the decrementer 17. conduct.

この工うに本実施例はトレースメモリの内部状態に応じ
tトレースを行うトレース条件レジスタを保持するとと
もに、該トレース条件が発生し定時点から、指定された
時間の連続トレースを行う九めのトレースカウントレジ
スタを設けることにLり、第2図に示すような時間のト
レースを可能にする。
In order to do this, this embodiment holds a trace condition register that performs t tracing according to the internal state of the trace memory, and also maintains a trace condition register that performs a trace for a specified time from the specified time point when the trace condition occurs. Providing the register makes it possible to trace time as shown in FIG.

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

以上説明しtように、本発明は、装置内のデータのトレ
ース条件を、内部状態と、一定時間の2つの条件で制御
することjul)、きめの細いトレース条件が指示でき
るといり効果がある。
As explained above, the present invention is effective in that it is possible to control the trace conditions of data within the device using two conditions: the internal state and a fixed time, and to specify fine-grained trace conditions. .

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

第1図は、本発明の一実施例を示すブロック図、第2図
は本発明の一実施例におけるトレース状態を示す図であ
る。 11・・・・・・トレースメモリ、12・・・・・・ト
レースバッファレジスタ、13・・・・・・トレースア
ドレスレジスタ、14・・・・・・インクリメンタ、1
5・・・・・・トレース条件レジスタ、16・・・・・
・トレースカウントレジスP、17・・・・・・デクリ
メンタ、18・・・・・・一致検出器、19・・・・・
・アドレスレジスタ歩進回路。 ノ乙 Fレースカウンタしンズタ 第1図
FIG. 1 is a block diagram showing one embodiment of the present invention, and FIG. 2 is a diagram showing a trace state in one embodiment of the present invention. 11...Trace memory, 12...Trace buffer register, 13...Trace address register, 14...Incrementer, 1
5...Trace condition register, 16...
・Trace count register P, 17... Decrementer, 18... Match detector, 19...
・Address register step circuit. Nootsu F race counter Shinzuta Figure 1

Claims (1)

【特許請求の範囲】[Claims] 情報処理システムにおける内部状態の履歴情報収集を行
うための、内部の状態情報を保持するトレースメモリと
、該トレースメモリに書込むために装置の内部情報を一
時的に保持するトレースバッファレジスタと、前記トレ
ースメモリの書込みアドレスを保持するトレースアドレ
スレジスタと、該トレースアドレスレジスタの内容を歩
進するインクリメンタと、内部状態に従ったトレース条
件を指示するトレース条件レジスタと、1トレース毎の
クロック数を指定するトレースカウントレジスタと、該
トレースカウントレジスタの内容を受けて、−1し、“
0”検出を行うデクリメンタと、前記トレース条件レジ
スタと内部状態との一致検出器と、前記一致検出器とデ
クリメンタの出力信号により、前記トレースアドレスレ
ジスタの歩進を制御する回路とを含むことを特徴とする
履歴情報収集装置。
a trace memory that holds internal state information for collecting history information of internal states in the information processing system; a trace buffer register that temporarily holds internal information of the device for writing to the trace memory; A trace address register that holds the write address of the trace memory, an incrementer that increments the contents of the trace address register, a trace condition register that specifies trace conditions according to the internal state, and specifies the number of clocks for each trace. Receive the trace count register and the contents of the trace count register, -1, and “
0'' detection, a coincidence detector between the trace condition register and an internal state, and a circuit that controls increment of the trace address register by output signals of the coincidence detector and the decrementer. historical information collection device.
JP61083555A 1986-04-11 1986-04-11 History information collecting device Pending JPS62241043A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61083555A JPS62241043A (en) 1986-04-11 1986-04-11 History information collecting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61083555A JPS62241043A (en) 1986-04-11 1986-04-11 History information collecting device

Publications (1)

Publication Number Publication Date
JPS62241043A true JPS62241043A (en) 1987-10-21

Family

ID=13805756

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61083555A Pending JPS62241043A (en) 1986-04-11 1986-04-11 History information collecting device

Country Status (1)

Country Link
JP (1) JPS62241043A (en)

Similar Documents

Publication Publication Date Title
US5630172A (en) Data transfer control apparatus wherein an externally set value is compared to a transfer count with a comparison of the count values causing a transfer of bus use right
JPS62241043A (en) History information collecting device
JPS62241044A (en) History information collecting device
JPS60262243A (en) High-speed arithmetic unit
JPS62279438A (en) Tracking circuit
JPS63124145A (en) Information processor
JP2923869B2 (en) Event input circuit
JPS6285319A (en) Internal timepiece correcting system for computer
JPS63298452A (en) Tracer circuit
JPS63103312A (en) Timer control system
JPH0282334A (en) Bus cycle trace circuit
JPH01154259A (en) Data trace system
JPS61131132A (en) Tracer circuit
JPS62286134A (en) Tracer system
JPS60235252A (en) Status log storage device
JPS6368924A (en) System for controlling data processing of microprocessor
JPS6341950A (en) Branch instruction execution measurement controlling system
JPS6292038A (en) Control system for record of history memory
JPS62166449A (en) History storage device for logical unit
JPH02244342A (en) Trace for branch instruction
JPS60241140A (en) Address tracing device of microprogram
JPH02287732A (en) Register address generating device
JPH0354377B2 (en)
JPH04192037A (en) Semiconductor integrated circuit
JPS62130436A (en) Trace controller