JPH0291736A - Debug system for parallel object directional type system - Google Patents
Debug system for parallel object directional type systemInfo
- Publication number
- JPH0291736A JPH0291736A JP63242331A JP24233188A JPH0291736A JP H0291736 A JPH0291736 A JP H0291736A JP 63242331 A JP63242331 A JP 63242331A JP 24233188 A JP24233188 A JP 24233188A JP H0291736 A JPH0291736 A JP H0291736A
- Authority
- JP
- Japan
- Prior art keywords
- message
- file
- logical time
- objects
- parallel processing
- 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
Links
- 238000000034 method Methods 0.000 claims abstract description 12
- 238000012545 processing Methods 0.000 abstract description 18
- 238000004891 communication Methods 0.000 abstract description 4
- 238000010586 diagram Methods 0.000 description 9
- 238000007796 conventional method Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
Landscapes
- Debugging And Monitoring (AREA)
Abstract
Description
【発明の詳細な説明】
[発明の目的]
(産業上の利用分野)
本発明は、オブジェクト間のメツセージの授受によって
処理を行う並列オブジェクト指向型システムのデパック
方式に関する。DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Field of Industrial Application) The present invention relates to a depacking method for a parallel object-oriented system that performs processing by exchanging messages between objects.
(従来の技術)
プログラムのデパックにおいては、プログラムを特定の
位置で停止させ、メモリの内容を調べる手法が一般的に
用いられている。しかるに、複数のプロセッサが非同期
で動作する環境においては、すべてのプロセッサを一定
の状態で停止させることは不可能であるため、従来の手
法は用いられない。このため、並列処理システムでは新
しいデパック手法が必要とされている。(Prior Art) When depacking a program, a method is generally used in which the program is stopped at a specific position and the contents of memory are examined. However, in an environment where multiple processors operate asynchronously, it is impossible to stop all processors in a constant state, so conventional techniques are not used. Therefore, new depacking techniques are needed in parallel processing systems.
近年、新しいプログラミング手法としてオブジェクト指
向型システムが注目を沿びている。オブジェクト指向型
システムは、あるまとまった機能や知識をもったオブジ
ェクトのメツセージのやりとりによって処理を行うシス
テムである。オブジェクトはメツセージを受信すると、
そのメツセージに対応する処理を行う。また、オブジェ
クトはそれ自身の内部状態を保持する変数をもち、他の
オブジェクトはそれを勝手に参照できない。In recent years, object-oriented systems have been attracting attention as a new programming method. An object-oriented system is a system that performs processing by exchanging messages between objects that have a certain set of functions and knowledge. When an object receives a message,
Perform processing corresponding to the message. Additionally, objects have variables that hold their own internal state, and other objects cannot reference them without permission.
このようなオブジェクト指向型システムの性質は、本質
的に並列処理に適している。しかし、オブジェクト指向
型システムのデパック手法についてはあまり検討が行わ
れてなく、特に並列処理環境におけるオブジェクト指向
型システムのデパックのための手法が確立されていない
ため、デパックが困難となる欠点があった。The nature of such object-oriented systems inherently lends itself to parallel processing. However, there has not been much research into depacking methods for object-oriented systems, and there has been no established method for depacking object-oriented systems in parallel processing environments, making depacking difficult. .
(発明が解決しようとする課題)
このように、複数のプロセッサが非同期で動作する並列
処理システムのデパックに関しては、従来のデパック手
法が用いられないため、困難であるという欠点があった
。(Problems to be Solved by the Invention) As described above, depacking a parallel processing system in which a plurality of processors operate asynchronously has the drawback of being difficult because conventional depacking techniques are not used.
本発明は、オブジェクト指向型の並列処理システムにお
けるデパックの困難さを軽減することを目的としたもの
であり、オブジェクト間で更新されるメツセージに論理
時刻を付与し、論理時刻に従ってシステム全体の挙動を
表示することにより、デパック手法を提供することを目
的としている。The present invention aims to reduce the difficulty of depacking in an object-oriented parallel processing system. It assigns a logical time to messages updated between objects, and controls the behavior of the entire system according to the logical time. The aim is to provide a depacking method by displaying.
[発明の構成コ
(課題を解決するための手段)
本発明では、オブジェクト間で交信される全てのメツセ
ージに論理時刻を付与してメツセージファイルに格納す
るメツセージ格納部と、格納されたメツセージを論理時
刻順にソートするメツセージソート部と、ソートされた
結果のメツセージソートファイルとオブジェクトの表示
位置を示すオブジェクト表示位置ファイルを用いてメツ
セージを表示する表示部とから構成される。[Configuration of the Invention (Means for Solving the Problems)] The present invention includes a message storage unit that assigns a logical time to all messages communicated between objects and stores them in a message file, and It is composed of a message sorting section that sorts messages in time order, and a display section that displays messages using a message sort file as a result of the sorting and an object display position file that indicates the display position of the object.
(作用)
メツセージ格納部は並列処理システムを構成する各プロ
セッサ毎に備え、そのプロセッサに格納されているオブ
ジェクトがメツセージを送信するときは、論理時刻を付
与して送信し、メツセージを受信するときは、付与され
ている論理時刻と共にメツセージをメツセージファイル
に格納する。(Function) A message storage section is provided for each processor that constitutes the parallel processing system, and when an object stored in that processor sends a message, it assigns a logical time and sends it, and when it receives the message, it sends it with a logical time. , stores the message in the message file along with the assigned logical time.
メツセージソート部は、メツセージファイルの内容を論
理時刻順にソートし、メツセージソートファイルを作成
する。表示部はメツセージソートファイルとオブジェク
表示位置ファイルを入力とし、ユーザの指示に基いてオ
ブジェクト間のメツセージの流れを論理時刻に従って表
示する。The message sorting unit sorts the contents of the message file in logical time order and creates a message sort file. The display section receives the message sort file and object display position file as input, and displays the flow of messages between objects according to logical time based on the user's instructions.
以上により、並列処理システムにおけるオブジェクト間
の交信をわかり易く表示することができ、デパックの困
難さを軽減することが可能となる。As described above, communication between objects in a parallel processing system can be displayed in an easy-to-understand manner, and the difficulty of depacking can be reduced.
(実施例) 以下、本発明の1実施例について説明する。(Example) One embodiment of the present invention will be described below.
第1図は本発明の構成を示す図である。本システムは複
数のプロセッサlOより構成され、各プロセッサはオブ
ジェクトを格納し、メツセージを受信することにより処
理を開始する。各プロセッサにはメツセージ格納部11
が付随しており、論理時刻を管理して受信したメツセー
ジをメツセージファイルエ2に格納する。メツセージソ
ート部13はメツセージファイル12の内容を論理時刻
順にソートし、メツセージソートファイル14に出力す
る。表示部15はユーザの指示に基いてメツセージソー
トファイル14の内容をオブジェクト表示位置ファイル
IBに従って表示する。FIG. 1 is a diagram showing the configuration of the present invention. The system is composed of a plurality of processors IO, each processor storing objects and starting processing by receiving messages. Each processor has a message storage section 11.
is attached to the message file 2, which manages the logical time and stores the received message in the message file 2. The message sorting unit 13 sorts the contents of the message file 12 in logical time order and outputs it to the message sort file 14. The display section 15 displays the contents of the message sort file 14 according to the object display position file IB based on the user's instructions.
第2図はオブジェクト間のメツセージの流れの一例を示
す図である。図中A−Hはオブジェクトを示し、メツセ
ージの流れを矢印で表している。FIG. 2 is a diagram showing an example of the flow of messages between objects. In the figure, A-H indicates objects, and arrows indicate the flow of messages.
第3図は、第2図の例におけるメツセージに論理時刻を
付加したものを表わす。図に示すように論理時刻はオブ
ジェクトを通過する毎に1ずつ増加する。ただし、複数
の入力メツセージを受信するオブジェクト(G20とH
2O)では、出力メツセージの論理時刻は入力メツセー
ジの論理時刻の最大値+1となっている。FIG. 3 shows the message in the example of FIG. 2 with a logical time added. As shown in the figure, the logical time increases by 1 each time an object is passed. However, objects that receive multiple input messages (G20 and H
2O), the logical time of the output message is the maximum value of the logical time of the input message +1.
第4図はメツセージファイルの内容を示す。ただしメツ
セージの内容は省略している。FIG. 4 shows the contents of the message file. However, the contents of the message are omitted.
第5図はオブジェクト表示位置をファイルの内容を示す
。図のように各オブジェクトを表示する座標(x、 y
)が格納されている。このファイルの内容は人手で記述
入力しても計算機が自動生成してもいずれでもよい。FIG. 5 shows the object display position and the contents of the file. The coordinates (x, y
) are stored. The contents of this file may be entered manually or automatically generated by a computer.
第6図は、第41図のメツセージファイルの内容を第5
図のオブジェクト表示位置ファイルの内容に従って全て
表示したものである。ここで、論理時刻は矢印の先の数
により表現している。このように表示することにより、
各オブジェクトはどの論理時刻にどのオブジェクトに対
してメツセージを送受信したかを、2次元的に読みとる
ことができる。Figure 6 shows the contents of the message file in Figure 41 in the 5th file.
All are displayed according to the contents of the object display position file shown in the figure. Here, the logical time is expressed by the number at the tip of the arrow. By displaying it like this,
It is possible to two-dimensionally read to which object each object sent and received a message at which logical time.
また、第7図は、論理事項1のメツセージ通信を点線で
、論理時刻2のメツセージ通信を実線で表わしたもので
ある。このように表示することにより、特定の論理時刻
でのオブジェクトの挙動を読みとることができる。Further, in FIG. 7, the message communication of logical matter 1 is represented by a dotted line, and the message communication of logical time 2 is represented by a solid line. By displaying in this way, it is possible to read the behavior of the object at a specific logical time.
また、表示部は矢印の線種を変えたり、色彩を変えたり
することにより、各種の表示を行なうことができる。ま
た、特定のオブジェクトにのみ注目する機能や、複数の
オブジェクトを同一座標に表示すること等も可能であり
、ユーザの指示に基いて多様な表示方法をとることが可
能である。Further, the display section can perform various displays by changing the line type of the arrow or changing the color. It is also possible to have a function that focuses only on a specific object, to display multiple objects at the same coordinates, and to use various display methods based on user instructions.
[発明の効果コ
以上の説明から明らかなように、本発明によればオブジ
ェクト指向に基ずく並列処理システムの実行過程をわか
り易く表示することができ、並列処理システムのデパッ
クを容易にすることができる。[Effects of the Invention] As is clear from the above explanation, according to the present invention, the execution process of a parallel processing system based on object orientation can be displayed in an easy-to-understand manner, and the depacking of the parallel processing system can be facilitated. .
第1図は、本発明の1実施例のシステム構成図、第2図
は、並列処理システム動作例を表わす図、第3図は、本
発明の1実施例における例題の論理時刻を表わす図、
第4図は、本発明の1実施例における例題のメツセージ
ファイルの内容を表わす図、
第5図は、本発明の1実施例における例題のオブジェク
ト表示位置ファイルの内容を表わす図、第6図は、本発
明の1実施例における例題のメツセージを全て表示した
図、
第7図は、本発明の1実施例における例題の特定の論理
時刻に関するメツセージを表示した図である。
10・・・プロセッサ、 11・・・メツセージ格納部
。
12・・・メツセージファイル。
13・・・メツセージソート部。
14・・・メツセージソートファイル、15・・・表示
部。
16・・・オブジェクト表示位置ファイル。
20・・・オブジェクトG、HFIG. 1 is a system configuration diagram of one embodiment of the present invention, FIG. 2 is a diagram showing an example of parallel processing system operation, and FIG. 3 is a diagram showing logical time of an example problem in one embodiment of the present invention. FIG. 4 is a diagram showing the contents of an example message file in one embodiment of the present invention. FIG. 5 is a diagram showing the contents of an example object display position file in one embodiment of the invention. FIG. 7 is a diagram displaying all the messages of the example in one embodiment of the present invention. FIG. 7 is a diagram displaying the messages regarding a specific logical time of the example in one embodiment of the present invention. 10... Processor, 11... Message storage unit. 12...Message file. 13...Message sorting section. 14...Message sort file, 15...Display section. 16...Object display position file. 20...Objects G, H
Claims (1)
指向型システムにおいて、オブジェクト間で送受信され
るメッセージに論理時刻を付与して、その時刻順に並べ
たメッセージ情報と、オブジェクトの表示位置を指定す
るオブジェクト情報とを用いて、特定の論理時刻の区間
内に送受信されたメッセージの流れを該当するオブジェ
クトの表示位置に表示することを特徴とする並列オブジ
ェクト指向型システムのデバック方式。In a parallel object-oriented system in which multiple objects operate in parallel, logical times are assigned to messages sent and received between objects, and message information arranged in chronological order and object information specifying the display position of the objects are stored. A debugging method for a parallel object-oriented system, characterized in that the flow of messages sent and received within a specific logical time interval is displayed at the display position of the corresponding object.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP63242331A JPH0291736A (en) | 1988-09-29 | 1988-09-29 | Debug system for parallel object directional type system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP63242331A JPH0291736A (en) | 1988-09-29 | 1988-09-29 | Debug system for parallel object directional type system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH0291736A true JPH0291736A (en) | 1990-03-30 |
Family
ID=17087606
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP63242331A Pending JPH0291736A (en) | 1988-09-29 | 1988-09-29 | Debug system for parallel object directional type system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0291736A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7062751B2 (en) | 2000-12-08 | 2006-06-13 | Fujitsu Limited | Sequence analysis method and apparatus |
-
1988
- 1988-09-29 JP JP63242331A patent/JPH0291736A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7062751B2 (en) | 2000-12-08 | 2006-06-13 | Fujitsu Limited | Sequence analysis method and apparatus |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
HUP0100013A2 (en) | Method and apparatus for selecting thread switch events in a multithreaded processor | |
JPH0291736A (en) | Debug system for parallel object directional type system | |
Adamo | Multi-threaded object-oriented MPI-based message passing interface: the ARCH library | |
JPS62140137A (en) | Data holding system using arithmetic logic unit | |
JPH01276345A (en) | Debugging device for parallel object directing system | |
JPS62100823A (en) | Display device for processing state of data on screen | |
JPS59136854A (en) | Monitor device for task transition | |
JPH0199132A (en) | Multi-task executing device | |
Al-Anbuky et al. | A flexible data acquisition and monitoring system | |
Myers et al. | Use of object-oriented techniques in a beam-line control system | |
JP2509936B2 (en) | Output control device | |
JP2764358B2 (en) | Data driven information processor | |
Okkonen et al. | ReaGOS-An Application Specific R/T-OS. | |
JPH02287680A (en) | Load dispersion system in graphic processor | |
Dunstan et al. | Support for Concurrent Programming on the MONADS-PC System | |
JPH01123369A (en) | Presentation device | |
Einstein et al. | A tool to aid in mapping computational tasks to a hypercube | |
Misiurewicz | Simple Real-Time Executive For Small Minicomputer | |
JPS61151745A (en) | Interruption processing system | |
JPH04260943A (en) | Trace output system | |
Atkins et al. | Experiences with coroutines in BCPL | |
JPH03171267A (en) | Timing generation circuit | |
JPS6368927A (en) | Message detail display system | |
Jameson | Auditory Characteristics of Algorithms and Data | |
JPH0216646A (en) | Programmable controller |