Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPS5848943B2 - Information processing equipment with usage rate monitoring function - Google Patents
[go: Go Back, main page]

JPS5848943B2 - Information processing equipment with usage rate monitoring function - Google Patents

Information processing equipment with usage rate monitoring function

Info

Publication number
JPS5848943B2
JPS5848943B2 JP51056513A JP5651376A JPS5848943B2 JP S5848943 B2 JPS5848943 B2 JP S5848943B2 JP 51056513 A JP51056513 A JP 51056513A JP 5651376 A JP5651376 A JP 5651376A JP S5848943 B2 JPS5848943 B2 JP S5848943B2
Authority
JP
Japan
Prior art keywords
limit value
setting register
counter
usage rate
time interval
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.)
Expired
Application number
JP51056513A
Other languages
Japanese (ja)
Other versions
JPS52140243A (en
Inventor
賢三 飯岡
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP51056513A priority Critical patent/JPS5848943B2/en
Publication of JPS52140243A publication Critical patent/JPS52140243A/en
Publication of JPS5848943B2 publication Critical patent/JPS5848943B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Description

【発明の詳細な説明】 この発明は、使用率監視機能を有する情報処理装置に関
するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an information processing device having a usage rate monitoring function.

情報処理装置の使用率(以下CPU利用率と称する)を
測定する従来技術としては、 ■付属治具(ノ・−ドウエア.カウンタまたはノ1ード
ウエア・モニタ)による測定技術、■レジスタにCPU
の遊び時間を累積し、プログラムでレジスタをリード・
ライトすることにより測定する技術がある。
Conventional techniques for measuring the usage rate of information processing equipment (hereinafter referred to as CPU usage rate) include: ■ Measuring technology using an attached jig (no-ware counter or hardware monitor); ■ Measuring technology using a CPU in a register.
Accumulate idle time and programmatically read registers.
There is a technique to measure by lighting.

従来技術のはプログラムでCPUの使用状態を知ること
ができず■は、プログラムでCPU利用率を知ることは
できても、CPU利用率が、ある一定値以上あるいは以
下になる状態を監視するには、測定時間々隔毎に、CP
Uの遊び時間が累積されているレジスタをアクセスする
必要があり、システムとして余分のオーバー・ヘッドが
加わることになり問題である。
With the conventional technology, it is not possible to know the CPU usage status with a program, and with the previous technology, although it is possible to know the CPU usage rate with a program, it is difficult to monitor the state where the CPU usage rate is above or below a certain value. is CP at each measurement time interval.
It is necessary to access the register in which the idle time of U is accumulated, which is a problem because it adds extra overhead to the system.

電子計算機システムに与えられる負荷には、プライオリ
テイの高い仕事と低い仕事とがある。
The load given to an electronic computer system includes high-priority work and low-priority work.

各各の仕事量は時々刻々と変化する。The amount of work each person does changes from moment to moment.

従って本発明の目的は、CPUの利用率がある設定値以
上または以下になった時、CPU割込みを起すことによ
り、CPUの高負荷あるいは低負荷状態をプログラムに
通知し、CPUが高負荷状態の時は、プライオリテイの
低い仕事を一時休止し、CPUが低負荷状態の時は、ラ
イオリテイの低い仕事をシステムに加える等のシステム
に与える負荷の構成変更をプログラムで自動的に行なう
のに必要な機能を提供するものである。
Therefore, an object of the present invention is to notify a program of a high load or low load state of the CPU by generating a CPU interrupt when the CPU utilization rate becomes more than or less than a certain set value. When necessary, the program automatically changes the configuration of the load on the system, such as temporarily suspending low-priority work and adding low-priority work to the system when the CPU is under low load. It provides functionality.

本発明の特徴とするところは測定時間々隔値及び測定時
間々隔中のCPU利用率の上限値、下限値がプログラム
で設定でき、しかも測定時間々隔中にCPU利用率が設
定値である上限値以上または下限値以下となった時、C
PU割込みを起しプログラムに通知することである。
The feature of the present invention is that the measurement time interval value and the upper and lower limits of the CPU usage rate during the measurement time interval can be set by a program, and the CPU usage rate during the measurement time interval is the set value. When it is above the upper limit or below the lower limit, C
This is to generate a PU interrupt and notify the program.

次に本発明の実施例につき図面を用いて詳細に説明する
Next, embodiments of the present invention will be described in detail using the drawings.

第1図は本発明の一実施例であるCPU利用率自動測定
通知装置の方式図を示すものである。
FIG. 1 shows a system diagram of a CPU utilization rate automatic measurement and notification device which is an embodiment of the present invention.

レジスタ1は、IDLE 命令実行毎に+1づつカウン
トアップされる累積レジスタである。
Register 1 is an accumulation register that is counted up by +1 each time the IDLE instruction is executed.

レジスタ2は、時刻発生器により+1づつカウントアッ
プされる累積レジスタで、測定時間々隔と同期をとるた
めのものである。
Register 2 is an accumulation register that is counted up by +1 by a time generator, and is used to synchronize with the measurement time interval.

レジスタ3は、測定時間々隔値が設定されるレジスタで
プログラムによって設定する。
Register 3 is a register in which a measurement time interval value is set and is set by a program.

レジスタ4は、IDLE時間をIDLE命令実行回数に
変換した値で、IDLE命令実行回数の下限値がプログ
ラムによって設定され、同様にレジスタ5にはIDLE
命令実行回数の上限値がプログラムにより設定される。
Register 4 is a value obtained by converting the IDLE time into the number of IDLE command executions, and the lower limit of the number of IDLE command executions is set by the program.
The upper limit of the number of instruction executions is set by the program.

レジスタ1と4は比較回路6に接続され、レジスタ1と
5は比較回路7に接続される。
Registers 1 and 4 are connected to comparison circuit 6, and registers 1 and 5 are connected to comparison circuit 7.

レジスタ2とレジスタ3は比較回路8で接続し、比較回
路6と8はAND回路9に接続、比較回路7と8はAN
D回路10に接続される。
Registers 2 and 3 are connected by a comparison circuit 8, comparison circuits 6 and 8 are connected to an AND circuit 9, and comparison circuits 7 and 8 are connected to an AND circuit.
Connected to D circuit 10.

比較回路8は遅延回路11及びレジスタ2に接続され、
遅延回路11はレジスタ1に接続する。
Comparison circuit 8 is connected to delay circuit 11 and register 2,
Delay circuit 11 is connected to register 1 .

次に本実施例の動作について説明する。Next, the operation of this embodiment will be explained.

レジスタ2と3を比較回路8で比較することにより、測
定時間々隔の同期をとり、同期のとれた時、AND回路
9と10への接続線をONにする。
By comparing the registers 2 and 3 with the comparison circuit 8, the measurement time intervals are synchronized, and when synchronization is achieved, the connection lines to the AND circuits 9 and 10 are turned on.

この時、レジスタ1と4の比較回路6またはレジスタ1
と5の比較回路からAND回路への接続線が条件(〔レ
ジスタ1の値〕≦〔レジスタ4の値〕、または〔レジス
タ1の値〕≧〔レジスタ5の値〕)を満足していればO
Nとなっているため、この時AND回路9または10の
出力により割込みが起る。
At this time, the comparison circuit 6 of registers 1 and 4 or the register 1
If the connection line from the comparison circuit to the AND circuit of O
Since it is N, an interrupt occurs at this time due to the output of AND circuit 9 or 10.

また比較回路8で測定時間々隔の同期がとれた時、レジ
スタ2をリセットすると同時に遅延回路11を通してレ
ジスタ1もリセットする。
Further, when the comparison circuit 8 synchronizes the measurement time intervals, the register 2 is reset and at the same time, the register 1 is also reset through the delay circuit 11.

以上述べた如き構成であるから本発明にあっては次の効
果を得ることができる。
With the configuration as described above, the following effects can be obtained in the present invention.

(1)CPU利用率がフログラムによる設定値以上ある
いは以下となった時にCPU自体によって起こされる割
込みにより電子計算機システムに加える負荷の構成を動
的に変更することができる。
(1) The configuration of the load applied to the computer system can be dynamically changed by an interrupt caused by the CPU itself when the CPU utilization rate becomes more than or less than the value set by the program.

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

第1図は本発明の一実施例を示すブロック図である。 符号の説明、1二第1のカウンタ、2:第2のカウンタ
、3:時間間隔設定レジスタ、4:下限値設定レジスタ
、5:上限値設定レジスタ、6〜8:比較回路、9〜1
0 :AND回路、1,1:遅延回路。
FIG. 1 is a block diagram showing one embodiment of the present invention. Explanation of symbols, 12 first counter, 2: second counter, 3: time interval setting register, 4: lower limit value setting register, 5: upper limit value setting register, 6 to 8: comparison circuit, 9 to 1
0: AND circuit, 1,1: delay circuit.

Claims (1)

【特許請求の範囲】[Claims] 1 非動作時間を計数する第1のカウンタと、経過時間
を計数する第2のカウンタと、所望の時間間隔を設定可
能な時間間隔設定レジスタと、該第2のカウンタの内容
が時間間隔設定レジスタの値に到達したとき時間間隔信
号を出力する手段と、非動作時間の上限値を設定可能な
上限値設定レジスタと、非動作時間の下限値を設定可能
な下限値設定レジスタと、前記時間間隔信号が出力され
たとき第1のカウンタの内容が該上限値設定レジスタの
値に到達したとき第1の割込信号を発し下限値設定レジ
スタの値に到達したとき第2の割込信号を発する手段と
、これら第1、第2の割込信号により優先順位に従った
仕事の負荷構成を変更する手段とを具備したことを特徴
とする使用率監視機能を有する情報処理装置。
1. A first counter that counts non-operating time, a second counter that counts elapsed time, a time interval setting register that can set a desired time interval, and the contents of the second counter are set as a time interval setting register. means for outputting a time interval signal when the value of the non-operating time is reached; an upper limit value setting register capable of setting the upper limit value of the non-operating time; a lower limit value setting register capable of setting the lower limit value of the non-operating time; When the signal is output, a first interrupt signal is issued when the contents of the first counter reach the value of the upper limit value setting register, and a second interrupt signal is issued when the content of the first counter reaches the value of the lower limit value setting register. What is claimed is: 1. An information processing device having a usage rate monitoring function, comprising: means for changing the work load structure according to the priority order based on the first and second interrupt signals.
JP51056513A 1976-05-19 1976-05-19 Information processing equipment with usage rate monitoring function Expired JPS5848943B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP51056513A JPS5848943B2 (en) 1976-05-19 1976-05-19 Information processing equipment with usage rate monitoring function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP51056513A JPS5848943B2 (en) 1976-05-19 1976-05-19 Information processing equipment with usage rate monitoring function

Publications (2)

Publication Number Publication Date
JPS52140243A JPS52140243A (en) 1977-11-22
JPS5848943B2 true JPS5848943B2 (en) 1983-11-01

Family

ID=13029197

Family Applications (1)

Application Number Title Priority Date Filing Date
JP51056513A Expired JPS5848943B2 (en) 1976-05-19 1976-05-19 Information processing equipment with usage rate monitoring function

Country Status (1)

Country Link
JP (1) JPS5848943B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS54118745A (en) * 1978-03-08 1979-09-14 Nec Corp Job mix selecting device
JPS5786924A (en) * 1980-11-20 1982-05-31 Nec Corp Timer device
JPS5786955A (en) * 1980-11-20 1982-05-31 Nec Corp Controller
JPS5844540A (en) * 1981-09-10 1983-03-15 Fujitsu Ltd Program controlling system
JPS5949645A (en) * 1982-09-14 1984-03-22 Fujitsu Ltd Dynamic run control system of batch job

Also Published As

Publication number Publication date
JPS52140243A (en) 1977-11-22

Similar Documents

Publication Publication Date Title
US4667297A (en) Running speed detector
US4636656A (en) Circuit for selectively extending a cycle of a clock signal
JPS5848943B2 (en) Information processing equipment with usage rate monitoring function
Prokin DMA transfer method for wide-range speed and frequency measurement
JP3252345B2 (en) Processing signal protection circuit
JP2598547Y2 (en) Pattern generator for semiconductor test equipment
JPH0544684B2 (en)
SU955071A1 (en) Priority control device
EP0300507B1 (en) Generator for generating a bus cycle end signal for debugging operation
JPS61501661A (en) Parallel synchronous operation
JPH01263709A (en) Resetting control device
JPH04269676A (en) Generated pulse monitor circuit for ic tester
JPS5913763B2 (en) Bus usage control method and device
JPS62285122A (en) Clock pulse generating circuit
JPS60262252A (en) Monitor system for runaway of microprocessor
JPH02143607A (en) Clock noise detection circuit
JPH0495102A (en) Control data transmission equipment
JPS62120116A (en) Signal detector
JPH05189248A (en) Microcomputer device
Mills A Kernel Programming Interface for Precision Time Signals
JPS5936865A (en) Method for controlling priority
JPH021008A (en) Reset signal generating device
JPH02253410A (en) Interval timer
JPS6257051A (en) Mutual synchronizing system for multiplex system
JPH07307728A (en) Clock output monitoring method and clock output monitoring circuit