JPS60252965A - Event accumulating device - Google Patents

Event accumulating device

Info

Publication number
JPS60252965A
JPS60252965A JP59109060A JP10906084A JPS60252965A JP S60252965 A JPS60252965 A JP S60252965A JP 59109060 A JP59109060 A JP 59109060A JP 10906084 A JP10906084 A JP 10906084A JP S60252965 A JPS60252965 A JP S60252965A
Authority
JP
Japan
Prior art keywords
counters
counter
data processing
service processor
processing device
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
JP59109060A
Other languages
Japanese (ja)
Inventor
Masanobu Inoue
井上 政信
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
Nippon Electric Co 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 NEC Corp, Nippon Electric Co Ltd filed Critical NEC Corp
Priority to JP59109060A priority Critical patent/JPS60252965A/en
Publication of JPS60252965A publication Critical patent/JPS60252965A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment

Abstract

PURPOSE:To enable collecting event data in a data processing device freely from a service processor by making a counter provided in the data processing device freely controllable by the service processor. CONSTITUTION:A counter 4 is provided in the data processing device 1, and the counter 4 and a service processor 2 are connected electrically by interfaces 100- 102. This counter 4 can be controlled directly from the service processor 2. Thus, the service processor 2 can collect freely various event data generated in the data processing device 1.

Description

【発明の詳細な説明】 (竜業上の利用分野) 本発明け、データ処理装置においてサービスプロセサに
より装置内の事象信号の状態を累積、または測定する事
象累積装置に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to an event accumulating device for accumulating or measuring the state of an event signal in a data processing device using a service processor.

(従来技術) データ処理装置を設計した場合には、それが当初の設計
目標を満足しているか、あるしけ新規のジョブまたはプ
ログラムをデータ処理装置上で実行した場合に、該当装
置上でどのような動きをするのか、または成るジョブの
実行性能を向上させるためにはどの点を改善しなければ
ならなりかと云う問題を解決するためには、データ処理
装置上の各種事象データ、例えばプロセサのビジ一時開
、メモリのアクセスタイム、キャシュメモリのヒツト率
のようなデータを収集して解析する必要がある。
(Prior Art) When a data processing device is designed, it is important to check whether it satisfies the original design goals and how it will work on the device when a new job or program is executed on the device. In order to solve the problem of what kind of movement is required or what points need to be improved in order to improve the execution performance of the job, it is necessary to collect various event data on the data processing device, such as processor data. It is necessary to collect and analyze data such as page opening times, memory access times, and cache memory hit rates.

従来、この種のデータの収集や測定は、その事象を示す
状態信号を装置から外部に取出し、外部のカウンタ装置
やモニタ装置を使用して実現されていた。近体、データ
処理装置の性能は向上の一途をたどり、その基本クロッ
クは高速になるに伴って、外部の測定装置で上記の性能
向上に追随することは不可能になりつつある。
Conventionally, this type of data collection and measurement has been accomplished by extracting a status signal indicating the event from the device and using an external counter device or monitor device. In the near future, the performance of data processing devices continues to improve, and as their basic clocks become faster, it is becoming impossible for external measurement devices to keep up with the above performance improvements.

また、この種のデータとしては事象信号が論理“1″オ
たけII□Nの状態にある時間の累積、成る状態の発生
する回数、オたけ複数の信号との関係で特定の状態にあ
る累積時間や回数を測定する必要があり、そのデータを
収集することはオすます困難になってきた。
In addition, this type of data includes the cumulative amount of time that the event signal is in the logic "1" state, the number of times this state occurs, and the cumulative amount of time that the event signal is in a specific state in relation to multiple signals. It is necessary to measure time and number of times, and collecting that data has become increasingly difficult.

いっぽう、データ処理装置の診断や保守を目的としてサ
ービスプロセサが使用されてきている。斯かるサービス
プロセサはデータ処理装置とけ独立のプロセサから構成
され、キーボード、プリンタ、CRTディスプレイ、お
よびデータ蓄積用のディスク装置を備え、保守員は斯か
るサービスプロセサからの操作によ妙データ処理装置を
保守していると云う問題点があった。
On the other hand, service processors have been used for the purpose of diagnosing and maintaining data processing equipment. Such a service processor consists of a processor independent of the data processing device, and is equipped with a keyboard, a printer, a CRT display, and a disk device for data storage, and maintenance personnel can control the data processing device by operating it from the service processor. There was a problem with maintenance.

(発明の目的) 本発明の目的はデータ処理装置の内部に事象信号の状態
を累積し、サービスプロセサからの制御を可能にするた
めのカウンタを用意し、小食のハードウェアを追加する
ことにより上記欠点を除去し、高速で動作するデータ処
理装置の内部の事象データをサービスプロセサから収集
することが可能なように構成した事象累積装置を提供す
ることにある。
(Object of the Invention) The object of the present invention is to provide a counter for accumulating the state of event signals inside a data processing device and to enable control from a service processor, and to add additional hardware to the above. It is an object of the present invention to provide an event accumulation device configured to eliminate the drawbacks and to be able to collect internal event data from a service processor of a data processing device operating at high speed.

(発明の構成) 本発明による事象累積装置は診断インターフェースによ
りサービスプロセサに接続されたデータ処理装置を含ん
で成立つものであ妙、複数のカウンタと制御手段とを具
備して構成したものである。
(Structure of the Invention) The event accumulation device according to the present invention includes a data processing device connected to a service processor through a diagnostic interface, and is strangely configured to include a plurality of counters and control means.

複数のカウンタはデータ処理装置の内部の任意の事象信
号を被測定信号として入力し、サービスプロセサからの
指示により動作させるためのものである。
The plurality of counters input arbitrary event signals inside the data processing device as signals to be measured, and are operated according to instructions from the service processor.

制御手段は、サービスプロセサからの指示により複数の
カウンタを初期状態に設定し、カウンタの動作を規定し
ているモードを設定し、複数のカウンタの動作開始と動
作停止とを指示し、複数のカウンタのうちの特定のカウ
ンタの内容が所定の値になった時に、特定のカウンタを
含めてすべてのカウンタの動作を同時に停止し、停止の
状態をサービスプロセサに報告すると共に、複数のカウ
ンタの内容を読取るように指示するためのものである。
The control means sets the plurality of counters to an initial state according to instructions from the service processor, sets a mode that defines the operation of the counters, instructs the plurality of counters to start and stop the operation, and controls the plurality of counters. When the content of a specific counter reaches a predetermined value, the operation of all counters including the specific counter is stopped simultaneously, the stopped status is reported to the service processor, and the content of multiple counters is This is for instructing people to read.

(実 施例) 次に、本発明について図面を参照して詳細に説明する。(Example) Next, the present invention will be explained in detail with reference to the drawings.

第1図は本発明の一実施例を示すブロック図である。第
1図において、1はデータ処理装置、2けサービスプロ
セサ、3はデータ処理部、4はカウンタ部である。
FIG. 1 is a block diagram showing one embodiment of the present invention. In FIG. 1, 1 is a data processing device, 2-digit service processor, 3 is a data processing section, and 4 is a counter section.

本発明の一実施例を示す第1図において、データ処理装
置lはサービスプロセサ2と、診断インターフェース1
00〜102により接続されている。データ処理装置1
けデータ処理部3を備えているが、本発明に直接関係が
なりため、その詳細につbては説明を省略する。データ
処理装置1には、データ処理部3とサービスプロセサ2
との間にカウンタ部4がある。カウンタ部4には、デー
タ処理部3の内部の動作事象を示す任意の信号線を、そ
の入力として接続することができる。すなわち、データ
処理部3の信号線群は成る信号単位で複数のケーブル接
続を介してコネクタ部に接続されており、いずれかのコ
ネクタ部とカウンタ部4との接続替えを行うことにより
、データ処理部3とカウンタ部4との接続をバスill
〜llnにより接続する。カウンタ部4に入力享れた信
号は、サービスプロセサ2の制御のもとてデータの累積
と収集とが行われる。
In FIG. 1 showing an embodiment of the present invention, a data processing device 1 includes a service processor 2 and a diagnostic interface 1.
They are connected by 00 to 102. Data processing device 1
Although it is equipped with a data processing section 3, its detailed explanation will be omitted since it is directly related to the present invention. The data processing device 1 includes a data processing section 3 and a service processor 2.
There is a counter section 4 between the two. Any signal line indicating an internal operation event of the data processing section 3 can be connected to the counter section 4 as its input. That is, the signal line group of the data processing section 3 is connected to the connector section via a plurality of cable connections in signal units, and data processing can be performed by changing the connection between any of the connector sections and the counter section 4. The connection between section 3 and counter section 4 is made by bus ill.
Connected by ~lln. The signal input to the counter section 4 is subjected to data accumulation and collection under the control of the service processor 2.

以下、カウンタ部4の詳細について第2図を参照して説
明する。第2図において、41はカウンタ制御部、42
け第1の選択回路、43は変換回路、441〜44mは
第1〜第mのカウンタ、45は第2の選択回路である。
The details of the counter section 4 will be explained below with reference to FIG. 2. In FIG. 2, 41 is a counter control section, 42
43 is a conversion circuit, 441 to 44m are first to mth counters, and 45 is a second selection circuit.

カウンタ部4にはそれぞれ独立に動作するm個のカウン
タ441〜44mがある。データ処理部3からのn本の
信号線111〜lln上の事象信号のうちからm個を選
択するための第1の選択回路42と、上記選択された信
号を変換するための変換回路43とを介して出力書れた
信号は、信号線141−14mを介して各カウンタの更
新信号となる。変換回路43けその入力信号の同期をと
るラッチ回路、入力信号が論理110#から論理+11
11に変化した時に1マシンサイクルに相当するパルス
に変換するための微分回路、および論理″l#から論理
′0″に変化した時にこれをパルス化するためのパルス
回路から構成されて−7)、また、各カウンタ441〜
44mの内容は第2の選択回路45により変換され、信
号線102によりサービスプロセサ2に送られる。カウ
ンタ部4の内部のカウンタ441〜44m1 第1の選
択回路42、変換回路43、第2の選択回路45けサー
ビスプロセサ2から信号線100を介して送出されてく
る指示により、カウンタ制御部41により制御される。
The counter section 4 includes m counters 441 to 44m that operate independently. A first selection circuit 42 for selecting m event signals from the n signal lines 111 to lln from the data processing unit 3, and a conversion circuit 43 for converting the selected signals. The signals output and written via the signal lines 141-14m become update signals for each counter. A latch circuit that synchronizes the input signal of the conversion circuit 43, the input signal changes from logic 110# to logic +11
It consists of a differentiation circuit for converting into a pulse corresponding to one machine cycle when the logic changes to 11, and a pulse circuit for converting it into a pulse when the logic changes from logic "l#" to logic "0".-7) , and each counter 441~
The contents of 44m are converted by the second selection circuit 45 and sent to the service processor 2 via the signal line 102. The counters 441 to 44m1 inside the counter unit 4, the first selection circuit 42, the conversion circuit 43, and the second selection circuit 45 are controlled.

サービスプロセサ2からカウンタ441〜44mの動作
を指示するためのコマンドにはカウンタイニシャライズ
、カウンタスタート、カウンタストップ、カウンタの動
作モードセットが含まれてしる。カウンタイニシャライ
ズコマンドはカウンタ部4を初期状態に設定するもので
、このコマンドによりカウンタ441〜44mは全ビッ
トが零にクリアされると共に、カウンタとしての累積動
作は行われない停止状態となる。カウンタスタートコマ
ンドは各カウンタの動作を開始させるためのもので、こ
のコマンドによりカウンタ441〜44mはそれぞれの
入力信号141〜14mの状態に従って内容を更新し、
各事象の論理”1 ”の状態を動作モードで指定される
マシンサイクル単位に累積する。この更新動作により、
事象の累積時間や発生回数を累積することができる。カ
ウンタストップコマンドは、すべてのカウンタ441〜
44mを停止させるものである。カウンタ441〜44
mの動作モードセットコマンドはカウンタ部4の動作モ
ードを設定させるためのもので、このモードには第1の
選択回路42の選択を指定するもの、変換回路43の動
作を指定するもの、第2の選択回路45の選択を指定す
るもの、ならびにカウンタの動作を指定するものがある
。カウンタ441〜44mの動作は、その更新サイクル
の指定と停止モードの指定とから成る。カウンタ441
〜44mの更新サイクルは各マシンサイクルごと、ある
偽は2以上の指定したマシンサイクルごとに1回の更新
を行うか否かの指定を行うものである。停止モードはカ
ウンタ441〜44mのしずれかが内容が最大値になっ
た時、全カウンタ内容の更新を停止するか否かを指定す
るモードである。
Commands from the service processor 2 to instruct the operations of the counters 441 to 44m include counter initialization, counter start, counter stop, and counter operation mode set. The counter initialize command sets the counter section 4 to an initial state, and with this command, all bits of the counters 441 to 44m are cleared to zero, and the counters are placed in a stopped state in which no accumulation operation is performed. The counter start command is for starting the operation of each counter, and with this command, the counters 441 to 44m update their contents according to the state of each input signal 141 to 14m,
The logic "1" state of each event is accumulated in machine cycle units specified by the operation mode. This update behavior causes
It is possible to accumulate the cumulative time and number of occurrences of events. The counter stop command applies to all counters 441~
44m. Counters 441-44
The operation mode set command m is for setting the operation mode of the counter section 4, and this mode includes one for specifying the selection of the first selection circuit 42, one for specifying the operation of the conversion circuit 43, and one for specifying the operation of the conversion circuit 43. There is one that specifies the selection of the selection circuit 45, and one that specifies the operation of the counter. The operations of the counters 441 to 44m consist of designating their update cycles and designating their stop modes. counter 441
The update cycle of ~44m specifies whether to perform one update every machine cycle, and a false one specifies whether one update is to be performed every two or more specified machine cycles. The stop mode is a mode for specifying whether or not to stop updating the contents of all counters when the contents of any of the counters 441 to 44m reach the maximum value.

サービスプロセサ2からカウンタ部4を制御することに
よるデータの収集につbて、第3図を#照して以下に説
明する。
The collection of data by controlling the counter section 4 from the service processor 2 will be described below with reference to FIG.

データの収集を開始する時には、サービスプロセサ2は
最初にカウンタ部4の動作モードを設定する。次に、カ
ウンタイニシャライズコマンドによりカウンタ441〜
44mをクリアした後、カウンタスタートコマンドによ
り更新の開始を指示する。このスタート指示によりカウ
ンタ441〜44mはその入力信号に従って更新処理を
行うが、いずれかのカウンタ441〜44mが最大値に
なった時に処理を停止ζせるモードが指定されていると
、この状態になるまで更新動作を行い、最大値に達する
と全カウンタを停止させると共に、サービスプロセサ2
に対して停止信号を送出する。
When starting data collection, the service processor 2 first sets the operating mode of the counter section 4. Next, the counters 441 to 441 are reset by the counter initialize command.
After clearing 44m, the counter start command is used to instruct the start of updating. With this start instruction, the counters 441 to 44m perform update processing according to the input signals, but if a mode is specified that stops processing when any of the counters 441 to 44m reaches the maximum value, this state will occur. When the maximum value is reached, all counters are stopped and the service processor 2
Sends a stop signal to.

サービスプロセサ2はカウンタスタートを指示した後に
、この停止信号が送られてくるのを待ち合わせ、この優
秀により第2の選択回路45によるデータを選択するこ
とを上記動作モードの指定により行い、各カウンタの内
容を信号線102を介して読取る。読出したデータはサ
ービスプロセサ2の内部の記憶部に蓄積し、それ以上の
測定が指定されていれば再度、カウンタイニシャライズ
の動作に戻り、上記と同様に次のデータを収集し続ける
。測定が完了すると、記憶部に蓄積されたデータを集計
してプリントアウトする。
After instructing the start of the counter, the service processor 2 waits for this stop signal to be sent, selects the data by the second selection circuit 45 based on this signal, and selects the data for each counter by specifying the operation mode. The contents are read via the signal line 102. The read data is accumulated in the internal storage section of the service processor 2, and if more measurements are specified, the counter initialization operation is resumed and the next data continues to be collected in the same manner as above. When the measurement is completed, the data accumulated in the storage section is totaled and printed out.

以上説明したように、データ処理部3とカウンタ部4と
の間を接続するための信号線111〜11nを切替える
ことにより、データ処理部3の任意の事象信号をカウン
タ部4に入力し、さらにその信号を第1の選択回路42
により選択し、変換回路43を介してカウンタ441〜
44mの1新信号として使用し、その制御をサービスプ
ロセサ2から任意に行うことにより、任意の信号のデー
タを自由に収集することができる。
As explained above, by switching the signal lines 111 to 11n for connecting between the data processing section 3 and the counter section 4, an arbitrary event signal from the data processing section 3 can be inputted to the counter section 4, and further The signal is sent to the first selection circuit 42.
is selected by the counters 441 to 441 through the conversion circuit 43.
By using this signal as a 44m new signal and controlling it arbitrarily from the service processor 2, data of any signal can be freely collected.

さらに、サービスプロセサ2の内部に収集されたデータ
を種々の形に編集して出力することにより、データ処理
装置1の内部に各種の事象データを得ることができ、デ
ータ処理装置1の性能解析を行うことが可能になる。
Furthermore, by editing and outputting the data collected inside the service processor 2 in various formats, various event data can be obtained inside the data processing device 1, and performance analysis of the data processing device 1 can be performed. It becomes possible to do so.

(発明の効果) 本発明には以上説明したように、データ処理装置の内部
にカウンタを設置し、サービスプロセサから任意に制御
することができるように構成することにより、サービス
プロセサからデータ処理装置の内部の事象データを自由
に収集でき、高速のデータ処理装置においてもデータを
収集できると云う効果がある。
(Effects of the Invention) As explained above, the present invention has a counter installed inside the data processing device and is configured to be able to be controlled arbitrarily from the service processor. This has the advantage that internal event data can be freely collected, and data can be collected even in high-speed data processing devices.

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

第1図は、本発明による事象累積装置の一実施例を示す
ブロック図である。 第2図は、第1図に示すカウンタ部の詳細を示すブロッ
ク図である。 第3図は、第1図に示す本実施例における動作の一例を
示すフローチャートである。 1・・・データ処理装置 2・・・サービスプロセサ3
・・・データ処理部 4・・・カウンタ部41・・・カ
ウンタ制御部 42・・・選択回路43 、45・・・
変換回路 441〜44m・・・カウンタ100〜10
2 、 Ill 〜lln 、 131〜13m 、 
141〜14m 、 151〜15m ”−信号線特許
出願人 日本電気株式会社 代理人 弁理士 井 ノ ロ 壽
FIG. 1 is a block diagram illustrating one embodiment of an event accumulator according to the present invention. FIG. 2 is a block diagram showing details of the counter section shown in FIG. 1. FIG. 3 is a flowchart showing an example of the operation in the embodiment shown in FIG. 1... Data processing device 2... Service processor 3
...Data processing section 4...Counter section 41...Counter control section 42...Selection circuit 43, 45...
Conversion circuit 441~44m...Counter 100~10
2, Ill-lln, 131-13m,
141-14m, 151-15m” - Signal line patent applicant Hisashi Inoro, agent for NEC Corporation, patent attorney

Claims (1)

【特許請求の範囲】[Claims] 診断インターフェースによりサービスプロセサに接続さ
れたデータ処理装置を含んで成立つ事象系積装#におい
て、前記データ処理装置の内部の任意の事象信号を被測
定信号として入力し、前記サービスプロセサからの指示
により動作させるための複数のカウンタと、前記サービ
スプロセサからの指示により前記複数のカウンタを初期
状態に設定し、前記カウンタの動作を規定しているモー
ドを設定し、前記複数のカウンタの動作開始と動作停止
とを指示し、前記複数のカウンタのうちの特定のカウン
タの内容が所定の値になった時に前記特定のカウンタを
含めてすべてのカウンタの動作を同時に停止し、前記停
止の状態を前記サービスプロセサに報告すると共に、前
記複数のカウンタの内容を読取るように指示するための
制御手段とを具備して構成し九ことを特徴とする事象累
積装置。
In an event-based system # that includes a data processing device connected to a service processor through a diagnostic interface, any event signal inside the data processing device is input as a signal to be measured, and the signal is measured according to instructions from the service processor. a plurality of counters for operation; setting the plurality of counters to an initial state according to instructions from the service processor; setting a mode that defines the operation of the counters; and starting and operating the plurality of counters. When the content of a specific counter among the plurality of counters reaches a predetermined value, the operations of all counters including the specific counter are stopped simultaneously, and the stopped state is changed to the service. 9. An event accumulator comprising control means for reporting to a processor and instructing the processor to read the contents of the plurality of counters.
JP59109060A 1984-05-29 1984-05-29 Event accumulating device Pending JPS60252965A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59109060A JPS60252965A (en) 1984-05-29 1984-05-29 Event accumulating device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59109060A JPS60252965A (en) 1984-05-29 1984-05-29 Event accumulating device

Publications (1)

Publication Number Publication Date
JPS60252965A true JPS60252965A (en) 1985-12-13

Family

ID=14500580

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59109060A Pending JPS60252965A (en) 1984-05-29 1984-05-29 Event accumulating device

Country Status (1)

Country Link
JP (1) JPS60252965A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000132424A (en) * 1998-06-19 2000-05-12 Lucent Technol Inc Software instrumentation method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000132424A (en) * 1998-06-19 2000-05-12 Lucent Technol Inc Software instrumentation method

Similar Documents

Publication Publication Date Title
US3818458A (en) Method and apparatus for monitoring a general purpose digital computer
US4367525A (en) CPU Channel monitoring system
EP0077147A2 (en) Monitor unit for data processor
JPS6188346A (en) Operation monitor for digital device
JPH01210825A (en) Smart sensor
JPS6235638B2 (en)
JPS60252965A (en) Event accumulating device
KR910003242B1 (en) Data collection method and apparatus for loop-linked control system
JPH02232795A (en) Operation rate managing system
JPS60256849A (en) Phenomenon accumulator
Cockrum et al. Interpreting the results of a hardware systems monitor
JP2738173B2 (en) Diagnostic system for stand-alone equipment
JPH03159515A (en) Digital control/protective relay analysis maintenance supporting unit
JP3290221B2 (en) Distributed hierarchical data processing system
JP2632279B2 (en) Device for collecting process data
JPS60256850A (en) Phenomenon accumulator
JPS59202547A (en) Debugging device
JP2849744B2 (en) Vehicle monitoring system
JPH02308345A (en) Data gathering method for terminal equipment
SU690448A1 (en) Device for monitoring function parameters of complex engineering objects
JP3348294B2 (en) Digital computer system
JPS6039236B2 (en) Display method
JPS63213039A (en) Fault analysis system for diagnosing device
JP2000172327A (en) Plant monitor device
JPH0283752A (en) Monitoring system for information processor