JPS62241043A - History information collecting device - Google Patents
History information collecting deviceInfo
- 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
Links
- 230000010365 information processing Effects 0.000 claims description 5
- 238000001514 detection method Methods 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
- 239000000700 radioactive tracer Substances 0.000 description 1
- 230000002123 temporal effect Effects 0.000 description 1
Abstract
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.
従来情報処理装置のトレーサメモリにおいて、内部情報
をトレースする条件としては、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.
上述し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.
本発明の履歴情報収集装置は、情報処理システムにおけ
る内部状態の履歴情報収集を行うための内部の状態情報
を保持するトレースメモリと、該トレースメモリに書込
む定めに装置の内部情報を一時的に保持するトレースバ
ッファレジスタと、前記トレースメモリの書込みアドレ
スを保持するトレースアドレスレジスタト、該トレース
アドレスレジスタの内容を歩進するインクリメンタと。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.
次に本発明の実施例について、図面を参照して説明する
。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.
以上説明し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. .
第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)
うための、内部の状態情報を保持するトレースメモリと
、該トレースメモリに書込むために装置の内部情報を一
時的に保持するトレースバッファレジスタと、前記トレ
ースメモリの書込みアドレスを保持するトレースアドレ
スレジスタと、該トレースアドレスレジスタの内容を歩
進するインクリメンタと、内部状態に従ったトレース条
件を指示するトレース条件レジスタと、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.
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) |
-
1986
- 1986-04-11 JP JP61083555A patent/JPS62241043A/en active Pending
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 |