JP3129027B2 - Parallel processing computer - Google Patents

Parallel processing computer

Info

Publication number
JP3129027B2
JP3129027B2 JP05121925A JP12192593A JP3129027B2 JP 3129027 B2 JP3129027 B2 JP 3129027B2 JP 05121925 A JP05121925 A JP 05121925A JP 12192593 A JP12192593 A JP 12192593A JP 3129027 B2 JP3129027 B2 JP 3129027B2
Authority
JP
Japan
Prior art keywords
processor
monitoring
interrupt
arithmetic
period
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 - Lifetime
Application number
JP05121925A
Other languages
Japanese (ja)
Other versions
JPH06309291A (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.)
Fuji Electric Co Ltd
Original Assignee
Fuji 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 Fuji Electric Co Ltd filed Critical Fuji Electric Co Ltd
Priority to JP05121925A priority Critical patent/JP3129027B2/en
Publication of JPH06309291A publication Critical patent/JPH06309291A/en
Application granted granted Critical
Publication of JP3129027B2 publication Critical patent/JP3129027B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、シミュレータ・システ
ムやプログラマブル・コントローラ等に用いられる並列
処理計算機に関し、詳しくは演算プロセッサの動作を監
視しその稼働率を表示することができる並列処理計算機
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a parallel processing computer used for a simulator system or a programmable controller, and more particularly to a parallel processing computer capable of monitoring the operation of an arithmetic processor and displaying its operation rate.

【0002】[0002]

【従来の技術】従来、割込処理により作動する並列処理
計算機では、演算プロセッサの動作時間を実測する場
合、処理回数を計数するカウンタをP(プロセッサ)レ
ベルプログラムに設けておき、システムを一定時間起動
させてから停止し、カウント値から概略の処理空き時間
マージンを求める方法がとられている。
2. Description of the Related Art Conventionally, in a parallel processing computer operated by interrupt processing, when actually measuring the operation time of an arithmetic processor, a counter for counting the number of processings is provided in a P (processor) level program, and the system is operated for a fixed time. A method is adopted in which the processing is started and then stopped, and a rough processing free time margin is obtained from the count value.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、従来の
方法では、Pレベルの処理における条件分岐等のため処
理時間にバラツキがあり、正確な値が得られないという
問題があった。本発明は上記問題点を解決するためにな
されたもので、その目的とするところは、常時演算プロ
セッサの動作を監視しその稼働率をリアルタイムで表示
することができる並列処理計算機を提供することにあ
る。
However, the conventional method has a problem that the processing time varies due to conditional branching in P-level processing, and an accurate value cannot be obtained. The present invention has been made in order to solve the above problems, and an object of the present invention is to provide a parallel processing computer capable of constantly monitoring the operation of an arithmetic processor and displaying its operation rate in real time. is there.

【0004】[0004]

【課題を解決するための手段】上記目的を達成するため
に、本発明は、外部バス上に接続された監視プロセッサ
と複数の演算プロセッサに定周期割込信号が一定周期で
交互に送られて定周期割込処理を交互に行う並列処理計
算機において、前記演算プロセッサは、定周期割込処理
が終了してから次に定周期割込処理が開始するまでの空
き期間では実行時間が一定であって演算プロセッサのP
レベル上で作動する監視プログラムを繰り返し実行する
手段と、前記監視プログラムの実行回数を数える計数手
段と、を備え、また、前記監視プロセッサは、前記監視
プログラムの実行回数を前記演算プロセッサから読み出
す手段と、監視プログラムの実行回数に監視プログラム
の実行時間を乗じた値を一定周期から減ずることで定周
期割込処理の実行期間を算出する手段と、この定周期割
込処理の実行期間を用いて演算プロセッサの稼働率を算
出する手段と、稼働率を表示する手段と、を備えたこと
を特徴とする。
SUMMARY OF THE INVENTION In order to achieve the above object, the present invention provides a monitoring processor and a plurality of arithmetic processors connected to an external bus, in which a periodic interrupt signal is alternately performed at a constant cycle. sent to it in a parallel processing computer which performs alternating periodic interrupt processing, the arithmetic processor includes a constant period interrupt processing
From the end of the process until the next periodic interrupt process starts
The execution time is constant during the
Run monitoring programs running on the level repeatedly
Means and a counter for counting the number of executions of the monitoring program
And a monitoring processor, the monitoring processor comprising:
Reading the number of program executions from the arithmetic processor
The monitoring program
Is reduced by subtracting the value multiplied by the execution time of
Means for calculating the execution period of the period interruption process,
Calculation processor operating rate using the execution period of
And means for displaying the operation rate.
It is characterized by.

【0005】[0005]

【作用】本発明においては、演算プロセッサには、実行
時間が一定であって演算プロセッサのPレベル上で作動
する監視プログラムが備えられ、この監視プログラムの
処理回数が計数されその計数値が周期的に読み取られ
る。監視プロセッサでは、この処理回数から演算プロセ
ッサの稼働率が算出され、稼働率が表示される。
According to the present invention, the arithmetic processor is provided with a monitoring program having a constant execution time and operating on the P level of the arithmetic processor. The number of times the monitoring program is processed is counted, and the counted value is periodically calculated. Is read. In the monitoring processor, the operation rate of the arithmetic processor is calculated from the number of processes, and the operation rate is displayed.

【0006】[0006]

【実施例】以下、図に沿って本発明の実施例を説明す
る。図1は本発明の実施例の構成を示すブロック図であ
る。図において、1は監視プロセッサ、2,3は演算プ
ロセッサ、4は定周期タイマ、5は表示部、6は外部共
通バス、7は定周期割込信号線である。監視プロセッサ
1および演算プロセッサ2,3は外部共通バス6を介し
て互いに接続されるとともに、定周期割込信号線7を介
して定周期タイマ4から交互に一定周期で送られる割込
信号により作動し並列処理計算機として機能する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the configuration of the embodiment of the present invention. In the figure, 1 is a monitoring processor, 2 and 3 are operation processors, 4 is a fixed-cycle timer, 5 is a display unit, 6 is an external common bus, and 7 is a fixed-cycle interrupt signal line. The monitoring processor 1 and the arithmetic processors 2 and 3 are connected to each other via an external common bus 6 and are operated by an interrupt signal alternately sent from the fixed-cycle timer 4 at a fixed cycle via a fixed-cycle interrupt signal line 7. And functions as a parallel processing computer.

【0007】また、監視プロセッサ1内には割込回数カ
ウンタ11が内蔵されており、定周期タイマ4から監視
プロセッサ1へ送られる割込信号の回数をカウントす
る。同様に、演算プロセッサ2,3内にはサム回数カウ
ンタ21,31が内蔵されており、実行時間が一定であ
って各演算プロセッサのPレベル上で作動するプログラ
ム・サムチェックの回数をカウントする。これらの割込
回数カウンタ11、サム回数カウンタ21,31はいず
れもソフトウェアにより構成される。このサム回数カウ
ンタ21,31のカウント値は、一定周期で監視プロセ
ッサ1に読み取られて、そのカウント値から演算プロセ
ッサ2,3ごとの稼働率が算出される。算出された稼働
率は表示部5に送られリアルタイムで表示される。
The monitoring processor 1 has a built-in interrupt counter 11 for counting the number of interrupt signals sent from the fixed-cycle timer 4 to the monitoring processor 1. Similarly, the arithmetic processors 2 and 3 have built-in sum number counters 21 and 31 for counting the number of program sum checks that are executed for a fixed period of time and operate on the P level of each arithmetic processor. Each of the interrupt counter 11 and the sum counters 21 and 31 is configured by software. The count values of the sum counters 21 and 31 are read by the monitoring processor 1 at a constant cycle, and the operating rates of the arithmetic processors 2 and 3 are calculated from the count values. The calculated operation rate is sent to the display unit 5 and displayed in real time.

【0008】次に、表示部5により表示される稼働率の
算出方法について、図2、図3に示したタイミングチャ
ートを参照しながら説明する。演算プロセッサ2,3で
は、図2の割込レベルに示されるように、定周期tc
間隔で割込信号が入力されるごとに、定周期割込処理が
実行される。この定周期割込処理の処理時間は定周期t
cに比べると、短い時間でありその長さもまちまちであ
る。定周期割込処理で残った次の割込信号までの間に、
Pレベルにおいてサムチェック処理が行われる。
Next, a method of calculating the operating rate displayed by the display unit 5 will be described with reference to timing charts shown in FIGS. The arithmetic processor 2, as shown in the interrupt level 2, each time the interrupt signal is input at an interval of a constant period t c, the periodic interrupt processing is executed. The processing time of the fixed cycle interrupt processing is a fixed cycle t.
Compared with c, it is a short time and its length varies. Until the next interrupt signal remaining in the fixed-cycle interrupt processing,
Sum check processing is performed at the P level.

【0009】図3は割込レベルで繰り返し実行されるプ
ログラムに対し、Pレベルで実行されるサムチェック処
理を連続して実行されたものとして示したものである。
すなわち、先頭に時間toのオーバーヘッドとそれに続
くn個のブロックとして示したサムチェックとからな
る。1ブロックあたりの処理時間はtsであり、このサ
ムチェック区間である時間tsを短くするほど分解能が
向上する。このサムチェックのブロック数nは、割込レ
ベルのプログラム長に対応する。
FIG. 3 shows a program that is repeatedly executed at the interrupt level and that a sum check process executed at the P level is executed continuously.
That is, it is composed of an overhead of a time t o at the beginning, and a sum check following the overhead as n blocks. The processing time per block is t s , and the shorter the time t s , which is the sum check section, the higher the resolution. The number n of blocks in the sum check corresponds to the program length at the interrupt level.

【0010】このようにして、割込レベルの定周期割込
処理として、プログラムがそのつど異なる長さで実行さ
れ、その残りの時間にPレベルでサムチェックが行わ
れ、しかもサムチェックはブロックの途中でも次の割込
信号が発生すると、中断し残りを次の区間で再開する。
つまり、サムチェックの処理時間と定周期割込処理の時
間の和が定周期tcとなる。その結果、充分に長い一定
区間内にPレベルで処理されたサムチェックのブロック
数をカウントすることにより、個々の演算プロセッサ
2,3の稼働率を算出することができる。いま、図2に
示すように、割込レベルの処理回数ncの期間内にカウ
ントされたサム回数をNとすると、次式により稼働率η
が算出される。
[0010] In this manner, as the periodic processing of the interrupt level, the program is executed with a different length each time, and the remaining time is checked at the P level by the sum check. If the next interrupt signal occurs even in the middle, the operation is interrupted and the rest is resumed in the next section.
That is, the sum of the time of sum check of processing time and fixed cycle interrupt process is periodic t c. As a result, the operation rate of each of the arithmetic processors 2 and 3 can be calculated by counting the number of sum check blocks processed at the P level within a sufficiently long fixed section. Now, as shown in FIG. 2, when the counted sum number of times within a period of interruption level of processing count n c is N, operation rate by the following equation η
Is calculated.

【0011】[0011]

【数1】 (Equation 1)

【0012】なお、式中の処理回数ncおよびサム回数
Nは、図1の割込回数カウンタ11、サム回数カウンタ
21,31によりカウントされる。カウント値が監視プ
ロセッサ1に送られて稼働率ηが算出されると、稼働率
ηは演算プロセッサ2,3ごとに表示部5にリアルタイ
ムで表示される。
[0012] Note that the processing times n c and thumb number N in the formula, the interrupt counter 11 of FIG. 1, is counted by the sum counter 21 and 31. When the count value is sent to the monitoring processor 1 and the operating rate η is calculated, the operating rate η is displayed on the display unit 5 in real time for each of the arithmetic processors 2 and 3.

【0013】このように実施例では、割込処理ごとにP
レベルで実行されるサムチェック処理の処理時間が処理
単位ごとに一定周期であることに着目して、その処理時
間からPレベルの占有時間を算出して演算プロセッサ
2,3の稼働率を求めて表示したことにより、特殊のハ
ードウェア装置を増設することなく、並列処理計算機の
稼働状態を監視することが可能になる。なお、サムチェ
ック処理以外にもPレベルの占有時間を算出することが
できる監視プログラムであれば、同様に用いることがで
きる。
As described above, in the present embodiment, P
Paying attention to the fact that the processing time of the sum check processing executed at the level is a constant cycle for each processing unit, the occupation time at the P level is calculated from the processing time, and the operating rates of the arithmetic processors 2 and 3 are obtained. By displaying, it is possible to monitor the operating state of the parallel processing computer without adding a special hardware device. Note that any monitoring program other than the sum check process that can calculate the occupation time at the P level can be used in the same manner.

【0014】[0014]

【発明の効果】以上、述べたように本発明によれば、実
行時間が一定であって演算プロセッサのPレベル上で作
動する監視プログラムの処理回数から演算プロセッサの
稼働率を算出して表示することにより、演算プロセッサ
の動作、すなわち割込処理タイムマージンを稼働率の変
化としてリアルタイムに監視することができる。しか
も、本発明は、ソフト、ハードのいずれにも特別な負担
を負わせることなく、並列処理計算機の使い勝手を向上
させることができる。また、本発明では、演算プロセッ
サにおいて、WDT(ウォッチドッグタイマ)監視やプ
ログラムのサムチェック監視、およびサムチェック演算
による動作テストを同時に行うようにすることも可能で
ある。
As described above, according to the present invention, the operating rate of the arithmetic processor is calculated and displayed from the number of times the monitoring program that operates on the P level of the arithmetic processor has a constant execution time. Thus, the operation of the arithmetic processor, that is, the interrupt processing time margin can be monitored in real time as a change in the operation rate. Moreover, the present invention can improve the usability of the parallel processing computer without imposing a special burden on both software and hardware. Further, according to the present invention, it is possible for the arithmetic processor to simultaneously perform WDT (watchdog timer) monitoring, program checksum monitoring, and an operation test based on the checksum operation.

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

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

【図2】実施例の動作を説明するタイミングチャートで
ある。
FIG. 2 is a timing chart illustrating the operation of the embodiment.

【図3】実施例の動作を説明するタイミングチャートで
ある。
FIG. 3 is a timing chart illustrating the operation of the embodiment.

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

1 監視プロセッサ 2,3 演算プロセッサ 4 定周期タイマ 5 表示部 6 外部共通バス 7 定周期割込信号線 11 割込回数カウンタ 21,31 サム回数カウンタ DESCRIPTION OF SYMBOLS 1 Monitoring processor 2, 3 Arithmetic processor 4 Fixed-cycle timer 5 Display part 6 External common bus 7 Fixed-cycle interrupt signal line 11 Interrupt count counter 21, 31 Sum count counter

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06F 15/177 678 G06F 11/34 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 7 , DB name) G06F 15/177 678 G06F 11/34

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 外部バス上に接続された監視プロセッサ
と複数の演算プロセッサに定周期割込信号が一定周期で
交互に送られて定周期割込処理を交互に行う並列処理計
算機において、前記演算プロセッサは、 定周期割込処理が終了してから次に定周期割込処理が開
始するまでの空き期間では実行時間が一定であって演算
プロセッサのPレベル上で作動する監視プログラムを繰
り返し実行する手段と、 前記監視プログラムの実行回数を数える計数手段と、 を備え、また、 前記監視プロセッサは、 前記監視プログラムの実行回数を前記演算プロセッサか
ら読み出す手段と、 監視プログラムの実行回数に監視プログラムの実行時間
を乗じた値を一定周期から減ずることで定周期割込処理
の実行期間を算出する手段と、 この定周期割込処理の実行期間を用いて演算プロセッサ
の稼働率を算出する手段と、 稼働率を表示する手段と、 を備えたことを特徴とする並列処理計算機。
1. A parallel processing computer which performs the constant period interrupt signal to an external bus connected to the monitor processor on a plurality of arithmetic processors are sent to <br/> alternately at a constant period the periodic interrupt process alternately In the above, after the fixed-period interrupt processing is completed , the arithmetic processor
The execution time is constant during the idle period until the
A monitoring program that runs on the P level of the processor
Means for return run Ri, and a counting means for counting the number of times of execution of the monitoring program, also the monitoring processor is either the arithmetic processor execution count of the monitoring program
Means to read from and the execution time of the monitoring program
Periodic interrupt processing by subtracting the value multiplied by
Calculating means for calculating the execution period of the fixed-cycle interrupt processing,
A means for calculating the operating rate of the computer and a means for displaying the operating rate .
JP05121925A 1993-04-26 1993-04-26 Parallel processing computer Expired - Lifetime JP3129027B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP05121925A JP3129027B2 (en) 1993-04-26 1993-04-26 Parallel processing computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP05121925A JP3129027B2 (en) 1993-04-26 1993-04-26 Parallel processing computer

Publications (2)

Publication Number Publication Date
JPH06309291A JPH06309291A (en) 1994-11-04
JP3129027B2 true JP3129027B2 (en) 2001-01-29

Family

ID=14823319

Family Applications (1)

Application Number Title Priority Date Filing Date
JP05121925A Expired - Lifetime JP3129027B2 (en) 1993-04-26 1993-04-26 Parallel processing computer

Country Status (1)

Country Link
JP (1) JP3129027B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4861270B2 (en) * 2007-08-17 2012-01-25 富士通株式会社 Arithmetic processing device and control method of arithmetic processing device

Also Published As

Publication number Publication date
JPH06309291A (en) 1994-11-04

Similar Documents

Publication Publication Date Title
JP3188862B2 (en) Power consumption analysis method and device
US4811276A (en) Virtual computer diagnostic system with comparative monitoring of timestamped controller check signals and timestamped commands of individual virtual machines
Buzen Fundamental laws of computer system performance
JP2544960B2 (en) Programmable controller
JP3751466B2 (en) Program response time prediction device
JP3129027B2 (en) Parallel processing computer
JPH01224871A (en) Vector arithmetic instruction issuing control system
JP2716166B2 (en) Information processing device
JP2961199B2 (en) Pulse train input processor
JPS6024655A (en) Measuring device of utilization factor of central processing unit
JP2536304B2 (en) Job end time prediction system
JPH11345135A (en) Interruption method by processor load for information processor and control circuit therefor
JPS61276039A (en) Processor using ratio measuring system
JP3133730B2 (en) Interruption method and circuit
JPS63156424A (en) Pulse count circuit
JPH01147745A (en) Information processor
JPH02300947A (en) Circuit for measuring using rate of processor
JPH01263845A (en) Performance monitor processing system for data processor
JPS5822463A (en) Computer load measuring instrument
JPH03269640A (en) Virtual computer system
JPS60140442A (en) Measuring system of activity ratio of information processing device
JPH01321811A (en) Digital protective relay
JPH02236645A (en) System for measuring memory state in use of process
JPH0357970A (en) Pulse input apparatus
JPS6227835A (en) Measuring method for load of microprogram controller

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20001017

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071117

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081117

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091117

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091117

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101117

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111117

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121117

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131117

Year of fee payment: 13

EXPY Cancellation because of completion of term