JPS62264343A - Storing device for action information history and performance measurement information - Google Patents

Storing device for action information history and performance measurement information

Info

Publication number
JPS62264343A
JPS62264343A JP61109224A JP10922486A JPS62264343A JP S62264343 A JPS62264343 A JP S62264343A JP 61109224 A JP61109224 A JP 61109224A JP 10922486 A JP10922486 A JP 10922486A JP S62264343 A JPS62264343 A JP S62264343A
Authority
JP
Japan
Prior art keywords
signal
information
update
address
performance measurement
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
JP61109224A
Other languages
Japanese (ja)
Inventor
Kazuhiko Maekawa
和彦 前川
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 JP61109224A priority Critical patent/JPS62264343A/en
Publication of JPS62264343A publication Critical patent/JPS62264343A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To obtain the action information history and the performance measurement information via the same memory means by adding a counting means for performance measurement information, a counting means for reference signals, a selecting means for replacement signals, a selecting means for replacement stop request signals, etc. CONSTITUTION:An input information selecting means 402 selects the action information side and a replacement stop request signal selecting means 404 selects the fault detecting signal side. The a replacement signal selecting means 407 selects the 2nd reference signal side. Under such conditions, the action information histories of a fixed past period are always stored in a memory means 400. While the means 402 is set to select the side of a counting means 401 together with the means 404 set to select the side of an address means 403 and the means 407 set to select the side of a reference signal counting means 406 respectively. At the same time, a replacement enable display means 405 is set by the replacement start request signal. Then the performance measurement information is stored in the means 400.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は情報処理装置内の情報を1Miする装置に関し
、特に情報処理装置の障害発生時にその原因を解析する
のに有益な動作情報履歴と、情報処理装置の性能測定に
有益を性能測定情報とを共通の記憶手段を使用して蓄積
する装置に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a device that stores information in an information processing device on a 1Mi basis, and particularly relates to an operation information history and information processing device useful for analyzing the cause of a failure in the information processing device. The present invention relates to an apparatus for storing performance measurement information useful for performance measurement of an information processing apparatus using a common storage means.

〔従来の技術〕[Conventional technology]

情報処理装置が障害によってダウンした場合にどのよう
な原因で障害が発生したかについての解析を容易なもの
とする為、従来より、情報処理装置内の各部の情報例え
ばレジスタの情報などを所定時間毎に動作情報として記
憶手段に記憶し、障害が発生したときその記憶処理を停
止することによって、前記記憶手段に過去一定期間の動
作情報の履歴を残しておくことが行なわれている。
When an information processing device goes down due to a failure, in order to make it easier to analyze the cause of the failure, information on each part of the information processing device, such as register information, has been stored for a predetermined period of time. A history of operating information for a certain period in the past is left in the storage means by storing it in a storage means as operation information every time a failure occurs, and stopping the storage process when a failure occurs.

また、情報処理装置の出荷前における開発評価時等にお
いては、情報処理装置の性能評価が行なわれるが、その
際にはキャッシュメモリにおけるキャッシュミスヒント
回数など性能測定に有益な情報を採取することも行なわ
れている。
In addition, performance evaluations of information processing devices are performed during development evaluations before shipment of information processing devices, and at that time, information useful for performance measurement, such as the number of cache miss hints in cache memory, may be collected. It is being done.

そして、従来、上記の動作情報履歴の記憶と性能測定情
報の採取は、下記のようにして行なわれている。
Conventionally, the storage of the operation information history and the collection of performance measurement information have been carried out as follows.

[動作情報履歴の記憶コ 第3図は従来の動作情報履歴記憶装置のブロック図であ
り、情報履歴記憶手段300と、複数の動作情報の中か
ら情tIla歴記憶手段300へ入力すべき動作情報を
選択する入力情報選択手段301と、情報履歴記憶手段
300の書込みアドレスを供給するアドレス手段302
と、更新開始要求手段303と、情報処理装置の障害を
検出する障害検出手段304と、更新開始要求手段30
3の出力でセットされ障害検出手段304の障害検出出
力によってリセットされる更新可能表示手段305と、
更新可能表示手段305の出力内容に応じてアドレス手
段302および情報履歴記憶手段300を基準信号の到
来毎に制御する更新制御手段306と、情報履歴記憶手
段300に記憶された動作情報履歴を読出す読出し手段
307とで構成されている。
[Storage of operation information history] FIG. 3 is a block diagram of a conventional operation information history storage device, which includes an information history storage means 300, and operation information to be input into the information history storage means 300 from among a plurality of pieces of operation information. an input information selection means 301 for selecting an input information selection means 301 and an address means 302 for supplying a write address of the information history storage means 300;
, an update start requesting means 303 , a failure detection means 304 for detecting a failure of the information processing apparatus, and an update start requesting means 30
updatable display means 305 that is set by the output of No. 3 and reset by the failure detection output of the failure detection means 304;
An update control means 306 controls the address means 302 and the information history storage means 300 each time a reference signal arrives according to the output contents of the updatable display means 305, and reads out the operation information history stored in the information history storage means 300. It is composed of a reading means 307.

入力情報選択手段301によって情報処理装置の障害探
索に必要な入力情報群を選択した状態で、更新開始要求
手段303から更新開始要求が出されると、更新可能表
示手段305がセットされ、更新制御手段306によっ
てアドレス手段302と情報履歴記憶手段300との更
新が基準信号が到来する毎に行なわれる。つまり、アド
レス手段302が次のアドレスを指すように更新され、
入力情報選択手段3016出力が情報履歴記憶手段30
0に書込まれる動作が基準信号の到来毎に実施される。
When an update start request is issued from the update start request means 303 with the input information selection means 301 selecting a group of input information necessary for troubleshooting the information processing device, the update possible display means 305 is set, and the update control means 306, the address means 302 and the information history storage means 300 are updated each time a reference signal arrives. That is, the address means 302 is updated to point to the next address,
The input information selection means 3016 output is the information history storage means 30
A write to 0 operation is performed on each arrival of the reference signal.

そして、アドレス手段302の更新は、最終アドレスを
指すと最初のアドレスへ戻るように構成されているので
、情報履歴記憶手段300には、絶えず過去一定期間内
の動作情報の履歴が格納されることになる。
Since the address means 302 is updated so that when it points to the final address, it returns to the first address, the information history storage means 300 constantly stores the history of operating information within a certain period of time. become.

上述した動作が行なわれている状態で情報処理装置に障
害が発生すると、これが障害検出手段304で検出され
、更新可能表示手段305がリセットされる。これによ
って、更新制御手段306はアドレス手段302と情報
履歴記憶手段300との更新を停止するものであり、従
って、情報履歴記憶手段300には障害が検出された時
点から過去一定期間内の動作情報の履歴が記憶されたま
まとなる。そこで、この情報履歴記憶手段300の内容
を読出し手段307によって読出し、これを解析するこ
とで障害発生時までの情報処理装置の動きが把握でき、
効果的な障害探索が可能となる。
If a failure occurs in the information processing apparatus while the above operations are being performed, this is detected by the failure detection means 304, and the updatable display means 305 is reset. As a result, the update control means 306 stops updating the address means 302 and the information history storage means 300. Therefore, the information history storage means 300 stores operating information for a certain period of time from the time when the failure was detected. The history will remain stored. Therefore, by reading out the contents of this information history storage means 300 by the reading means 307 and analyzing it, it is possible to grasp the operation of the information processing apparatus up to the time of occurrence of the failure.
Effective fault search becomes possible.

[性能測定情報の採取] 一方、情報処理装置の性能測定情報の採取は第4図に示
すように、情報処理装置400とは別に性能測定専用装
置401を設置すると共に、動作状態において性能測定
情報が取出せる出力端子402を情報処理vt装400
側に設け、性能測定専用装置401の入力端子403を
ケーブル等によって上記出力端子402に接続すること
により、性能測定専用装置401で性能測定情報の採取
と記憶とを行なう構成となっていた。
[Collection of performance measurement information] On the other hand, as shown in FIG. 4, to collect performance measurement information of the information processing device, a dedicated performance measurement device 401 is installed separately from the information processing device 400, and the performance measurement information is collected in the operating state. The output terminal 402 from which the information processing VT device 400 can be taken out
By connecting the input terminal 403 of the performance measurement dedicated device 401 to the output terminal 402 with a cable or the like, the performance measurement dedicated device 401 collects and stores performance measurement information.

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

このように従来においては、動作情報履歴の記憶と性能
測定情報の採取とはそれぞれ別々の装置で実施されてお
り、特に性能測定情報の採取には性能測定専用装置とい
った特別な装置を必要とした。しかし、一般に性能測定
専用装置は、対象とする情報処理装置と同程度以上の性
能を有しなければ性能測定情報の採取が正しくできない
ので、高価なものとなる。また、最近は情報処理装置の
性能、集積度が著しく向上した為、それに対応できる性
能測定専用装置を入手することが困難になってきており
、更に情報処理装置側に測定用信号の入出力端子を用意
することも困難になってきている。
In this way, in the past, storing operating information history and collecting performance measurement information were performed using separate devices, and in particular, collecting performance measurement information required special equipment such as a device dedicated to performance measurement. . However, in general, performance measurement dedicated devices are expensive because they cannot correctly collect performance measurement information unless they have performance comparable to or higher than the target information processing device. In addition, recently, the performance and degree of integration of information processing devices have improved significantly, so it has become difficult to obtain dedicated performance measurement equipment that can handle this. It is also becoming difficult to prepare.

本発明はこのような事情に鑑みて為されたものであり、
その目的は、従来の動作情報履歴記憶装置に多少のハー
ドウェアを付加することにより、その記憶装置で性能測
定情報の採取もできるようにすることにある。
The present invention has been made in view of these circumstances,
The purpose is to add some hardware to a conventional performance information history storage device so that the storage device can also collect performance measurement information.

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

本発明は、動作情報履歴の蓄積と性能測定情報の採取と
を同時に行なう必要性は極めて少ない点に着目して為さ
れたものであり、上記目的を達成するために、第1図の
原理図に示すように、複数の記憶単位を含む記憶手段4
00と、性能測定情報を計数する計数手段401と、動
作情報と計数手段401の出力とを入力とし、記憶手段
400への入力情報を選択する入力情報選択手段402
と、更新信号が加わる毎に所定のアドレス範囲内で順次
に書込みアドレスを更新して記憶手段400に加えるア
ドレス手段403と、アドレス手段403が所定アドレ
スを発生したことを示す信号と情報処理装置の障害検出
信号とを入力とし、入力のうちの何れか一つを選択して
更新停止要求信号として出力する更新停止要求信号選択
手段404と、更新開始要求信号によってセットされ、
更新停止要求信号選択手段404から出力される更新停
止要求信号によってリセットされる更新可能表示手段4
05と、第1の基準信号を所定数だけ計数したときその
旨を示す信号を通知する基準信号計数手段406と、第
2の基準信号と基準信号計数手段406からの通知信号
とを入力とし、入力のうちの何れが一つを選択して出力
する更新信号選択手段407と、更新可能表示手段40
5がセットされている期間中、更新信号選択手段407
の出力を、更新信号としてアドレス手段403に加える
と共に書込み指示信号として記憶手段400に加える更
新制御手段408と、記憶手段400の記憶内容の読出
しを行なう読出し手段409とを備える。
The present invention was made with the focus on the fact that there is extremely little need to simultaneously accumulate operating information history and collect performance measurement information, and in order to achieve the above object, the principle diagram shown in FIG. As shown, a storage means 4 including a plurality of storage units
00, a counting means 401 for counting performance measurement information, and an input information selection means 402 for selecting input information to the storage means 400 by receiving the operation information and the output of the counting means 401 as inputs.
and an address means 403 that sequentially updates the write address within a predetermined address range and adds it to the storage means 400 each time an update signal is applied, and a signal indicating that the address means 403 has generated a predetermined address and an information processing device. an update stop request signal selection means 404 which takes the failure detection signal as an input, selects one of the inputs and outputs it as an update stop request signal, and is set by the update start request signal;
Updatable display means 4 reset by an update stop request signal output from update stop request signal selection means 404
05, a reference signal counting means 406 that notifies a signal indicating that when a predetermined number of first reference signals have been counted, and a second reference signal and a notification signal from the reference signal counting means 406, Update signal selection means 407 that selects and outputs one of the inputs, and update possible display means 40
5 is set, the update signal selection means 407
The update control means 408 applies the output of 1 to the address means 403 as an update signal and also to the storage means 400 as a write instruction signal, and the reading means 409 reads out the contents of the storage means 400.

〔作用〕[Effect]

入力情n3!i択手段402が動作情報側を選択し、更
新停止要求信号選択手段404が障害検出信号側を選択
し、更新信号選択手段407が第2の基準信号側を選択
するように設定すると、本蓄積装置は動作情報履歴の蓄
積を行なう、即ち、更新開始要求信号によって更新可能
表示手段405がセットされると、第2の基準信号が到
来したタイミングでアドレス手段403の内容が更新さ
れると共に、更新制御手段408から書込み指示信号が
記憶手段400に出され、アドレス手段403で発生さ
れたアドレスに対応する記憶手段400の領域に動作情
報が記憶され、次に再び第2の基準信号が現れたときに
はアドレス手段403で発生される次のアドレスに、そ
の時の動作情報が記憶され、このような動作が継続して
行なわれることによって、記憶手段400に常に過去一
定期間の動作情報H歴が蓄積される。
Input information n3! When the i selection means 402 selects the operation information side, the update stop request signal selection means 404 selects the fault detection signal side, and the update signal selection means 407 selects the second reference signal side, the main storage The device accumulates the operation information history. That is, when the update enable display means 405 is set by the update start request signal, the contents of the address means 403 are updated at the timing when the second reference signal arrives, and the update is started. A write instruction signal is output from the control means 408 to the storage means 400, the operation information is stored in the area of the storage means 400 corresponding to the address generated by the address means 403, and when the second reference signal appears again next time, The operation information at that time is stored in the next address generated by the address means 403, and by continuously performing such operations, the operation information H history of a certain past period is always accumulated in the storage means 400. .

そして、情報処理vi置に障害が発生すると、障害検出
信号により更新可能表示手段405がリセットされる為
、更新制御手段408はもはや記憶手段400へ書込み
指示信号を送出しなくなり、記憶手段400には障害発
生時から過去一定期間までの動作情報履歴が蓄積された
ままとなる。
When a failure occurs in the information processing device vi, the updatable display means 405 is reset by the failure detection signal, so the update control means 408 no longer sends a write instruction signal to the storage means 400, and the storage means 400 The operation information history from the time of failure to a certain period in the past remains accumulated.

一方、入力情報選択手段402が計数手段401側を選
択し、更新停止要求信号選択手段404がアドレス手段
403側を選択し、更新信号選択手段407が基準信号
計数手段406側を選択するように設定し、且つ、更新
開始要求信号によって更新可能表示手段405をセット
すると、零MM1装置は性能測定情報の採取を行なう。
On the other hand, the input information selection means 402 selects the counting means 401 side, the update stop request signal selection means 404 selects the address means 403 side, and the update signal selection means 407 selects the reference signal counting means 406 side. Then, when the update enable display means 405 is set by the update start request signal, the zero MM1 device collects performance measurement information.

即ち、性能測定情報が発生する毎にそれが計数手段40
1で計数される一方、基準信号計数手段406で第1の
基準信号が計数され、それが所定数計数されると更新制
御手段408からの更新信号によってアドレス手段40
3の内容が更新され、また書込み指示信号が記憶手段4
00に出される。従って、アドレス手段403で発生さ
れたアドレスに対応する記憶手段400の領域に計数手
段401の出力が記憶され、次に再び基準信号計数手段
406で第1の基準信号が所定数だけ計数されたときに
はアドレス手段403で発生された次のアドレスに、そ
の時の計数手段401の出力が記憶され、このような動
作が継続して行なわれることによって、記憶手段400
に計数手段401の出力が順次蓄積される。そして、ア
ドレス手段403の発生アドレスが例えば記憶手段40
0の最終アドレスを示す所定値になると、その旨を示す
信号が更新停止要求信号選択手段404で選択されて更
新可能表示手段405がリセットされ、記憶手段400
へのその後の記憶は停止される。記憶手段400に記憶
された性能測定情報に関する内容は読出し手段409に
より例えば図示しない情報記憶装置に読出すことができ
る。そして、記憶手段400の記憶容量分の採取だけで
は不十分な場合は、再度更新開始要求信号が発生され、
上述と同様な動作が繰返し行なわれる。
That is, each time performance measurement information is generated, it is counted by the counting means 40.
1, the first reference signal is counted by the reference signal counting means 406, and when a predetermined number of first reference signals are counted, the address means 40 is counted by an update signal from the update control means 408.
3 is updated, and the write instruction signal is sent to the storage means 4.
Served at 00. Therefore, when the output of the counting means 401 is stored in the area of the storage means 400 corresponding to the address generated by the address means 403, and the first reference signal is counted a predetermined number by the reference signal counting means 406 again, The output of the counting means 401 at that time is stored in the next address generated by the address means 403, and by continuing this operation, the memory means 400
The outputs of the counting means 401 are sequentially accumulated. Then, the generated address of the address means 403 is stored in the storage means 40, for example.
When the predetermined value indicating the final address of 0 is reached, a signal indicating this is selected by the update stop request signal selection means 404, the updatable display means 405 is reset, and the storage means 400
Further memory to is stopped. The content related to the performance measurement information stored in the storage means 400 can be read by the reading means 409 to, for example, an information storage device (not shown). Then, if it is insufficient to collect the storage capacity of the storage means 400, an update start request signal is generated again.
Operations similar to those described above are repeated.

〔実施例〕〔Example〕

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

第2図は本発明の一実施例のブロック図であり、情報処
理装置に備えられた構成を示す。
FIG. 2 is a block diagram of an embodiment of the present invention, showing a configuration provided in an information processing device.

同図において、カウンタ回路1は基準信号計数手段を構
成するもので、端子111に加わる第1の基準信号をカ
ウントし、オーバフローするとキャリーアウト13号1
61を出力する。
In the figure, a counter circuit 1 constitutes a reference signal counting means, and counts a first reference signal applied to a terminal 111, and when an overflow occurs, a carry-out No. 13
61 is output.

カウンタ回路21〜24は性能測定情報の計数手段を構
成するもので、それぞれ端子121−124に加わる性
能被測定信号をカウントし、計数信号221〜224を
出力する。
Counter circuits 21 to 24 constitute a counting means for performance measurement information, and count performance measurement signals applied to terminals 121 to 124, respectively, and output count signals 221 to 224.

記憶回路3はn個の記憶単位を有する例えばスタティッ
クランダムアクセスメモリ又はレジスタファイル群で構
成されており、端子■に加わるライトイネーブル信号1
31がオンの時、端子−八に加わるライトアドレス信号
141で示されるアドレスに、端子−〇に加わるライト
、データ信号151−154の内容を記憶する。また、
例えばライトイネーブル信号131がオフの時、端子R
Aに加わるリードアドレス信号132で示されるアドレ
スの記憶内容を読出し、端子8口よりリードデータ信号
133を出力する。
The memory circuit 3 is composed of, for example, a static random access memory or a register file group having n memory units, and the write enable signal 1 applied to the terminal
31 is on, the contents of the write and data signals 151-154 applied to terminal -0 are stored in the address indicated by the write address signal 141 applied to terminal -8. Also,
For example, when the write enable signal 131 is off, the terminal R
The memory contents of the address indicated by the read address signal 132 applied to A are read out, and a read data signal 133 is outputted from the 8 terminals.

カウンタ回路4はアドレス手段を構成し、更新信号14
2が加わる毎に内容を歩進する。このカウンタ回路4の
カウンタ値は書込みアドレス信号14′1として記憶手
段3に入力される。カウンタ、回路4は記憶手段3の複
数の記憶単位の先頭アドレスから順次最終アドレスまで
歩進されるとオーバフローし、キャリーアウト信号17
1を発生する。
The counter circuit 4 constitutes an address means, and the update signal 14
Each time 2 is added, the contents are incremented. The counter value of this counter circuit 4 is inputted to the storage means 3 as a write address signal 14'1. When the counter circuit 4 is incremented sequentially from the first address to the last address of a plurality of storage units in the storage means 3, it overflows and a carry-out signal 17 is generated.
Generates 1.

セレクタ回路51〜54は、入力情報選択手段を構成し
、情報処理装置各部のレジスタなどの内容が加わる端子
251〜254の動作データと、カウンタ回路21〜2
4の計数信号221〜224との内の一方を選択し、ラ
イトデータ信号151〜154として記憶手段3に出力
する。
The selector circuits 51 to 54 constitute input information selection means, and input the operation data of the terminals 251 to 254 to which the contents of registers of each part of the information processing device are added, and the counter circuits 21 to 2.
One of the four count signals 221 to 224 is selected and outputted to the storage means 3 as write data signals 151 to 154.

セレクタ回路6は更新信号選択手段を構成し、端子16
2に加わる第2の基準信号と、カウンタ回路lのキャリ
アウド信号との内から一方を選択し、更新信号163と
して出力する。
The selector circuit 6 constitutes update signal selection means, and the terminal 16
2 and the carried signal of the counter circuit 1, and outputs it as an update signal 163.

セレクタ回路7は更新停止要求信号選択手段を構成し、
図示しない障害検出手段から端子172に加わる障害検
出信号と、カウンタ回路4のキャリーアウト信号171
との内の一方を選択し、更新停止要求信号として更新可
能表示手段を構成するフリップフロップ10へ出力する
The selector circuit 7 constitutes update stop request signal selection means,
A fault detection signal applied to the terminal 172 from a fault detection means (not shown) and a carry-out signal 171 of the counter circuit 4
One of these is selected and outputted as an update stop request signal to the flip-flop 10 constituting the updatable display means.

更新開始要求回路9は、カウンタ回路4および記憶回路
3の更新の開始を要求する信号を発生するもので、フリ
ップフロップlOは更新開始要求回路9からの信号でセ
ットされ、セレクタ回路7からの更新停止要求信号でリ
セットされる。
The update start request circuit 9 generates a signal requesting the start of updating of the counter circuit 4 and the memory circuit 3. The flip-flop 10 is set by the signal from the update start request circuit 9, and the flip-flop IO is set by the signal from the update start request circuit 9, and the update from the selector circuit 7 is started. Reset by stop request signal.

フリップフロップ10の出力は、更新制御手段を構成す
るアンド回路11の、一方の入力端子に加えられ、アン
ド回路11の他方の入力端子にはセレクタ回路6からの
更新信号163が加えられる。従って、アンド回路11
の出力には、フリップフロップ10がセットされている
期間に限り、更新信号163と同じ更新信号142が現
れ、これがカウンタ回路4の更新を指示する信号になる
と共に、記憶回路3へのライトイネーブル信号131を
発生するフリップフロップ12へのセット信号となる。
The output of the flip-flop 10 is applied to one input terminal of an AND circuit 11 constituting update control means, and the update signal 163 from the selector circuit 6 is applied to the other input terminal of the AND circuit 11. Therefore, AND circuit 11
An update signal 142, which is the same as the update signal 163, appears at the output of the flip-flop 10 only during the period when the flip-flop 10 is set. This becomes a set signal to the flip-flop 12 that generates 131.

続出し部8は、リードアドレスカウンタ回路13と、涜
出しデータレジスタ回路14と図示を省略したそれらの
制御回路とを含み、リードアドレスカウンタ回路13か
らリードアドレス信号132を記tα回路3に対し送出
し、記憶回路3からのリードデ−り133は読出しデー
タレジスタ回路14で受取る。
The continuation unit 8 includes a read address counter circuit 13, a data register circuit 14, and their control circuits (not shown), and sends a read address signal 132 from the read address counter circuit 13 to the tα circuit 3. However, the read data 133 from the storage circuit 3 is received by the read data register circuit 14.

情報記憶部15は、磁気ディスク装置、磁気テープ装置
またはフロッピィディスク装置などで構成され、記憶回
路3より大きな記憶容量を有している。情報記憶部15
は、読出し部8の読出しデータレジスタ回路14からの
データを受は取って記憶するもので、図示は省略されて
いるがその為の読出し回路や制御回路を備えている。
The information storage section 15 is composed of a magnetic disk device, a magnetic tape device, a floppy disk device, or the like, and has a larger storage capacity than the storage circuit 3. Information storage section 15
1 receives and stores data from the read data register circuit 14 of the read section 8, and is provided with a read circuit and a control circuit for this purpose, although not shown.

次に本実施例の動作を場合を分けて説明する。Next, the operation of this embodiment will be explained by case.

[動作情報履歴の蓄積] 情報処理装置各部のレジスタの内容等を示す動作データ
信号の履歴を記憶手段3に記憶させる場合、セレクタ回
路51〜54を動作データ信号が加わる端子251〜2
54側に、セレクタ回路7を障害検出信号172側に、
セレクタ回路6を第2の基準信号が加わる端子162側
にそれぞれ設定する。
[Accumulation of operation information history] When storing the history of operation data signals indicating the contents of registers of each part of the information processing device in the storage means 3, selector circuits 51 to 54 are connected to terminals 251 to 2 to which the operation data signals are applied.
54 side, the selector circuit 7 to the failure detection signal 172 side,
The selector circuits 6 are respectively set on the terminal 162 side to which the second reference signal is applied.

上記状態で更新開始要求回路9から更新開始要求信号1
91を発生させると、フリップフロップlOがセットさ
れ、アンド回路11が開かれて更新可能状態となる。ま
た、このときカウンタ回路4はリセットされる。その後
、第2の基準信号が現れるとアンド回路114:1ll
l過して更新信号142として出力され、カウンタ回路
4の内容が例えば+1されて「i」となり、またフリッ
プフロップ12がセットされて記憶回路3にライトイネ
ーブル信号131が発生される。この為、セレクタ回路
51〜54からの動作データが記憶回路3におけるアド
レス「i」に記憶される。このような動作はフリップフ
ロップ10がセットされている限り、第2の基準信号が
発生する毎に行なわれる。そして、記憶回路3の最終ア
ドレスに動作データが書込まれると、カウンタ回路4は
オーバフローしてキャリーアウト信号171を出し、そ
のカウント値は再び初期値となり、動作データは再び記
憶回路3の先頭アドレスから順次書込まれることになる
。なお、動作情報履歴の蓄積時はセレクタ7は障害検出
(3号172側に設定されているので、キャリーアウト
信号171によって更新が停止することはない、また、
読出し部8もキャリーアウト信号によって後述するよう
な動作は行なわない。
In the above state, update start request signal 1 is sent from update start request circuit 9.
When 91 is generated, the flip-flop 1O is set, and the AND circuit 11 is opened to enable updating. Further, at this time, the counter circuit 4 is reset. After that, when the second reference signal appears, the AND circuit 114:1ll
The contents of the counter circuit 4 are incremented by 1 to become "i", and the flip-flop 12 is set and a write enable signal 131 is generated in the memory circuit 3. Therefore, the operation data from the selector circuits 51 to 54 are stored at address "i" in the storage circuit 3. This operation is performed every time the second reference signal is generated as long as the flip-flop 10 is set. When the operating data is written to the final address of the memory circuit 3, the counter circuit 4 overflows and outputs a carry-out signal 171, the count value becomes the initial value again, and the operating data is written to the starting address of the memory circuit 3 again. It will be written sequentially from Note that when accumulating the operation information history, the selector 7 is set to failure detection (No. 3 172 side), so the update will not be stopped by the carry-out signal 171.
The reading unit 8 also does not perform the operation described below due to the carry-out signal.

上述のような動作データの履歴の蓄積が行なわれている
ときに、第2図には図示しない障害検出手段によって情
報処理装置の障害が検出されると、端子172に加わる
障害検出信号によってフリップフロップ10がリセット
され、アンド回路11が閉じられる。従って、これ以降
はアンド回路11から更新信号142が出力されなくな
り、記憶回路3には障害発生時から過去一定期間までの
動作データの履歴が残される。
When a fault in the information processing device is detected by fault detection means (not shown in FIG. 10 is reset and AND circuit 11 is closed. Therefore, the update signal 142 is no longer output from the AND circuit 11 after this point, and a history of operation data from the time of failure to a certain period in the past is left in the memory circuit 3.

[性能測定情報の採取] 情報処理装置の性能測定情報としては、各種の情報が考
えられるが、例えばキャッシュミスヒツト回数、 T 
L B (Translation 1ook−asi
de buffer)ミスヒツト回数、性能を知る目安
となるある種の命令(以下命令Aと称す)の出現頻度な
どがある。
[Collection of performance measurement information] Various types of information can be considered as performance measurement information of the information processing device, such as the number of cache misses, T
LB (Translation 1ook-asi
de buffer), the number of misses, and the appearance frequency of a certain type of instruction (hereinafter referred to as instruction A), which serves as a guide to the performance.

このような性能測定情報を採取するには、例えば端子1
21にキャッシュミスヒント検出信号が接続され、端子
122にTLBミスヒツト検出信号が接続され、端子1
23に命令Aデコード信号が接続され、端子124には
その他の性能測定情報があればそれが接続される。また
、端子Illに接続される第1の基準(3号としては、
命令の実行終了信号が採用される。
To collect such performance measurement information, for example, terminal 1
A cache miss hint detection signal is connected to terminal 121, a TLB miss detection signal is connected to terminal 122, and terminal 1
The instruction A decode signal is connected to the terminal 23, and other performance measurement information, if any, is connected to the terminal 124. In addition, the first reference (No. 3) connected to terminal Ill is
An instruction execution end signal is used.

性能測定情報の採取に当たっては、セレクタ回路51〜
54をカウンタ回路21〜24側に、セレクタ回路7を
キャリーアウト信号171側に、セレクタ回路6をキャ
リーアウト信号161側にそれぞれ設定する。そして、
情報処理装置に代表的な処理を実行させた後、更新開始
要求手段9から更新開始要求信号191を発生させる。
When collecting performance measurement information, selector circuits 51 to
54 is set on the counter circuits 21 to 24 side, the selector circuit 7 is set on the carry-out signal 171 side, and the selector circuit 6 is set on the carry-out signal 161 side. and,
After the information processing device executes typical processing, the update start requesting means 9 generates an update start request signal 191.

更新開始要求信号191が発生されると、フリップフロ
ップlOがセットされ、アンド回路11が開状態となる
。また、このときカウンタ回路134゜21〜24がそ
れぞれリセットされる。従って、カウンタ回路21はそ
の時点よりキャッシュミスヒツト検出信号の出現回数の
計数を開始し、カウンタ回路22はTLBミスヒツト検
出信号の出現回数の計数を開始し、カウンタ回路23は
命令への出現回数の計数を開始する。
When the update start request signal 191 is generated, the flip-flop IO is set and the AND circuit 11 is opened. Further, at this time, the counter circuits 134.degree. 21-24 are each reset. Therefore, from that point on, the counter circuit 21 starts counting the number of appearances of the cache mishit detection signal, the counter circuit 22 starts counting the number of appearances of the TLB miss detection signal, and the counter circuit 23 starts counting the number of appearances of the TLB miss detection signal. Start counting.

情報処理装置で命令が実行される度にカウンタ回路lは
カウントアツプされ、その容量で定まる回数だけの命令
が実行されると、カウンタ回路1はオーバフローし、キ
ャリーアウト信号161が出力される。このキャリーア
ウト信号161はセレクタ回路6で選択され、開状態の
アンド回路11を通って更新信号142としてカウンタ
回路4およびフリップフロップ12に加えられる。カウ
ンタ回路4は更新信号142が加えられることによりそ
の内容を例えば+1して「i」とし、フリップフロップ
12はセットされることにより記憶回路3にライトイネ
ーブル信号131を出力する。従って、そのときセレク
タ回路51〜54で選択されているカウンタ回路21〜
24の計数信号221〜224は、記憶回路3のアドレ
ス「i」に書込まれる。この場合、カウンタ回路lがN
ビットのカウンタであれば 21個の命令が実行される
間に発生したキャッシュミスヒツト回数、TLBミスヒ
ツト回数、命令A実行回数が記憶されることになる。
Each time an instruction is executed in the information processing device, the counter circuit 1 is counted up, and when the instruction is executed a number of times determined by its capacity, the counter circuit 1 overflows and a carry-out signal 161 is output. This carry-out signal 161 is selected by selector circuit 6, passes through AND circuit 11 in an open state, and is applied to counter circuit 4 and flip-flop 12 as update signal 142. When the update signal 142 is added to the counter circuit 4, the contents thereof are increased by, for example, 1 to "i", and the flip-flop 12 is set to output a write enable signal 131 to the memory circuit 3. Therefore, the counter circuits 21 to 21 selected by the selector circuits 51 to 54 at that time
24 count signals 221 to 224 are written to address “i” of memory circuit 3. In this case, the counter circuit l is N
If it is a bit counter, the number of cache misses, the number of TLB misses, and the number of instruction A executions that occurred during the execution of 21 instructions will be stored.

カウンタ回路1が次に再びキャリーアウト信号161を
発生すると、カウンタ回路4の内容は「i+lJとなり
、その時点のカウンタ回路21〜24の計数値は記憶回
路3のアドレスri+IJの領域に書込まれる。
When the counter circuit 1 generates the carry-out signal 161 again next time, the contents of the counter circuit 4 become "i+lJ", and the counted values of the counter circuits 21 to 24 at that time are written to the area of the address ri+IJ of the memory circuit 3.

上記のようにして記憶回路3の最後のアドレスに性能測
定情報が記憶され、カウンタ回路4がオーバフローする
と、キャリーアウト信号171が出力される。このキャ
リーアウト信号171はセレクタ7で選択され、フリッ
プフロップ10をリセットする。従って、それ以降はア
ンド回路11が閉じられる為、カウンタ回路1からキャ
リーアウト信号161が出されても、カウンタ回路4が
更新されることはなく、フリップフロップ12もオフ状
態のままとなり、記憶回路3へは新たなデータは書込ま
れなくなる。
Performance measurement information is stored in the last address of the storage circuit 3 as described above, and when the counter circuit 4 overflows, the carry-out signal 171 is output. This carry-out signal 171 is selected by the selector 7 and resets the flip-flop 10. Therefore, since the AND circuit 11 is closed after that, even if the carry-out signal 161 is output from the counter circuit 1, the counter circuit 4 is not updated, the flip-flop 12 also remains in the off state, and the memory circuit No new data will be written to 3.

上記のように性能測定情報採取処理においてカウンタ回
路4からキャリーアウト信号171が出されると、読出
し部8はキャリーアウト信号171が7出力されたこと
によって記憶回路3に蓄積された全ての内容を続出して
情報記憶部15に転送し、情報記憶部15はそれを記憶
する。これにより、記憶回路3の容量分の一連の性能測
定情報を採取することができたことになる。また、読出
し部8による上記転送処理が終わると、複数回の採取が
指示されている場合は、更新開始要求回路9は例えば続
出し部8からの転送終了信号180に応答して再び更新
開始要求信号を出す。従って、再び上記と同様な動作が
開始され、mvtして性能測定情報を採取することがで
きる。なお、記憶回路3の内容を情報記憶部15に転送
した段階で一回の採取処理を終え、例えば操作者からの
指令によって更新開始要求発生回路9が起動されたとき
に次の採取を行なうようにしても良い。
As described above, when the carry-out signal 171 is output from the counter circuit 4 in the performance measurement information collection process, the reading unit 8 successively reads out all the contents accumulated in the storage circuit 3 due to the seven outputs of the carry-out signal 171. The data is then transferred to the information storage unit 15, and the information storage unit 15 stores it. This means that a series of performance measurement information corresponding to the capacity of the storage circuit 3 can be collected. Further, when the above-mentioned transfer processing by the reading unit 8 is completed, if multiple samplings have been instructed, the update start request circuit 9 requests the update start again in response to the transfer end signal 180 from the continuous output unit 8, for example. give a signal. Therefore, the same operation as above is started again, and performance measurement information can be collected by mvt. Note that one sampling process is completed when the contents of the storage circuit 3 are transferred to the information storage unit 15, and the next sampling is performed when the update start request generation circuit 9 is activated by a command from the operator, for example. You can also do it.

以上の実施例では、端子Illに加える第1の基準信号
として命令終了信号を用いたが、それに代えて基準クロ
ック信号とすれば、2N個の基準クロック周期ごとに性
能被測定信号の計数値を採取することができ、キャッシ
ュメモリ、主記憶装置へのメモリリクエスト信号を用い
れば2Nリク工スト周期ごとの計数値を採取することが
でき、第1の基準信号としては各種の信号を採用するこ
とができる。また、セレクタ6.7.51〜54は、入
出力端子とケーブルとで代替することもできる。
In the above embodiment, the instruction end signal is used as the first reference signal applied to the terminal Ill, but if the reference clock signal is used instead, the count value of the performance measured signal is calculated every 2N reference clock cycles. If a memory request signal to the cache memory or main storage device is used, it is possible to collect the count value every 2N request cycles, and various signals can be used as the first reference signal. Can be done. Further, the selectors 6, 7, 51 to 54 can be replaced with input/output terminals and cables.

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

以上説明したように、本発明は、従来の動作情報M歴記
憶′j装置に、性能測定情報の計数手段、第1の基準信
号の計数手段、更新信号選択手段、更新停止要求信号選
択手段などの僅かなハードウェアを付加するだけで、同
一の記憶手段を使用して動作情報履歴の蓄積のみならず
、情報処理装置が実際に動作している環境で性能測定情
報を採取することができる効果がある。従って、高価な
性能測定専用装置を設置する必要がなくなり、また性能
測定情報の取出し端子を情報処理装置側に用意すること
が困難な場合でも性能測定1報の採取が可能となる効果
がある。
As explained above, the present invention adds a performance measurement information counting means, a first reference signal counting means, an update signal selection means, an update stop request signal selection means, etc. to the conventional operation information M history storage 'j device. By simply adding a small amount of hardware, you can use the same storage means to not only accumulate operating information history but also collect performance measurement information in the environment where the information processing device is actually operating. There is. Therefore, there is no need to install an expensive dedicated performance measurement device, and even if it is difficult to provide a terminal for extracting performance measurement information on the information processing device side, it is possible to collect one performance measurement report.

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

第1図は本発明の原理図、 第2図は本発明の一実施例のブロック図、第3図番ま従
来の動作情報履歴記憶装置のブロック図および、 第4図は従来の性能測定情報採取方法の説明図である。 図において、1.4.21〜24・・・カウンタ回路、
3・・・記憶回路、6,7.51〜54・・・セレクタ
、8・・・続出し部、9・・・更新開始要求回路、10
.12・・・フリップフロップ、11・・・アンド回路
、13・・・リードアドレスカウンタ、14・・・リー
ドデータレジスタ、15・・・情報記憶部、111・・
・第1の基準信号が加わる端子、121〜124・・・
性能被測定データが加わる端子、142・・・更新信号
、161,171・・・キャリーアウト信号、162・
・・第2の基準信号が加わる端子、251〜254・・
・動作データが加わる端子、400・・・記憶手段、4
01・・・計数手段、402・・・入力情報選択手段、
403・・・更新停止要求信号選択手段、405・・・
更新可能表示手段、406・・・基準信号計数手段、4
07・・・更新信号選択手段、409・・・読出し手段
Fig. 1 is a diagram of the principle of the present invention, Fig. 2 is a block diagram of an embodiment of the present invention, Fig. 3 is a block diagram of a conventional operation information history storage device, and Fig. 4 is a block diagram of conventional performance measurement information. It is an explanatory diagram of a collection method. In the figure, 1.4.21 to 24...counter circuit,
3... Memory circuit, 6, 7. 51-54... Selector, 8... Continuation unit, 9... Update start request circuit, 10
.. 12... Flip-flop, 11... AND circuit, 13... Read address counter, 14... Read data register, 15... Information storage section, 111...
・Terminals to which the first reference signal is applied, 121 to 124...
Terminal to which performance measured data is added, 142...Update signal, 161, 171...Carry-out signal, 162...
...Terminals to which the second reference signal is applied, 251 to 254...
・Terminal to which operation data is added, 400...Storage means, 4
01... Counting means, 402... Input information selection means,
403... Update stop request signal selection means, 405...
Updatable display means, 406...Reference signal counting means, 4
07... Update signal selection means, 409... Reading means.

Claims (1)

【特許請求の範囲】 複数の記憶単位を含む記憶手段と、 性能測定情報を計数する計数手段と、 動作情報と前記計数手段の出力とを入力とし、前記記憶
手段への入力情報を選択する入力情報選択手段と、 更新信号が加わる毎に所定のアドレス範囲内で順次に書
込みアドレスを更新して前記記憶手段に加えるアドレス
手段と、 該アドレス手段が所定アドレスを発生したことを示す信
号と情報処理装置の障害検出信号とを入力とし、入力の
うちの何れか一つを選択して更新停止要求信号として出
力する更新停止要求信号選択手段と、 更新開始要求信号によってセットされ、前記更新停止要
求信号選択手段から出力される更新停止要求信号によっ
てリセットされる更新可能表示手段と、 第1の基準信号を所定数だけ計数したときその旨を示す
信号を通知する基準信号計数手段と、第2の基準信号と
前記基準信号計数手段からの通知信号とを入力とし、入
力のうちの何れか一つを選択して出力する更新信号選択
手段と、 前記更新可能表示手段がセットされている期間中、前記
更新信号選択手段の出力を、更新信号として前記アドレ
ス手段に加えると共に書込み指示信号として前記記憶手
段に加える更新制御手段と、前記記憶手段の記憶内容の
読出しを行なう読出し手段とを具備したことを特徴とす
る動作情報履歴と性能測定情報との蓄積装置。
[Scope of Claims] Storage means including a plurality of storage units; Counting means for counting performance measurement information; Input for receiving operation information and the output of the counting means and selecting input information to the storage means. information selection means; address means for sequentially updating write addresses within a predetermined address range and adding them to the storage means each time an update signal is applied; and a signal and information processing indicating that the address means has generated a predetermined address. update stop request signal selection means that receives a device failure detection signal and selects one of the inputs and outputs it as an update stop request signal; Updatable display means that is reset by an update stop request signal output from the selection means; reference signal counting means that notifies a signal indicating that when a predetermined number of first reference signals have been counted; and a second reference signal. update signal selection means that receives the signal and the notification signal from the reference signal counting means and selects and outputs one of the inputs; and during the period when the updatable display means is set, the It is characterized by comprising an update control means for applying the output of the update signal selection means to the address means as an update signal and to the storage means as a write instruction signal, and a reading means for reading out the contents stored in the storage means. A storage device for operating information history and performance measurement information.
JP61109224A 1986-05-13 1986-05-13 Storing device for action information history and performance measurement information Pending JPS62264343A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61109224A JPS62264343A (en) 1986-05-13 1986-05-13 Storing device for action information history and performance measurement information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61109224A JPS62264343A (en) 1986-05-13 1986-05-13 Storing device for action information history and performance measurement information

Publications (1)

Publication Number Publication Date
JPS62264343A true JPS62264343A (en) 1987-11-17

Family

ID=14504747

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61109224A Pending JPS62264343A (en) 1986-05-13 1986-05-13 Storing device for action information history and performance measurement information

Country Status (1)

Country Link
JP (1) JPS62264343A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60256850A (en) * 1984-06-01 1985-12-18 Nec Corp Phenomenon accumulator

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60256850A (en) * 1984-06-01 1985-12-18 Nec Corp Phenomenon accumulator

Similar Documents

Publication Publication Date Title
JP4209959B2 (en) Apparatus and method for high frequency sampling of performance counter
US7640539B2 (en) Instruction profiling using multiple metrics
US6539500B1 (en) System and method for tracing
US7571076B2 (en) Performance monitor device, data collecting method and program for the same
US20060230391A1 (en) System and method for collecting a plurality of metrics in a single profiling run of computer code
EP0465765A2 (en) Instruction sampling instrumentation
TWI739748B (en) Measuring address translation latency
JP2003509733A5 (en)
KR19990029301A (en) Systems and Methods for Interfering Code Instrumentation
US4087794A (en) Multi-level storage hierarchy emulation monitor
US5604894A (en) Memory management system for checkpointed logic simulator with increased locality of data
CN104380264A (en) Run-time instrumentation reporting
JP3366475B2 (en) How to evaluate data processing speed
US6339818B1 (en) Method and system for dynamically locating frequently accessed memory regions or locations
JPS62264343A (en) Storing device for action information history and performance measurement information
JP2834194B2 (en) Hardware monitor
JP2000215104A (en) Hit/miss-by-way counter and its counting method
JPH05189307A (en) Computer system
JPS59180759A (en) System for controlling history memory
JPS6273338A (en) Information processor
JPS62113248A (en) Information history memory device
JP2002288005A (en) Trace data extracting method for debug and performance analysis
JPS59183434A (en) Prefetch control system of instruction
JP2821326B2 (en) Cache memory failure detection device
JPH03290741A (en) Error logging method