JPH04358244A - Bus use rate measuring system - Google Patents

Bus use rate measuring system

Info

Publication number
JPH04358244A
JPH04358244A JP3159552A JP15955291A JPH04358244A JP H04358244 A JPH04358244 A JP H04358244A JP 3159552 A JP3159552 A JP 3159552A JP 15955291 A JP15955291 A JP 15955291A JP H04358244 A JPH04358244 A JP H04358244A
Authority
JP
Japan
Prior art keywords
measurement
system bus
stop
bus
time
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
JP3159552A
Other languages
Japanese (ja)
Inventor
Isao Ishizaki
石▲崎▼ 功
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 JP3159552A priority Critical patent/JPH04358244A/en
Publication of JPH04358244A publication Critical patent/JPH04358244A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To measure the use rate of a system bus in a short period by integrating a circuit for measurement control, counter and real-time timer into an information processor. CONSTITUTION:The system is composed of an operating state detection circuit 10 to detect the operating state of a system bus 1, measurement control circuit 11 to control the start/stop of a measurement counter 15, start time display register 12 and stop time display register 13 which respectively display the start time and the stop time of the measurement according to a real-time timer 14 and further, a measurement mode designation register 16 may be also provided to select and control the contents of the operation mode of the system bus 1.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、バスの使用率測定方式
に関し、特にシステム・バスの使用率測定方式に関する
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a bus usage rate measurement method, and more particularly to a system bus usage rate measurement method.

【0002】0002

【従来の技術】従来、この種のシステム・バスの使用率
測定は、情報処理装置内に内蔵されておらず、測定した
い場合、外部にカウンタを取り付け測定していた。
2. Description of the Related Art Conventionally, this type of system bus usage rate measurement has not been built into an information processing device, and when measurement is desired, a counter is attached externally.

【0003】0003

【発明が解決しようとする課題】上述した方式では、測
定の為の必要な信号が全て存在しない為に、外部に測定
用回路を付加した後、カウンタを接続すると言った事を
行なう為、測定に長時間を費いやすと言った問題点があ
った。
[Problem to be Solved by the Invention] In the above-mentioned method, since all the necessary signals for measurement do not exist, measurement is performed by adding an external measurement circuit and then connecting a counter. The problem was that it was easy to spend a lot of time on the process.

【0004】0004

【課題を解決するための手段】本発明のバス使用率測定
方式は、システム・バスの動作状態を検出する動作状態
検出回路と、マイクロ・プログラムの指示により実時間
タイマ値の格納と、システム・バス動作時間をカウント
する測定カウンタのカウント開始・停止を指示制御する
測定制御回路と、測定制御回路からの測定開始指示によ
り実時間タイマ値の値を格納する開始時間表示レジスタ
と、測定制御回路からの測定停止指示により、実時間タ
イマ値の値を格納する停止時間表示レジスタと、動作状
態検出回路からシステム・バス動作中信号を入力し、測
定制御回路からの測定開始指示によりシステム・バス動
作中時間のカウントを開始しまた、測定停止指示により
カウント停止をする測定カウンタを備えている。
[Means for Solving the Problems] The bus usage rate measurement method of the present invention includes an operating state detection circuit that detects the operating state of a system bus, a system bus that stores a real-time timer value according to instructions from a microprogram, and a system bus that detects the operating state of a system bus. A measurement control circuit that instructs and controls the start and stop of a measurement counter that counts bus operation time, a start time display register that stores the real-time timer value in response to a measurement start instruction from the measurement control circuit, and a measurement control circuit that In response to a measurement stop instruction, the system bus operation signal is input from the stop time display register that stores the real-time timer value and the operating state detection circuit, and the system bus operation signal is input from the measurement control circuit. It is equipped with a measurement counter that starts counting time and stops counting when instructed to stop measurement.

【0005】さらに、種々の条件下におけるバス使用率
測定の為に、システム・バスの動作内容の内、システム
・バス動作中信号として検出すべき動作内容を選択制御
する情報を格納する測定モード指定レジスタを備えてい
る。
Furthermore, in order to measure the bus usage rate under various conditions, a measurement mode designation that stores information for selecting and controlling the operation contents to be detected as a system bus operation signal from among the operation contents of the system bus is provided. Equipped with a register.

【0006】[0006]

【実施例】次に本発明について図面を参照して説明する
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be explained with reference to the drawings.

【0007】図1は、本発明の一実施例を示すブロック
図である。
FIG. 1 is a block diagram showing one embodiment of the present invention.

【0008】1は、システム・バス(以後S−バスと呼
ぶ)であり、図示してないが主記憶装置,中央処理装置
,入出力装置,診断装置が接続され、各々の装置よりメ
モリアクセスオペレーション,プロセッサ間通信オペレ
ーションが実行される。
Reference numeral 1 denotes a system bus (hereinafter referred to as S-bus), to which a main storage device, central processing unit, input/output device, and diagnostic device are connected, although not shown, and memory access operations are performed by each device. , an interprocessor communication operation is performed.

【0009】動作状態検出回路10は、S−バス1を常
に監視し、S−バス1が動作中であれば、S−バス動作
中信号22を出力する。
The operating state detection circuit 10 constantly monitors the S-bus 1 and outputs an S-bus operating signal 22 if the S-bus 1 is operating.

【0010】測定制御回路11は、マイクロプログラム
により制御され、測定開始指示信号21又は、測定停止
指示信号20を出力する。
The measurement control circuit 11 is controlled by a microprogram and outputs a measurement start instruction signal 21 or a measurement stop instruction signal 20.

【0011】実時間タイマ14は、現在の実時間を表示
するタイマである。
The real time timer 14 is a timer that displays the current real time.

【0012】開始時間表示レジスタ12は、測定開始指
示信号21を受けると、実時間タイマ14の値が格納さ
れる。
When the start time display register 12 receives the measurement start instruction signal 21, the value of the real time timer 14 is stored therein.

【0013】停止時間表示レジスタ13は、測定停止指
示信号20を受けると、実時間タイマ14の値が格納さ
れる。
When the stop time display register 13 receives the measurement stop instruction signal 20, the value of the real time timer 14 is stored.

【0014】測定カウンタ15は、S−バス動作中信号
22を常に監視し、測定開始指示信号21を受けると、
S−バス動作中信号22が有効である時間を計測してい
くカウンタであり、測定停止指示信号20を受けると、
計測を停止する。
The measurement counter 15 constantly monitors the S-bus operation signal 22, and upon receiving the measurement start instruction signal 21,
It is a counter that measures the time that the S-bus operation signal 22 is valid, and when it receives the measurement stop instruction signal 20,
Stop measurement.

【0015】測定モード指定レジスタ16は、種々のS
−バスオペレーション毎について、S−バス動作中信号
22を送出する又は送出しない制御を行なうため、例え
ば、入出力装置からのメモリオペレーションのみのS−
バス動作中時間測定とか、中央処理装置からのメモリオ
ペレーションのみのS−バス動作中時間測定と言ったS
−バス動作中信号として、検出すべき動作内容を選択制
御する情報を格納するレジスタであり、動作モード信号
30を動作状態検出回路10へ与える。尚、測定モード
指定レジスタは、存在しない場合もある。
The measurement mode designation register 16 has various S
- For each bus operation, the S-bus operation signal 22 is controlled to be sent or not to be sent.
Measurement of time during bus operation, S-Measurement of time during bus operation, and S-measurement of time during bus operation only from the central processing unit
- A register that stores information for selectively controlling the operation contents to be detected as a bus operation signal, and provides an operation mode signal 30 to the operation state detection circuit 10. Note that the measurement mode designation register may not exist.

【0016】次にS−バス使用率の測定方法について説
明する。
Next, a method for measuring the S-bus usage rate will be explained.

【0017】開始時間表示レジスタ12,停止時間表示
レジスタ13,測定カウンタ15は、マイクロ・プログ
ラムで内容を参照出来る。
The contents of the start time display register 12, stop time display register 13, and measurement counter 15 can be referenced by a microprogram.

【0018】測定開始指示信号21により実時間タイマ
14の値が開始時間表示レジスタ12に格納され、この
値をmとする。
In response to the measurement start instruction signal 21, the value of the real time timer 14 is stored in the start time display register 12, and this value is designated as m.

【0019】測定カウンタ15も測定開始指示信号21
によりS−バス動作中信号22の有効時間だけをカウン
トして行き、測定停止指示信号20を受けるまでカウン
トを継続し、測定停止指示信号20を受けるまでカウン
トした値をaとする。
The measurement counter 15 also receives the measurement start instruction signal 21.
Thus, only the valid time of the S-bus operation signal 22 is counted, and the counting is continued until the measurement stop instruction signal 20 is received, and the value counted until the measurement stop instruction signal 20 is received is set as a.

【0020】測定停止指示信号20により実時間タイマ
14の値が停止時間表示レジスタ13に格納され、この
値をnとする 以上m,n,aの値よりS−バス使用率は、a÷(n−
m)×100(%)の式により得る事が出来る。
The value of the real time timer 14 is stored in the stop time display register 13 by the measurement stop instruction signal 20, and if this value is n, then from the values of m, n, and a, the S-bus usage rate is calculated as a÷( n-
It can be obtained by the formula: m)×100(%).

【0021】[0021]

【発明の効果】以上説明したように本発明は、マイクロ
・プログラム制御下において、測定開始指示によりS−
バス動作中時間をカウントする測定カウンタと実時間タ
イマ値を格納する開始時間表示レジスタを持ち、また、
測定停止指示によりS−バス動作中時間のカウントの停
止と、実時間タイマ値を格納する停止時間表示レジスタ
を持ち、測定カウンタと開始時間表示レジスタと停止時
間表示レジスタの値をマイクロ・プログラムにより処理
する事により短時間にバス使用率を得る効果がある。
Effects of the Invention As explained above, the present invention enables the S-
It has a measurement counter that counts the time during bus operation and a start time display register that stores the real time timer value.
It has a stop time display register that stops counting the S-bus operating time and stores the real-time timer value in response to a measurement stop instruction, and processes the values of the measurement counter, start time display register, and stop time display register using a microprogram. This has the effect of increasing the bus usage rate in a short period of time.

【0022】更に、S−バス動作内容の内S−バス動作
中信号として検出すべき動作内容を選択制御する情報を
格納する測定モード指定レジスタを持つ事により、種々
のS−バスオペレーション下における各種動作モードの
バス使用率を得る効果がある。
Furthermore, by having a measurement mode designation register that stores information for selecting and controlling the operation contents to be detected as the S-bus operation signal among the S-bus operation contents, various types of operation under various S-bus operations can be performed. This has the effect of obtaining the bus usage rate of the operating mode.

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

【図1】本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing one embodiment of the present invention.

【符号の説明】[Explanation of symbols]

1    システム・バス 10    動作状態検出回路 11    測定制御回路 12    開始時間表示レジスタ 13    停止時間表示レジスタ 14    実時間タイマ 15    測定カウンタ 16    測定モード指定レジスタ 20    測定停止指示信号 21    測定開始指示信号 22    S−バス動作中信号 30    動作モード信号 1 System bus 10     Operating status detection circuit 11 Measurement control circuit 12 Start time display register 13 Stop time display register 14 Real time timer 15 Measurement counter 16 Measurement mode specification register 20 Measurement stop instruction signal 21 Measurement start instruction signal 22 S-bus operating signal 30 Operation mode signal

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】  システム・バスの動作状態を検出する
動作状態検出回路と、マイクロ・プログラムの指示によ
り、実時間タイマ値の格納と、システム・バスの動作時
間をカウントする測定カウンタのカウント開始,停止を
指示制御する測定制御回路と、測定制御回路からの測定
開始指示により、実時間タイマ値の値を格納する開始時
間表示レジスタと、測定制御回路からの測定停止指示に
より、実時間タイマ値の値を格納する停止時間表示レジ
スタと、動作状態検出回路からシステム・バス動作中信
号を入力し、測定制御回路からの測定開始指示によりシ
ステム・バス動作中時間のカウントを開始をし、また、
測定停止指示によりカウント停止をする測定カウンタを
有し、システム・バスの使用率を停止時間表示レジスタ
と開始時間表示レジスタの表示値の差分内における測定
カウンタ値の割合として得る事を特徴とするバス使用率
測定方式
1. An operating state detection circuit that detects the operating state of the system bus; and, according to instructions from a microprogram, stores a real-time timer value and starts counting a measurement counter that counts the operating time of the system bus; A measurement control circuit instructs and controls the stop, a start time display register that stores the real-time timer value in response to a measurement start instruction from the measurement control circuit, and a start time display register that stores the real-time timer value in response to a measurement stop instruction from the measurement control circuit. Inputs the system bus operating signal from the stop time display register that stores the value and the operating state detection circuit, starts counting the system bus operating time in response to a measurement start instruction from the measurement control circuit, and
A bus characterized in that it has a measurement counter that stops counting in response to a measurement stop instruction, and obtains the usage rate of the system bus as a ratio of the measurement counter value within the difference between the display values of the stop time display register and the start time display register. Utilization measurement method
【請求項2】  システム・バスの動作内容の内、シス
テム・バス動作中信号として検出すべき動作内容を選択
制御する情報を格納する測定モード指定レジスタを持ち
、前記、動作状態検出回路に対して、システム・バス動
作中信号の送出を動作モードによって制御する事を特徴
とする請求項1記載のバス使用率測定方式
2. A measurement mode specifying register that stores information for selecting and controlling the operation contents to be detected as a system bus operation signal from among the operation contents of the system bus, and for the operation state detection circuit. 2. The bus usage rate measuring method according to claim 1, wherein transmission of the system bus operation signal is controlled depending on the operation mode.
JP3159552A 1991-06-04 1991-06-04 Bus use rate measuring system Pending JPH04358244A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3159552A JPH04358244A (en) 1991-06-04 1991-06-04 Bus use rate measuring system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3159552A JPH04358244A (en) 1991-06-04 1991-06-04 Bus use rate measuring system

Publications (1)

Publication Number Publication Date
JPH04358244A true JPH04358244A (en) 1992-12-11

Family

ID=15696239

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3159552A Pending JPH04358244A (en) 1991-06-04 1991-06-04 Bus use rate measuring system

Country Status (1)

Country Link
JP (1) JPH04358244A (en)

Similar Documents

Publication Publication Date Title
JPH04358244A (en) Bus use rate measuring system
JP2973665B2 (en) How to display process volume
JP3117168B2 (en) Computer equipment
JPS6319831B2 (en)
US5497481A (en) Microcomputer computer system having plural programmable timers and preventing memory access operations from interfering with timer start requests
JP3129027B2 (en) Parallel processing computer
JPS63215968A (en) Speed measuring instrument
JPH04102154A (en) Information processor
JPH0231248A (en) Data processor
JPH04105422A (en) Pulse counter
JP2858493B2 (en) Failure information storage method
RU1835254C (en) Pulsotachometer
JPH0318962Y2 (en)
JPH05257830A (en) I / O processing completion monitoring method and device
JPH03263233A (en) Self-diagnostic control system
JPS61100056A (en) Communication processor
JPH03291693A (en) Dot matrix type display device
JPH07295863A (en) Measurement system for software processing time of numerical controller
JPH064359A (en) Bus monitor device
JPS6024655A (en) Measuring device of utilization factor of central processing unit
JPS61150443A (en) Load measurement system
JPH0467251A (en) Measuring instrument for terminal response time
JPH01216626A (en) Pulse count circuit
JPH0216869A (en) Picture reducing circuit
JPH0630474A (en) Terminal managing device