JPH052500A - Software tester of multi-processor system - Google Patents

Software tester of multi-processor system

Info

Publication number
JPH052500A
JPH052500A JP3149993A JP14999391A JPH052500A JP H052500 A JPH052500 A JP H052500A JP 3149993 A JP3149993 A JP 3149993A JP 14999391 A JP14999391 A JP 14999391A JP H052500 A JPH052500 A JP H052500A
Authority
JP
Japan
Prior art keywords
interruption
execution
program
processors
processor
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
JP3149993A
Other languages
Japanese (ja)
Inventor
Noboru Ohara
昇 大原
Kenji Totsuka
健司 戸塚
Hiroshi Hirotaka
太司 広隆
Yuji Nomura
祐治 野村
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 JP3149993A priority Critical patent/JPH052500A/en
Publication of JPH052500A publication Critical patent/JPH052500A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To realize the strict test of the execution of exclusive control by testing the exclusive control to information resources after the simultaneous use environment of plural processors for the information resources is made. CONSTITUTION:An interruption point setting part 410 sets, for example, the processing step to access shared resources 130 for each processor as the interruption point of the program executed by respective processors 100 and 110. Subsequently, by the test starting instruction, respective processors start the execution of the program, and at the time of reaching the set interruption point, the execution is interrupted forcibly by an interruption control mechanism 500, and when all processors of the test object interrupt the execution, the program after the interruption point is simultaneously instructed by an interruption releasing instructing part 420. By the re-starting of the program execution, the conditions to access simultaneously the shared information resources 130 are forcibly prepared, and by the conditions, respective processors 100 and 110 synchronize and access. Thus, the execution of the exclusive control can be strictly tested.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、主記憶装置などの情報
資源を共用する複数のプロセッサから構成されるマルチ
プロセッサシステムにおいて、前記情報資源への排他制
御が正常に行われるか否かをテストするマルチプロセッ
サシステムのソフトウェアテスタに関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention tests whether or not exclusive control of information resources is normally performed in a multiprocessor system composed of a plurality of processors sharing information resources such as a main memory. It relates to a software tester for a multiprocessor system.

【0002】[0002]

【従来の技術】従来、主記憶装置などの情報資源を共用
する複数のプロセッサから構成されるマルチプロセッサ
システムが知られている。このマルチプロセッサシステ
ムは、複数のプロセッサを同一筐体内に配置した密結合
型のシステムと、複数のプロセッサを異なる筐体内に配
設し、通信回線またはケ−ブル等で接続した粗結合型の
システムとに大別される。
2. Description of the Related Art Conventionally, there has been known a multiprocessor system including a plurality of processors sharing an information resource such as a main memory. This multiprocessor system is a tightly coupled system in which a plurality of processors are arranged in the same housing, and a coarsely coupled system in which a plurality of processors are arranged in different housings and connected by communication lines or cables. Is roughly divided into

【0003】このようなマルチプロセッサシステムにあ
っては、一般的なコンピュ−タシステムと同様に、プロ
グラムを組み込んだ際には、そのプログラムが仕様通り
に動作するか否かを確認する、すなわちデバッグしてお
く必要があるが、各プロセッサは自プロセッサ内に組み
込まれたプログラムに従って並列に動作するため、デバ
ッグの仕方が難しい。
In such a multiprocessor system, as with a general computer system, when a program is installed, it is confirmed whether the program operates according to specifications, that is, debugging is performed. However, it is difficult to debug because each processor operates in parallel according to the program installed in its own processor.

【0004】そこで、特公昭60−45453号公報
に、解析対象とする異常状態を中断条件として設定して
おき、この設定した中断条件が発生した時に、各プロセ
ッサにおけるプログラムの実行を中断させ、この中断状
態で各プロセッサ間で共通に使用する主記憶装置内の情
報を捕捉し、この捕捉した情報によってプログラムのデ
バッグを支援する方法が提案されている。
Therefore, in Japanese Patent Publication No. 60-45453, an abnormal condition to be analyzed is set as an interruption condition, and when the set interruption condition occurs, the execution of the program in each processor is interrupted. A method has been proposed in which information in a main storage device that is commonly used by each processor in an interrupted state is captured and debugging of a program is supported by this captured information.

【0005】[0005]

【発明が解決しようとする課題】ところで、この種のマ
ルチプロセッサシステムにあっては、各プロセッサに割
り当てられたプログラムは各プロセッサ別に独立して並
列に実行されるため、主記憶装置内の一部の領域または
全部の領域の情報資源を共用し、それぞれのプログラム
間で相互に関連する処理を行うようになっている場合
は、この共用情報資源に対するアクセスの競合によるシ
ステムダウンあるいは誤動作を防止するように制御しな
ければならない。すなわち、例えばプロセッサAとプロ
セッサBの2つのプロセッサから成るマルチプロセッサ
システムを考えた場合、プロセッサAが先に共用情報資
源をアクセスした場合は、そのアクセス中に別のプロセ
ッサBがアクセス要求を発生したとしても、後発のプロ
セッサBのアクセス要求は拒否しなければならない。ま
た、2つのプロセッサA,Bが同時にアクセスしようと
した場合は、いずれか一方のみにアクセスを許可し、他
方は拒否するように制御しなければならない。このよう
な制御は一般に排他制御と定義されているが、マルチプ
ロセッサシステムを製品として出荷する場合は、この排
他制御が正常に行われるか否かをテストし、製品の信頼
性を確認しておく必要がある。
In a multiprocessor system of this type, however, the programs assigned to the respective processors are independently executed in parallel for each processor, so that a part of the main memory is not available. If the information resources of the shared area or all areas are shared and the processes associated with each other are to be performed, it is necessary to prevent system down or malfunction due to conflicting access to this shared information resource. Have to control. That is, for example, when considering a multiprocessor system including two processors A and B, if the processor A first accesses the shared information resource, another processor B issues an access request during the access. Even in this case, the access request of the subsequent processor B must be rejected. Further, when the two processors A and B try to access at the same time, it is necessary to control so that only one of them is allowed to access and the other is denied. Such control is generally defined as exclusive control, but when shipping a multiprocessor system as a product, test whether this exclusive control is performed normally and confirm the reliability of the product. There is a need.

【0006】この場合、上記のような排他制御を正常に
行うことができるか否かの最も厳格なテスト条件は、各
プロセッサが共有資源を同時にアクセスする場合であ
る。
In this case, the most strict test condition as to whether or not the above exclusive control can be normally performed is the case where each processor simultaneously accesses the shared resource.

【0007】しかしながら、上記公報に提案されている
従来技術にあっては、解析対象とする特定の異常状態が
発生するのを待って各プロセッサにおけるプログラムの
実行を中断させるものであるため、この中断した時の主
記憶装置内の情報に基づいてプログラムのデバッグを行
うことは可能であるが、排他制御が正常に行われている
か否かを厳密にテストすることができない。すなわち、
この種のマルチプロセッサシステムにおいては、各プロ
セッサにおけるプログラムの実行を同時に開始させたと
しても、各プログラムは独自の要求に従って共用情報資
源をアクセスしようとするので、アクセスタイミングは
全く非同期である。従って、特定の異常状態が発生する
のを待って各プログラムの実行を中断させたのでは、こ
の中断時のアクセスタイミングが全く同時であったか、
全く別であったか、あるいは極めて接近していたかは全
く不明である。よって、強制的に排他制御のテスト条件
を作り出し、排他制御が正常に行われるか否かを厳密に
テストすることができないという問題がある。
However, in the prior art proposed in the above publication, the execution of the program in each processor is suspended after waiting for the occurrence of a specific abnormal state to be analyzed. Although it is possible to debug the program based on the information in the main storage device at the time of performing, it is not possible to strictly test whether the exclusive control is normally performed. That is,
In this type of multiprocessor system, even if the execution of programs in each processor is started at the same time, each program tries to access the shared information resource according to its own request, and therefore the access timing is completely asynchronous. Therefore, if the execution of each program was interrupted after waiting for the occurrence of a specific abnormal state, whether the access timings at this interruption were exactly the same,
It is completely unknown whether they were completely different or very close. Therefore, there is a problem that it is not possible to forcibly create a test condition for exclusive control and strictly test whether or not exclusive control is normally performed.

【0008】本発明はこのような問題を解決しようとす
るものであり、その課題は排他制御が正常に行われるか
否かを厳密にテストすることができるマルチプロセッサ
システムのソフトウェアテスタを提供することである。
The present invention is intended to solve such a problem, and its object is to provide a software tester of a multiprocessor system capable of strictly testing whether or not exclusive control is normally performed. Is.

【0009】[0009]

【課題を解決するための手段】上記課題を達成するため
に、本発明は、各プロセッサが実行するプログラムの中
断点を各プロセッサ毎に設定し指示する中断点設定手段
と、この中断点設定手段で設定された中断点でテスト対
象のプロセッサの全てがプログラムの実行を中断した条
件で中断解除を指示し、プログラムの実行を同時に再開
させる中断解除指示手段とを設け、前記情報資源に対す
る複数のプロセッサの同時使用環境を作成し、この同時
使用環境で情報資源への排他制御をテストするように構
成したものである。
In order to achieve the above object, the present invention provides an interruption point setting means for setting and instructing an interruption point of a program executed by each processor for each processor, and this interruption point setting means. A plurality of processors for the information resources are provided with an interruption cancellation instruction means for instructing cancellation of the interruption under the condition that the execution of the program is interrupted by all of the processors to be tested at the interruption point set by It is configured to create a simultaneous use environment of and to test exclusive control to information resources in this simultaneous use environment.

【0010】[0010]

【作用】上記手段によれば、各プロセッサが実行するプ
ログラムの中断点として、例えば共有の情報資源をアク
セスする処理ステップあるいはアドレスを各プロセッサ
毎に設定する。この後、テストの開始を指示する。する
と、各プロセッサはプログラムの実行を開始するが、中
断点設定手段によって設定された中断点に達すると、強
制的にプログラムの実行が中断させられる。そして、テ
スト対象のプロセッサの全てがプログラムの実行を中断
したならば、中断点以降のプログラムの実行が同時に指
示される。このプログラム実行の再開によって、共用の
情報資源を同時にアクセスする条件が強制的に作り出さ
れ、この条件で各プロセッサが同期して共用の情報資源
を同時にアクセスするようになる。これによって、排他
制御が正常に行われるか否かを厳密にテストすることが
できる。
According to the above means, for example, a processing step or address for accessing a shared information resource is set for each processor as an interruption point of a program executed by each processor. After this, the start of the test is instructed. Then, each processor starts the execution of the program, but when the interruption point set by the interruption point setting means is reached, the execution of the program is forcibly interrupted. Then, if all the test target processors interrupt the execution of the program, the execution of the program after the interruption point is simultaneously instructed. By restarting the execution of this program, a condition for simultaneously accessing the shared information resource is forcibly created, and under this condition, the respective processors synchronously access the shared information resource. This makes it possible to strictly test whether the exclusive control is normally performed.

【0011】[0011]

【実施例】以下、本発明の一実施例を図面を参照して説
明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings.

【0012】図1は実施例の全体構成を示す機能ブロッ
ク図、図2は中断点設定処理の説明フロ−図、図3は中
断解除制御処理の説明フロ−図である。
FIG. 1 is a functional block diagram showing the overall configuration of the embodiment, FIG. 2 is an explanatory flowchart of the interruption point setting process, and FIG. 3 is an explanatory flowchart of the interruption cancellation control process.

【0013】図1において、100は第1のプロセッ
サ、110は第2のプロセッサ、120は主記憶装置、
130は主記憶装置120内に位置し、第1第2のプロ
セッサ100,110のそれぞれに組み込まれたプログ
ラム間で共用する共用領域であり、第1、第2のプロセ
ッサ100,110および主記憶装置120によってマ
ルチプロセッサシステム140を構成している。
In FIG. 1, 100 is a first processor, 110 is a second processor, 120 is a main memory,
Reference numeral 130 denotes a shared area located in the main memory device 120 and shared by programs installed in the first and second processors 100 and 110, respectively. The first and second processors 100 and 110 and the main memory device 130 are common areas. A multiprocessor system 140 is constituted by 120.

【0014】300は操作端末、400はソフトウェア
テスタである。
Reference numeral 300 is an operating terminal, and 400 is a software tester.

【0015】このソフトウェアテスタ400は各プロセ
ッサ100,110が実行するプログラムの中断点を各
プロセッサ毎に設定する中断点設定部410と、システ
ム内のプロセッサ100,110がプログラムの実行を
中断した条件で中断解除を指示し、プログラムの実行を
再開させる中断解除指示部420とから構成されてい
る。
The software tester 400 has an interrupt point setting unit 410 for setting an interrupt point of a program executed by each processor 100, 110 for each processor, and a condition that the processors 100, 110 in the system interrupt the execution of the program. It is composed of an interruption cancellation instruction unit 420 for instructing cancellation of interruption and restarting execution of the program.

【0016】500は中断点設定部410で設定された
中断点でプログラムの実行を中断させると共に、各プロ
セッサ100,110の中断事象を検出して中断解除指
示部420に通知し、中断解除指示部420からの指示
に基づいてプログラムの中断状態を解除する中断制御機
構であり、ソフトウェアテスタ400とは別のソフトウ
ェアによって構成されている。
A reference numeral 500 interrupts the execution of the program at the breakpoint set by the breakpoint setting section 410, detects the interrupt event of each processor 100, 110 and notifies the interrupt cancellation instruction section 420, and the interrupt cancellation instruction section. It is an interruption control mechanism that releases the interruption state of the program based on an instruction from 420, and is configured by software different from the software tester 400.

【0017】以下、図2および図3を参照して排他制御
のテストを行う場合の動作について説明する。
The operation of the exclusive control test will be described below with reference to FIGS. 2 and 3.

【0018】先ず、テスト作業者は、図2の説明フロ−
図のステップ1000で示すごとく、各プロセッサ10
0,110で動作するプログラムの同期を取るため、こ
れら中断対象のプロセッサ100,110の名称、プロ
グラムを中断させる中断点を操作端末300から入力
し、ソフトウェアテスタ400に通知する。
First, the test operator uses the explanation flow of FIG.
As indicated by step 1000 in the figure, each processor 10
In order to synchronize the programs operating in 0 and 110, the names of the processors 100 and 110 to be interrupted and the interruption points at which the programs are interrupted are input from the operation terminal 300, and the software tester 400 is notified.

【0019】ここで、プログラムを中断させる中断点と
しては、例えば共有領域130をアクセスする処理ステ
ップあるいはアドレスを表すデ−タを各プロセッサ毎に
入力し設定する。また同時に、中断した後に再開させる
までの時間を表す中断解除遅延時間デ−タを操作端末3
00から入力し、ソフトウェアテスタ400に指示す
る。このようにした設定されたプロセッサ名称、中断点
および中断解除遅延時間を表すデ−タは中断点設定部4
10に登録される。
Here, as an interruption point for interrupting the program, for example, data representing a processing step or an address for accessing the shared area 130 is input and set for each processor. At the same time, the interruption release delay time data indicating the time from the interruption to the resumption is given to the operation terminal 3
00 to instruct the software tester 400. The data representing the processor name, the interruption point, and the interruption release delay time thus set are the interruption point setting unit 4
Registered in 10.

【0020】そこで次に、中断点設定部410はステッ
プ1010で示すごとく、各プロセッサの名称および中
断点を表すデ−タを中断制御機構500に通知する。さ
らに中断点設定部410は次のステップ1020で示す
ごとく、プロセッサ名称および中断解除遅延時間を表す
デ−タを中断解除指示部420に通知する。
Then, the interruption point setting unit 410 then notifies the interruption control mechanism 500 of the data indicating the name of each processor and the interruption point, as shown in step 1010. Further, the interruption point setting unit 410 notifies the interruption cancellation instructing unit 420 of the data indicating the processor name and the interruption cancellation delay time, as shown in the next step 1020.

【0021】中断解除指示部420は次に図3のステッ
プ2000で示すごとく、中断点設定部410から通知
されたプロセッサ名称および中断解除遅延時間を表すデ
−タを登録し保持する。
The interruption canceling instruction section 420 then registers and holds the data indicating the processor name and the interruption cancellation delay time notified from the interruption point setting section 410, as shown in step 2000 of FIG.

【0022】テスト作業者は、中断対象となるプロセッ
サ100,110の名称、中断点及び中断解除遅延時間
を表すデ−タを操作端末300よりソフトウェアテスタ
400に対して指定した後、プロセッサ100,110
に組み込んだプログラムの実行を指示する。
The test operator specifies the names of the processors 100 and 110 to be interrupted, the interruption points and the interruption release delay time from the operation terminal 300 to the software tester 400, and then the processors 100 and 110.
To execute the program embedded in.

【0023】プログラムの実行により、各プロセッサ1
00,110で実行対象となる命令語のアドレスあるい
は処理ステップが中断点設定部410に設定し登録した
内容と一致した場合、中断制御機構500はプロセッサ
100,110のプログラムの実行を中断させる。
By executing the program, each processor 1
If the address or the processing step of the instruction word to be executed in 00 or 110 matches the content set and registered in the interruption point setting unit 410, the interruption control mechanism 500 interrupts the execution of the program of the processor 100 or 110.

【0024】これにより、プロセッサ100,110の
プログラムの実行は中断されるが、この中断事象は中断
制御機構500によって検出される。そこで、中断制御
機構500はステップ2010で示すごとく、プロセッ
サ100,110の中断事象とプログラム実行を中断し
たプロセッサ名称を中断解除指示部420に対して通知
する。
As a result, the execution of the programs of the processors 100 and 110 is suspended, and this suspension event is detected by the suspension control mechanism 500. Therefore, as shown in step 2010, the interruption control mechanism 500 notifies the interruption cancellation instruction unit 420 of the interruption event of the processors 100 and 110 and the name of the processor that interrupted the program execution.

【0025】そこで、中断解除指示部420はステップ
2020で示すごとく、中断対象のプロセッサ100,
110が全てプログラムの実行を中断したか否かの判定
を行う。中断対象のプロセッサ100,110が全て中
断していない場合、中断解除指示部420は未だ中断し
ていない中断対象プロセッサの中断通知を中断制御機構
500から受けるまで待つ。以上、中断対象プロセッサ
100,110が全て中断するまでステップ2010〜
2020の処理を繰り返す。
Therefore, the interruption cancellation instructing section 420, as shown at step 2020,
It is determined whether all 110 have interrupted the execution of the program. When all of the processors 100 and 110 to be suspended have not been suspended, the suspension cancellation instruction unit 420 waits until the suspension control mechanism 500 receives a suspension notification of a suspended processor that has not been suspended. As described above, until the suspension target processors 100 and 110 are all suspended, steps 2010 to 2010 are performed.
The processing of 2020 is repeated.

【0026】次にステップ2030で示すごとく中断対
象プロセッサ100,110の全てがプログラムの実行
を中断した場合、中断解除指示部420は中断制御機構
500に対して、全てのプロセッサ100,110の中
断状態を解除するよう指示する。この場合、中断解除遅
延時間が設定されている時は、中断解除指示部420は
設定された中断解除遅延時間が経過した後に中断解除指
示を行う。中断解除指示を受けた中断制御機構500は
その指示に従って図4のタイムチャ−トに示すように、
中断状態となっているプロセッサ100,110のプロ
グラムの実行を同時時刻tに再開させる。
Next, as shown in step 2030, when all of the suspend target processors 100 and 110 suspend the execution of the program, the suspend cancel instruction unit 420 instructs the suspend control mechanism 500 to suspend all the processors 100 and 110. Instruct to cancel. In this case, when the interruption cancellation delay time is set, the interruption cancellation instruction unit 420 gives the interruption cancellation instruction after the set interruption cancellation delay time has elapsed. The interruption control mechanism 500 which has received the interruption cancellation instruction follows the instruction, as shown in the time chart of FIG.
The execution of the programs of the suspended processors 100 and 110 is restarted at the simultaneous time t.

【0027】このプログラムの実行再開によって主記憶
装置120の共用領域130を同時にアクセスする環境
が強制的に作り出され、この条件で各プロセッサ10
0,110が同期して共用領域140を同時にアクセス
するようになる。これによって、排他制御が正常に行わ
れるか否かを厳密にテストすることができる。
By restarting the execution of this program, an environment for simultaneously accessing the shared area 130 of the main storage device 120 is forcibly created, and under this condition, each processor 10 is accessed.
0 and 110 access the shared area 140 at the same time in synchronization. This makes it possible to strictly test whether the exclusive control is normally performed.

【0028】この場合、中断解除遅延時間tdとしてプ
ロセッサ100にはtd1,プロセッサ110にはtd
2が設定されている時は、図4のタイムチャ−トに示す
ように、プロセッサ100は中断解除指示部420によ
る中断解除指示があってからtd1時間経過後にプログ
ラムの実行を再開し、プロセッサ110はtd2時間経
過後にプログラムの実行を再開する。従って、この実施
例においては、プロセッサ100,110のプログラム
を同一時刻で完全に同期させて再開させることができる
他、所望の時間だけずらせたタイミングで再開させるこ
とができる。
In this case, the interruption release delay time td is td for the processor 100 and td for the processor 110.
When 2 is set, as shown in the time chart of FIG. 4, the processor 100 restarts the execution of the program after the lapse of td1 time after the interruption cancellation instruction from the interruption cancellation instruction unit 420 is given, and the processor 110 After the lapse of td2 hours, the execution of the program is restarted. Therefore, in this embodiment, the programs of the processors 100 and 110 can be completely synchronized and restarted at the same time, or restarted at a timing shifted by a desired time.

【0029】これにより、各種のタイミング関係でプロ
セッサ100,110の排他制御を容易にテストするこ
とができる。また、中断対象となるプロセッサをプロセ
ッサ名称によって自由に選択することができるので、プ
ロセッサが3台以上存在する場合は、その組み合わせを
自由に選択して排他制御テストを行うことができる。
This makes it possible to easily test the exclusive control of the processors 100 and 110 in various timing relationships. Further, the processor to be suspended can be freely selected by the processor name. Therefore, when there are three or more processors, the combination can be freely selected and the exclusive control test can be performed.

【0030】なお、上記実施例においてマルチプロセッ
サ140は密結合型の構成を例に挙げて示したが、本発
明は粗結合型のマルチプロセッサシステムについても同
様に適用することができる。
In the above embodiment, the multiprocessor 140 is shown as a tightly coupled type, but the present invention can be similarly applied to a coarsely coupled type multiprocessor system.

【0031】また、プロセッサの数は2台の場合を例示
したが、3台以上の場合についても同様に適用すること
ができる。
Although the number of processors is two in the above example, the same can be applied to the case of three or more.

【0032】また、実施例においては、プロセッサ名称
を設定するようにしているが、プロセッサの数が2台の
場合は不要である。
Although the processor name is set in the embodiment, it is not necessary when the number of processors is two.

【0033】[0033]

【発明の効果】以上説明したように本発明は、複数のプ
ロセッサから構成されたマルチプロセッサシステムにお
いて各プロセッサが実行するプログラムの中断点を各プ
ロセッサ毎に設定し指示する中断点設定手段と、この中
断点設定手段で設定された中断点でテスト対象のプロセ
ッサの全てがプログラムの実行を中断した条件で中断解
除を指示し、プログラムの実行を同時に再開させる中断
指示解除手段とを設け、主記憶装置などの情報資源に対
する複数のプロセッサの同時使用環境を作成し、この同
時使用環境で情報資源への排他制御をテストするように
構成したため、排他制御が正常に行われるか否かを厳密
に、しかも容易にテストすることができる。この結果、
信頼性の高いマルチプロセッサシステムを利用者に提供
することができる。
As described above, according to the present invention, in a multiprocessor system composed of a plurality of processors, an interruption point setting means for setting and instructing an interruption point of a program executed by each processor is provided. A main memory device is provided with an interruption instruction canceling means for instructing cancellation of the interruption under the condition that all of the processors to be tested interrupt the execution of the program at the interruption point set by the interruption point setting means, and restarting the execution of the program at the same time. Since the environment for simultaneous use of multiple processors for information resources such as is created and configured to test the exclusive control on the information resources in this simultaneous use environment, whether or not the exclusive control is normally performed is strict. Can be easily tested. As a result,
It is possible to provide the user with a highly reliable multiprocessor system.

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

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

【図2】実施例における中断点設定処理の手順を示す説
明フロ−図である。
FIG. 2 is an explanatory flow chart showing a procedure of an interruption point setting process in the embodiment.

【図3】実施例における中断解除指示処理の手順を示す
説明フロ−図である。
FIG. 3 is an explanatory flowchart showing a procedure of interruption cancellation instruction processing in the embodiment.

【図4】実施例における主記憶装置共有領域へのプロセ
ッサのアクセスタイミングを説明するためのタイムチャ
−トである。
FIG. 4 is a time chart for explaining the access timing of the processor to the main memory shared area in the embodiment.

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

100 第1のプロセッサ 110 第2のプロセッサ 120 主記憶装置 130 共用領域 140 マルチプロセッサシステム 300 操作端末 400 ソフトウェアテスタ 410 中断点設定部 420 中断解除指示部 500 中断制御機構 100 First Processor 110 Second Processor 120 Main Storage Device 130 Shared Area 140 Multiprocessor System 300 Operating Terminal 400 Software Tester 410 Break Point Setting Unit 420 Break Cancel Instructing Unit 500 Break Control Mechanism

───────────────────────────────────────────────────── フロントページの続き (72)発明者 野村 祐治 神奈川県横浜市戸塚区戸塚町5030番地 株 式会社日立製作所ソフトウエア開発本部内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Yuji Nomura 5030 Totsuka-cho, Totsuka-ku, Yokohama-shi, Kanagawa Prefecture Hitachi Ltd. Software Development Division

Claims (1)

【特許請求の範囲】 【請求項1】 主記憶装置などの情報資源を共用する複
数のプロセッサから構成されるマルチプロセッサシステ
ムにおける前記情報資源への排他制御が正常に行われる
か否かをテストするマルチプロセッサシステムのソフト
ウェアテスタであって、各プロセッサが実行するプログ
ラムの中断点を各プロセッサ毎に設定し指示する中断点
設定手段と、この中断点設定手段で設定された中断点で
テスト対象のプロセッサの全てがプログラムの実行を中
断した条件で中断解除を指示し、プログラムの実行を同
時に再開させる中断解除指示手段とを設け、前記情報資
源に対する複数のプロセッサの同時使用環境を作成し、
この同時使用環境で情報資源への排他制御をテストする
ことを特徴とするマルチプロセッサシステムのソフトウ
ェアテスタ。
Claim: What is claimed is: 1. A test is carried out as to whether or not exclusive control to the information resource is normally performed in a multiprocessor system including a plurality of processors sharing an information resource such as a main memory. A software tester for a multiprocessor system, wherein a break point setting means for setting and instructing a break point of a program executed by each processor and a processor to be tested at the break point set by the break point setting means All provide an instruction to cancel the interruption under the condition of interrupting the execution of the program, and provide an interruption cancellation instruction means for resuming the execution of the program at the same time, creating a simultaneous use environment of a plurality of processors for the information resource,
A software tester for a multiprocessor system characterized by testing exclusive control over information resources in this simultaneous use environment.
JP3149993A 1991-06-21 1991-06-21 Software tester of multi-processor system Pending JPH052500A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3149993A JPH052500A (en) 1991-06-21 1991-06-21 Software tester of multi-processor system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3149993A JPH052500A (en) 1991-06-21 1991-06-21 Software tester of multi-processor system

Publications (1)

Publication Number Publication Date
JPH052500A true JPH052500A (en) 1993-01-08

Family

ID=15487124

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3149993A Pending JPH052500A (en) 1991-06-21 1991-06-21 Software tester of multi-processor system

Country Status (1)

Country Link
JP (1) JPH052500A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8152294B2 (en) 2002-12-04 2012-04-10 Ricoh Company, Ltd. Compact front-operable image forming apparatus
US9760421B2 (en) 2015-03-18 2017-09-12 Fujitsu Limited Information processing device, method, and computer readable medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8152294B2 (en) 2002-12-04 2012-04-10 Ricoh Company, Ltd. Compact front-operable image forming apparatus
US8485653B2 (en) 2002-12-04 2013-07-16 Ricoh Company, Ltd. Compact front-operable image forming apparatus
US9760421B2 (en) 2015-03-18 2017-09-12 Fujitsu Limited Information processing device, method, and computer readable medium

Similar Documents

Publication Publication Date Title
US5046068A (en) Multi-processor system testing method
US5371746A (en) Program debugging system for a distributed data processing system
US8230399B2 (en) Method for system call interception in user space
JPH0588948A (en) Method and device for analyzing sampling performance
CA2434292C (en) Information processing apparatus
JPH052500A (en) Software tester of multi-processor system
JPH0320832A (en) Information processing system
CN112416536A (en) Method for extracting processor execution context and processor
JP2005122375A (en) Device and method for operation test
JPH086819A (en) Device and method for testing device driver program
JPH02264352A (en) Multi-processor synchronizing system
JPH103403A (en) Computer system and debugging method
JPH06149762A (en) Conflict operation testing system for computer system
JP4825058B2 (en) Computer emulation method
JPH03244040A (en) Parallel run type debug system
JP2550708B2 (en) Debug method
JPH01258138A (en) System for testing central processing unit
JPH11238002A (en) Simulation system
CN115599525A (en) Asynchronous task scheduling method, device, equipment and storage medium
JPH08305607A (en) Program debugging method and debugger for multiprocessor system
JPH09190365A (en) Test method for multi-task constitution program
JPH0363867A (en) Program synchronous processing system
JPH0149975B2 (en)
JP2000339199A (en) Tm save analyzing method
JPH10198578A (en) System and method for debugging

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees