JPH05265776A - Method for visualizing parallel execution process - Google Patents

Method for visualizing parallel execution process

Info

Publication number
JPH05265776A
JPH05265776A JP4063109A JP6310992A JPH05265776A JP H05265776 A JPH05265776 A JP H05265776A JP 4063109 A JP4063109 A JP 4063109A JP 6310992 A JP6310992 A JP 6310992A JP H05265776 A JPH05265776 A JP H05265776A
Authority
JP
Japan
Prior art keywords
displayed
execution
display
visualizing
processes
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
JP4063109A
Other languages
Japanese (ja)
Inventor
Shogo Sasaki
祥吾 佐々木
Sumio Kikuchi
純男 菊池
Makoto Sato
真琴 佐藤
Shigemi Yamada
重己 山田
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
Hitachi Solutions East Japan Ltd
Original Assignee
Hitachi Ltd
Hitachi Tohoku Software 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, Hitachi Tohoku Software Ltd filed Critical Hitachi Ltd
Priority to JP4063109A priority Critical patent/JPH05265776A/en
Publication of JPH05265776A publication Critical patent/JPH05265776A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To reduce the number of display processes to improve the retrieval efficiency of processes and message transmission/reception correspondence relations by displaying module names and row numbers of corresponding source executable statements at the time of execution start and execution end of each process.. CONSTITUTION:A process display picture 401 for the whole of a program consists of a title 402, a process state display part 403, a command part 404, etc., and procedure names and row numbers at the time of execution start and execution end of a process in the display range of the process state displayed on the process state display part 403 are displayed on the title part 402. States of slave processes are collected and displayed as one graphic. Thus, since the number of displayed processes is relatively small even if a numerous processes are generated in the parallel processing, the efficiency of user's process retrieval and message transmission/reception correspondence relation retrieval is improved.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、並列実行プロセスの可
視化方法に係り、特に親プロセスから生成される子プロ
セスの状態を一括表示し、親プロセスの状態と独立に表
示する方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for visualizing a parallel execution process, and more particularly to a method for collectively displaying the states of child processes generated from a parent process and independently displaying the states of the parent process.

【0002】[0002]

【従来の技術】従来より、並列実行プロセスの可視化方
法は、プロセス実行時に発生するメッセージやプロセス
間のメッセージ送受信対応関係等を利用者が視覚的に確
認する手段として用いられ、効果を上げている。この例
としては、Janice M. Stone,"A graphical representat
ion of concurrent processes",In Proceedings ofthe
ACM Workshop on Parallel and Distributed Debugging
Volume24 Number1pp226-235 January 1989.に記載され
ているように、並列に実行する個々のプロセスを実線で
表示し、プロセス実行時に発生する種々のメッセージを
実線上に時系列に表示し、プロセス間のメッセージ送受
信対応関係を矢印で表示する方法がある。
2. Description of the Related Art Conventionally, a method of visualizing a parallel execution process has been used as a means for a user to visually confirm a message generated at the time of process execution, a message transmission / reception correspondence relationship between processes, etc., and has been effective. .. An example of this is Janice M. Stone, "A graphical representat
ion of concurrent processes ", In Proceedings of the
ACM Workshop on Parallel and Distributed Debugging
As described in Volume24 Number1pp226-235 January 1989., individual processes executed in parallel are displayed by solid lines, various messages that occur during process execution are displayed in time series on solid lines, and messages between processes are displayed. There is a method of displaying a transmission / reception correspondence with an arrow.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上記従
来の方法では、個々のプロセスとソ−スプログラムの実
行文との対応や個々のプロセスが実行するループ処理の
ループ制御変数の値などが不明であった。また、実際の
並列処理において親プロセスから子プロセスが生成さ
れ、この子プロセスから更に孫プロセスが生成されてい
く処理が繰り返し行なわれる場合、表示するプロセスの
数が膨大となるため、プロセスやメッセージ送受信対応
関係などの表示や検索が困難であった。
However, in the above conventional method, the correspondence between each process and the execution statement of the source program, the value of the loop control variable of the loop processing executed by each process, and the like are unknown. there were. Also, in the actual parallel processing, when a child process is created from a parent process, and a process in which a grandchild process is created from this child process is repeated, the number of processes to be displayed becomes huge. It was difficult to display the correspondence and search.

【0004】本発明では、このような従来の課題を解決
するために、個々のプロセスが実行したソ−スプログラ
ムの実行文情報やループ制御変数の値などを表示し、個
々のプロセスがどのソ−スプログラムの実行文に対応し
ているのかを明確にするとともに、親プロセスから生成
される子プロセスの状態を一括して1つの図形として親
プロセスの状態とは独立に表示し、表示プロセスの数の
軽減化を行うことでプロセスやメッセージ送受信対応関
係の検索効率の向上を図ることを目的としている。
In order to solve such a conventional problem, the present invention displays the execution statement information of the source program executed by each process, the value of a loop control variable, etc. -It is clarified whether it corresponds to the execution statement of the program, and the state of the child process generated from the parent process is collectively displayed as one figure independently of the state of the parent process. By reducing the number, it aims to improve the search efficiency of processes and message sending / receiving correspondence relationships.

【0005】[0005]

【課題を解決するための手段】上記目的を達成するため
に、個々のプロセスに対してプロセス実行開始時と実行
終了時に対応するソ−ス実行文のモジュール名と行番
号、またはプロセス実行開始時から終了時までのループ
処理のループ制御変数値を表示する。また、並列処理の
実行時に親プロセスが子プロセスを生成する場合には、
子プロセスの生成時刻と消滅時刻を履歴ファイルに出力
し、親プロセスの状態の表示の際に、子プロセスの生成
時刻位置に子プロセスのライフタイムの大きさに比例す
る大きさの1つの図形(たとえば矩形)を表示する。そ
して、利用者には任意の図形を選択する手段を提供し、
選択された図形に対する子プロセスの状態をそれぞれ親
プロセスの状態として表示する。
In order to achieve the above object, the module name and line number of the source execution statement corresponding to the start and end of process execution for each process, or the start of process execution Displays the loop control variable value of the loop processing from to end. If the parent process creates a child process when executing parallel processing,
The creation time and the death time of the child process are output to a history file, and when the status of the parent process is displayed, one graphic whose size is proportional to the life time of the child process at the creation time position of the child process ( For example, display a rectangle). And provide the user with a means to select any figure,
The state of the child process for the selected figure is displayed as the state of the parent process.

【0006】[0006]

【作用】本発明におけるプロセス実行開始時と終了時に
対応するソ−ス実行文のモジュール名と行番号の表示に
より、利用者は容易に表示されたプロセスがどのソ−ス
実行文に対応しているのかを確認することができる。ま
た、子プロセスの状態を一括して1つの図形で表示する
ことにより、並列処理において膨大な数のプロセスが生
成されても、表示されるプロセスの数は比較的少数にな
るので、利用者のプロセス検索やメッセージ送受信対応
関係検索の効率向上を図ることができる。
By displaying the module name and line number of the source execution statement corresponding to the start and end of the process execution in the present invention, the user can easily identify which source execution statement the displayed process corresponds to. You can check if you are there. In addition, by displaying the states of the child processes collectively in one figure, even if a huge number of processes are generated in parallel processing, the number of displayed processes is relatively small. It is possible to improve the efficiency of process search and message sending / receiving correspondence search.

【0007】[0007]

【実施例】以下、本発明の一実施例を図面により詳細に
説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described in detail below with reference to the drawings.

【0008】図1にプロセス表示ツール稼動環境のシス
テム構成図を示す。コンパイラ102は、ソ−スプログ
ラムが登録されたソ−スファイル101を入力とし、オ
ブジェクトプログラム103を出力する。さらにオブジ
ェクトプログラム103とライブラリ104をリンケー
ジエディタ105により結合・編集し、ロードモジュー
ル106を生成する。そして、ロードモジュール106
をマルチプロセッサ110上で並列実行することによ
り、マルチプロセッサ110は履歴ファイル107へ履
歴情報を出力する。この後、利用者がプロセス表示ツー
ル108を起動すると、プロセス表示ツール108は履
歴ファイル107を入力として、コンソール109にソ
−スファイル101に格納されているソ−スプログラム
に関するプロセス表示を行なう。
FIG. 1 shows a system configuration diagram of a process display tool operating environment. The compiler 102 inputs the source file 101 in which the source program is registered and outputs the object program 103. Furthermore, the object program 103 and the library 104 are combined and edited by the linkage editor 105 to generate the load module 106. Then, the load module 106
Are executed in parallel on the multiprocessor 110, the multiprocessor 110 outputs history information to the history file 107. After that, when the user activates the process display tool 108, the process display tool 108 receives the history file 107 as an input and displays a process on the source program stored in the source file 101 on the console 109.

【0009】図2にソ−スファイル101中に格納され
ているソ−スプログラムである並列処理向きFORTR
ANプログラムの内容例の一部を示す。以下、このプロ
グラムをマルチプロセッサシステム上で実行した結果、
ブロック202(呼び出されたサブルーチン中のブロッ
ク206、208を含む)は4本の子プロセス、ブロッ
ク204はSECTIONブロックごとに3本の子プロ
セスが並列に実行したものと仮定し、この場合のプロセ
ス表示方法の一例について説明する。
FIG. 2 shows a FORTR for parallel processing which is a source program stored in the source file 101.
A part of the content example of the AN program is shown. Below is the result of running this program on a multiprocessor system,
Assuming that block 202 (including blocks 206 and 208 in the called subroutine) has four child processes, and block 204 has three child processes executed in parallel for each SECTION block, the process display in this case is shown. An example of the method will be described.

【0010】図3に図2で示したプログラムを並列実行
することで生成されるプロセスのイメージ図を示す。プ
ロセス301は図2で示したソ−スプログラムのブロッ
ク201と203と205、つまり逐次処理部分を実行
する親プロセス、プロセス302と303と304と3
05はプロセス301から生成される子プロセスでブロ
ック202(ブロック206、208を含む)を実行す
るプロセス、プロセス306はプロセス305からさら
に生成される孫プロセスでブロック207を実行するプ
ロセスを表したものである。
FIG. 3 is an image diagram of a process generated by executing the programs shown in FIG. 2 in parallel. The process 301 is the blocks 201, 203 and 205 of the source program shown in FIG. 2, that is, the parent process that executes the serial processing part, that is, the processes 302, 303, 304 and 3.
Reference numeral 05 represents a process that executes a block 202 (including blocks 206 and 208) in a child process generated from the process 301, and process 306 represents a process that executes a block 207 in a grandchild process further generated from the process 305. is there.

【0011】本プロセス表示方法は、上記で示したよう
に、親プロセスから子プロセス、子プロセスから孫プロ
セスのように、プロセスのネストが深くなり膨大な数に
なる可能性があるプロセスを段階的に表示するために、
並列処理時に個々のプロセスに対してプロセスグループ
番号とプロセス番号を設定し、プロセスグループ単位ご
とにプロセスの表示を行なう。プロセスグループあるい
はプロセス群とは、あるプロセスの一回の生成処理で生
成される子プロセスの集合のことで、このプロセスグル
ープをプログラム全体にわたって区別するための識別番
号をプロセスグループ番号、プロセスグループ内で個々
のプロセスを区別するための識別番号をプロセス番号と
する。次にプロセスグループ番号とプロセス番号の設定
方法、および履歴出力方法の処理手順を図3を用いて説
明する。
As described above, the present process display method is a method for gradually stepping up a process in which there is a possibility that the process nest becomes deep and the number of processes becomes huge, such as a parent process to a child process and a child process to a grandchild process. To display in
Set the process group number and process number for each process during parallel processing, and display the process for each process group. A process group or a process group is a set of child processes created by a single generation process of a process. An identification number for distinguishing this process group throughout the program is the process group number, within the process group. The process number is an identification number for distinguishing each process. Next, a process group number setting method, a process number setting method, and a processing procedure of a history output method will be described with reference to FIG.

【0012】(1)プログラムを実行する際、最初に唯
一生成される逐次実行プロセスである親プロセス301
のプロセスグループ番号307を0と設定する。
(1) When a program is executed, the parent process 301, which is the only serial execution process that is initially generated
The process group number 307 is set to 0.

【0013】(2)プロセスグループ内の個々のプロセ
ス(親プロセスは唯一存在)に対し、プロセスグループ
内で一意的な番号とするプロセス番号308を設定す
る。
(2) A process number 308, which is a unique number in the process group, is set for each process (the parent process exists only) in the process group.

【0014】(3)プロセス生成処理により新たに生成
されるプロセスグループ(子プロセスの集合)のプロセ
スグループ番号307をそれまでのプロセスグループ番
号に1を加えた値とする。この際、上記同様にプロセス
番号308も設定する。
(3) The process group number 307 of the process group (set of child processes) newly generated by the process generation processing is set to the value obtained by adding 1 to the process group number up to that point. At this time, the process number 308 is also set similarly to the above.

【0015】(4)履歴取得元のプロセスグループ番号
とプロセス番号、さらに履歴取得時刻などを履歴ファイ
ル107に出力する。ただし、プロセス生成と消滅履歴
のみは子プロセス管理の為に子プロセスグループのプロ
セスグループ番号も出力する。
(4) The process group number and process number of the history acquisition source and the history acquisition time are output to the history file 107. However, the process group number of the child process group is also output for managing the child process only for the process creation and deletion history.

【0016】プロセス表示ツール108は上記方法で出
力された履歴ファイル107上の履歴情報を入力し、全
ての履歴をプロセスグループ番号、プロセス番号、及び
時刻に基づいて分類しプロセス表示用データを作成す
る。
The process display tool 108 inputs the history information on the history file 107 output by the above method, classifies all the histories based on the process group number, the process number, and the time and creates the process display data. ..

【0017】図4に図2で示したプログラム全体に対す
るプロセス表示画面401を示す。本表示方法では、表
示画面401をタイトル部402、プロセス状態表示部
403、コマンド部404から構成し、タイトル部40
2には、プロセス状態表示部403に表示するプロセス
状態の表示範囲である、プロセス実行開始時と実行終了
時の手続き名(モジュール名)及び行番号を表示する。
プロセス状態表示部403は横軸が時間軸で、実線41
3、414、415はそれぞれブロック201、20
3、205を実行するプロセスの実行状態を示す。ま
た、矩形411、412はそれぞれブロック202(ブ
ロック206、208を含む)、204を実行するプロ
セスグループを示し、矩形の左辺位置はプロセスグルー
プの生成時刻、右辺位置はプロセスグループの消滅時刻
を示している。また、矩形内にはプロセスグループの実
行開始時と実行終了時の手続き名及び行番号を表示す
る。コマンド部404には子プロセス表示421、同期
対応表示422、同期変数名表示423、コード表示4
24、閉じる425のコマンドがある。ここで、利用者
により任意の矩形が選択され子プロセス表示421が選
択されると、選択された矩形(子プロセスの集合)を今
度は親プロセスとする新たなプロセス表示画面を表示
し、閉じる425が選択されるとプロセス表示画面40
1をクローズする。このように、親プロセスと子プロセ
スの状態を独立に、かつ、段階的に表示することによ
り、膨大な数のプロセスの表示を容易に行うことができ
る。さらに、プロセスの実行範囲をモジュール名と行番
号で表示することにより、個々のプロセスとソ−ス実行
文との対応も容易に確認できる。なお、同期対応表示4
22、同期変数名表示423、コード表示424のコマ
ンドの説明は後に行う。
FIG. 4 shows a process display screen 401 for the entire program shown in FIG. In this display method, the display screen 401 is composed of a title section 402, a process status display section 403, and a command section 404.
In 2, a process name (module name) and a line number at the start and end of process execution, which are display ranges of the process status displayed on the process status display unit 403, are displayed.
In the process state display unit 403, the horizontal axis is the time axis and the solid line 41
3, 414 and 415 are blocks 201 and 20 respectively.
3 shows the execution state of the process executing 205. Further, rectangles 411 and 412 indicate process groups that execute the blocks 202 (including blocks 206 and 208) and 204, respectively. The left side position of the rectangle indicates the process group generation time, and the right side position indicates the process group disappearance time. There is. In addition, the procedure name and line number at the start and end of execution of the process group are displayed in the rectangle. The command section 404 includes a child process display 421, a synchronization correspondence display 422, a synchronization variable name display 423, and a code display 4
There are 24 and 425 commands for closing. Here, when the user selects an arbitrary rectangle and selects the child process display 421, a new process display screen in which the selected rectangle (set of child processes) is the parent process is displayed, and the process is closed 425. When is selected, the process display screen 40
Close 1 In this way, by displaying the states of the parent process and the child process independently and stepwise, it is possible to easily display a huge number of processes. Further, by displaying the execution range of the process by the module name and the line number, it is possible to easily confirm the correspondence between each process and the source execution statement. In addition, synchronization correspondence display 4
The commands of No. 22, synchronization variable name display 423, and code display 424 will be described later.

【0018】図5に矩形411と子プロセス表示421
が選択されることで表示を行う、子プロセス表示画面5
01を示す。本表示方法では、子プロセス表示画面50
1をタイトル部402、プロセス状態表示部403、コ
マンド部404とプロセス情報表示部502から構成す
る。プロセス情報表示部502には、先に選択された矩
形が並列ループ文を実行した子プロセスならば個々のプ
ロセスがループ文を実行したループ制御変数値(または
ループ制御変数値の範囲)を表示し、並列セクション文
を実行した子プロセスならば個々のプロセス実行開始時
と実行終了時のモジュール名と行番号を表示する。矩形
411は並列ループ文を実行した子プロセス(図2参
照)なので、プロセス情報表示部502にはループ制御
変数値を表示する。各子プロセスの表示位置は該子プロ
セスの実行開始時刻に対応づけられて表示される。各子
プロセスが生成する孫プロセスグループは矩形によって
それぞれ生成時刻と消滅時刻に対応づけられて表示され
る。
A rectangle 411 and a child process display 421 are shown in FIG.
Child process display screen 5 that is displayed when is selected
Indicates 01. In this display method, the child process display screen 50
1 comprises a title section 402, a process status display section 403, a command section 404 and a process information display section 502. If the previously selected rectangle is a child process that executed the parallel loop statement, the process information display unit 502 displays the loop control variable value (or the range of loop control variable values) that the individual process executed the loop statement. , If the child process executes the parallel section statement, the module name and line number at the start and end of each process are displayed. Since the rectangle 411 is a child process that has executed the parallel loop statement (see FIG. 2), the process information display unit 502 displays the loop control variable value. The display position of each child process is displayed in association with the execution start time of the child process. The grandchild process group created by each child process is displayed in a rectangular shape in association with the creation time and the disappearance time.

【0019】図6に矩形412と子プロセス表示421
が選択されることで表示を行う、子プロセス表示画面6
01を示す。矩形412は並列セクション文を実行した
子プロセス(図2参照)なので、プロセス情報表示部5
02には個々のプロセス実行開始時と実行終了時のモジ
ュール名と行番号を表示する。また、プロセス実行状態
の時間を実線413で示すのに対し、プロセス待ち状態
の時間を点線602で示し、プログラム実行時に履歴出
力した同期事象611、612、613、614、61
5を履歴取得元のプロセス上に時系列に表示する。なお
各子プロセスの表示位置は該子プロセスの実行開始時刻
に対応づけて表示される。ここで、利用者により同期事
象611が選択されコード表示424が選択されると、
同期事象611のソ−ス実行文のモジュール名と行番号
を表すコード表示画面701を表示する。図7はコード
表示画面701を示すものである。これにより、選択さ
れた同期事象がどのソ−ス実行文に対応するものである
か即座に確認することができる。また、事象612が選
択され同期対応表示422が選択されることで矢印62
1を表示し、選択された事象がどのプロセス及びどの事
象と同期を行い、さらに矢印表示位置からいつ同期が成
立したのかを確認することができる。
A rectangle 412 and a child process display 421 are shown in FIG.
Child process display screen 6 that is displayed when is selected
Indicates 01. The rectangle 412 is the child process that executed the parallel section statement (see FIG. 2), so the process information display unit 5
In 02, the module name and line number at the start and end of each process execution are displayed. Further, while the time of the process execution state is shown by the solid line 413, the time of the process wait state is shown by the dotted line 602, and the synchronous events 611, 612, 613, 614, 61 which are history output during the program execution.
5 is displayed in time series on the process of the history acquisition source. The display position of each child process is displayed in association with the execution start time of the child process. Here, when the user selects the synchronization event 611 and selects the code display 424,
A code display screen 701 showing the module name and line number of the source execution statement of the synchronization event 611 is displayed. FIG. 7 shows a code display screen 701. As a result, it is possible to immediately confirm which source execution statement the selected synchronization event corresponds to. Further, by selecting the event 612 and the synchronization correspondence display 422, the arrow 62
It is possible to display 1 and confirm which process and which event the selected event is synchronized with, and when the synchronization is established from the arrow display position.

【0020】プログラム中で使用した同期変数名を確認
したい場合には、同期変数名表示423が選択されるこ
とで図8に示すような同期変数名表示画面711を表示
するが、ここで変数Y712が選択されると、変数Yを
引数にもつ同期事象を対象とした矢印621を表示し、
全ての変数713が選択されると全ての同期事象を対象
とした矢印621、622、623を表示する。このよ
うな同期制御の流れを表示するためのいくつかの手段を
提供することにより、利用者が意図した同期制御の流れ
のみを表示することができ、同期制御の流れの確認の作
業効率の向上も図れる。
When it is desired to confirm the synchronization variable name used in the program, the synchronization variable name display 423 is selected to display the synchronization variable name display screen 711 as shown in FIG. 8. Here, the variable Y712 is displayed. When is selected, an arrow 621 for a synchronization event having the variable Y as an argument is displayed,
When all the variables 713 are selected, the arrows 621, 622, and 623 for all the synchronization events are displayed. By providing some means for displaying such a flow of synchronization control, it is possible to display only the flow of synchronization control intended by the user, improving the work efficiency of confirming the flow of synchronization control. Can be achieved.

【0021】図9に図2で示したプログラムを並列実行
することで、マルチプロセッサ110が履歴ファイル1
07へ出力する履歴情報の例を示す。履歴情報は履歴事
象ごとのレコード形式で出力を行なう。なお、プロセス
生成処理において生成される子プロセスが、並列ループ
文を実行するならば子プロセス種類901に0、並列セ
クション文を実行するならば1を出力する。そして、プ
ロセス表示ツール108は子プロセスの種類901より
プロセス状態表示部502に、ループ制御変数値を表示
するか、モジュール名と行番号を表示するかを決定す
る。
When the program shown in FIG. 2 is executed in parallel in FIG. 9, the multiprocessor 110 makes the history file 1
An example of the history information output to 07 is shown. The history information is output in the record format for each history event. The child process generated in the process generation process outputs 0 to the child process type 901 when executing a parallel loop statement, and 1 when executing a parallel section statement. Then, the process display tool 108 determines whether to display the loop control variable value or the module name and line number on the process status display unit 502 based on the child process type 901.

【0022】図10はプロセス表示ツール108が内部
的に作成するプロセス表示用データの例を示すものであ
る。プロセス表示用データはプロセスごとに集約され、
発生した事象およびその事象発生の時刻、子プロセスグ
ループの生成/消滅に対応してその子プロセスグループ
番号1101が格納される。また子プロセスグループの
生成に対応して当該子プロセスグループの最初のプロセ
スに関するプロセス表示用データにチェインが張られて
いる。同一プロセスグループ内のプロセスについては、
プロセス番号の順にチェインによって結ばれている。
FIG. 10 shows an example of process display data internally created by the process display tool 108. Data for process display is aggregated for each process,
The child process group number 1101 is stored in correspondence with the occurred event, the time of the occurrence of the event, and the generation / disappearance of the child process group. Further, corresponding to the generation of the child process group, the process display data regarding the first process of the child process group is chained. For processes in the same process group,
They are linked by a chain in the order of process numbers.

【0023】図11にプロセス表示ツール108がコン
ソール109にプロセス表示を行なうまでの処理の流れ
を示す。プロセス表示ツール108は処理1001によ
りプロセス表示用データが作成済みかを完了フラッグに
よってチェックし、未作成ならば処理1002により履
歴ファイル107より履歴レコードの入力を行なう。そ
して、処理1003により履歴レコードのプロセスグル
ープ番号とプロセス番号をキーにして同一プロセスにつ
いての履歴事象データを集めてプロセスデータを作成
し、処理1004により作成したデータの時刻昇順ソー
トを行なって図10に示すプロセス表示用データを作成
する。履歴レコードの入力が終了したら、処理1005
によりプロセス表示用データ作成完了フラッグをオンに
する。その後、処理1006によりプロセス表示用デー
タから表示対象のデータを取得し、処理1007により
実線413や矩形411などの座標位置の計算を行な
う。指定プロセスグループ番号は、親プロセス表示画面
(図4)では0と定義し、矩形411の選択で表示を行
なう子プロセス表示画面(図5)では子プロセスグルー
プ番号1101より1となる。そして、処理1008に
よりコンソール109にプロセス表示を行なう。
FIG. 11 shows a processing flow until the process display tool 108 displays a process on the console 109. The process display tool 108 checks in step 1001 whether the process display data has been created by the completion flag, and if it has not created it, inputs a history record from the history file 107 in step 1002. Then, process 1003 collects historical event data about the same process using the process group number and the process number of the history record as keys to create process data, and the process 1004 sorts the created data in ascending order of time, as shown in FIG. Create the process display data shown below. When the input of the history record is completed, the process 1005
Turns on the process display data creation completion flag. Then, in step 1006, display target data is acquired from the process display data, and in step 1007, coordinate positions such as the solid line 413 and the rectangle 411 are calculated. The designated process group number is defined as 0 on the parent process display screen (FIG. 4), and becomes 1 from the child process group number 1101 on the child process display screen (FIG. 5) displayed by selecting the rectangle 411. Then, a process 1008 displays a process on the console 109.

【0024】[0024]

【発明の効果】本発明による並列実行プロセスの可視化
方法により、個々のプロセスに対して実行開始時と終了
時のモジュール名と行番号を表示するため、個々のプロ
セスが実行するソ−ス実行文部分の確認が容易に行え
る。また、並列処理においてプロセスのネストが大きく
なりプロセスの数が膨大になる場合でも、親プロセスの
状態と子プロセスの状態をそれぞれ独立に表示し、子プ
ロセスを選択することで今度は選択された子プロセスを
親プロセスとして表示していくので、ネストの深さに関
係なく全プロセスの表示が可能となる。
According to the method of visualizing parallel execution processes according to the present invention, the source execution statement executed by each process is displayed because the module name and line number at the start and end of execution are displayed for each process. The part can be easily confirmed. In addition, even if the number of processes becomes large due to the large number of processes in parallel processing, the state of the parent process and the state of the child process are independently displayed, and the child process is selected by selecting the child process. Since processes are displayed as parent processes, all processes can be displayed regardless of the nesting depth.

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

【図1】本発明の並列実行プロセスの可視化方法を提供
するプロセス表示ツール稼動環境の構成図である。
FIG. 1 is a configuration diagram of a process display tool operating environment which provides a visualization method of a parallel execution process of the present invention.

【図2】並列処理向きFORTRANプログラムの一例
を示す図である。
FIG. 2 is a diagram showing an example of a FORTRAN program for parallel processing.

【図3】図2で示した並列処理向きFORTRANプロ
グラムを実行処理することで生成されるプロセスの一部
を表した図である。
FIG. 3 is a diagram showing a part of a process generated by executing processing of the FORTRAN program for parallel processing shown in FIG.

【図4】図1のコンソール109に表示する、本発明の
一実施例を示す並列実行プロセスの可視化表示画面例を
示す図である。
FIG. 4 is a diagram showing an example of a visualization display screen of a parallel execution process, which is displayed on the console 109 of FIG. 1 and shows an embodiment of the present invention.

【図5】図4と同様に、本発明の一実施例を示す並列実
行プロセスの可視化表示画面例を示す図である。
FIG. 5 is a diagram showing an example of a visualization display screen of a parallel execution process showing an embodiment of the present invention, similar to FIG.

【図6】図4と同様に、本発明の一実施例を示す並列実
行プロセスの可視化表示画面例を示す図である。
FIG. 6 is a diagram showing an example of a visualization display screen of a parallel execution process showing an embodiment of the present invention, similar to FIG.

【図7】図1のコンソール109に表示する、コード表
示画面例を示す図である。
7 is a diagram showing an example of a code display screen displayed on the console 109 of FIG.

【図8】図1のコンソール109に表示する、同期変数
名表示画面例を示す図である。
8 is a diagram showing an example of a synchronization variable name display screen displayed on the console 109 of FIG.

【図9】履歴ファイル107に格納されている履歴情報
の例を示す図である。
9 is a diagram showing an example of history information stored in a history file 107. FIG.

【図10】プロセス表示用データの一例を示す図であ
る。
FIG. 10 is a diagram showing an example of process display data.

【図11】プロセス表示までの処理の流れを示すPAD
図である。
FIG. 11 is a PAD showing the flow of processing up to process display.
It is a figure.

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

107 履歴ファイル 108 プロセス表示
ツール 109 コンソール 301 プロセス 302 プロセス 303 プロセス 307 プロセスグループ番号 308 プロセス番号 401 プロセス表示画面 403 プロセス状態
表示部 404 コマンド部 611 同期事象 612 同期事象 613 同期事象
107 history file 108 process display tool 109 console 301 process 302 process 303 process 307 process group number 308 process number 401 process display screen 403 process status display unit 404 command unit 611 synchronization event 612 synchronization event 613 synchronization event

───────────────────────────────────────────────────── フロントページの続き (72)発明者 佐藤 真琴 東京都国分寺市東恋ケ窪一丁目280番地 株式会社日立製作所中央研究所内 (72)発明者 山田 重己 神奈川県横浜市戸塚区戸塚町5030番地 株 式会社日立製作所ソフトウェア開発本部内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Makoto Sato 1-280, Higashi Koikeku, Kokubunji, Tokyo Inside Central Research Laboratory, Hitachi, Ltd. (72) Inventor Shigemi Yamada 5030, Totsuka-cho, Totsuka-ku, Yokohama, Kanagawa Hitachi, Ltd. Software Development Division

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】マルチプロセッサの並列処理の実行状態を
表示する方法において、複数個のプロセスについて各プ
ロセスの生成、消滅、実行開始及び実行終了の時刻を履
歴情報として収集し、前記履歴情報のうち同一のプロセ
スに関する履歴情報を集約するとともに並列実行される
プロセス群について集約し、集約された履歴情報に基づ
いて前記プロセス群をその生成から消滅までの時間に比
例する大きさの1つの図形で表示することを特徴とする
並列実行プロセスの可視化方法。
1. A method for displaying the execution status of parallel processing of a multiprocessor, wherein the time of generation, disappearance, execution start, and execution end of each process is collected as history information for a plurality of processes, and among the history information, The history information on the same process is aggregated and the process groups to be executed in parallel are aggregated, and the process groups are displayed in one figure having a size proportional to the time from the generation to the extinction based on the aggregated history information. A method for visualizing a parallel execution process characterized by:
【請求項2】前記図形に対応して実行されるプログラム
のモジュール名とソースステートメント番号とを表示す
ることを特徴とする請求項1記載の並列実行プロセスの
可視化方法。
2. The method for visualizing a parallel execution process according to claim 1, wherein a module name and a source statement number of a program executed corresponding to the figure are displayed.
【請求項3】前記図形は矩形であることを特徴とする請
求項1記載の並列実行プロセスの可視化方法。
3. The method for visualizing a parallel execution process according to claim 1, wherein the graphic is a rectangle.
【請求項4】前記プロセス群の図形は矩形で表示し、該
プロセス群の親プロセスは該矩形と接続する実線で表示
することを特徴とする請求項1記載の並列実行プロセス
の可視化方法。
4. The method for visualizing a parallel execution process according to claim 1, wherein the graphic of the process group is displayed as a rectangle, and the parent process of the process group is displayed as a solid line connected to the rectangle.
【請求項5】前記図形を指示することにより関連するプ
ロセス群を構成する複数のプロセスの実行状態を各々並
列して表示することを特徴とする請求項1記載の並列実
行プロセスの可視化方法。
5. The method for visualizing a parallel execution process according to claim 1, wherein the execution states of a plurality of processes forming a related process group are displayed in parallel by instructing the figure.
【請求項6】前記プロセスが実行されている時間帯を実
線で表示し、該プロセスが生成する子プロセス群の生成
から消滅までの時間帯をそれぞれ1つの図形で表示する
ことを特徴とする請求項5記載の並列実行プロセスの可
視化方法。
6. The time zone during which the process is executed is displayed by a solid line, and the time zone from the generation of the child process group generated by the process until its disappearance is displayed by one graphic. Item 5. A method for visualizing a parallel execution process according to Item 5.
【請求項7】前記プロセスに対応して該プロセスに割当
てられたループ処理のループ制御変数値を表示すること
を特徴とする請求項5記載の並列実行プロセスの可視化
方法。
7. The method for visualizing a parallel execution process according to claim 5, wherein the loop control variable value of the loop processing assigned to the process corresponding to the process is displayed.
【請求項8】前記プロセスに対応して該プロセスに割当
てられたプログラム中のモジュール名とソースステート
メント番号とを表示することを特徴とする請求項5記載
の並列実行プロセスの可視化方法。
8. The method for visualizing a parallel execution process according to claim 5, wherein the module name and the source statement number in the program assigned to the process corresponding to the process are displayed.
JP4063109A 1992-03-19 1992-03-19 Method for visualizing parallel execution process Pending JPH05265776A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4063109A JPH05265776A (en) 1992-03-19 1992-03-19 Method for visualizing parallel execution process

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4063109A JPH05265776A (en) 1992-03-19 1992-03-19 Method for visualizing parallel execution process

Publications (1)

Publication Number Publication Date
JPH05265776A true JPH05265776A (en) 1993-10-15

Family

ID=13219799

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4063109A Pending JPH05265776A (en) 1992-03-19 1992-03-19 Method for visualizing parallel execution process

Country Status (1)

Country Link
JP (1) JPH05265776A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003167715A (en) * 2001-11-29 2003-06-13 Ricoh Co Ltd Method for displaying communication history among processes, program for making computer execute the same, image formation device, and image formation system
JP2017010219A (en) * 2015-06-19 2017-01-12 富士通株式会社 Control program, control method, and information processor
JPWO2021152852A1 (en) * 2020-01-31 2021-08-05

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003167715A (en) * 2001-11-29 2003-06-13 Ricoh Co Ltd Method for displaying communication history among processes, program for making computer execute the same, image formation device, and image formation system
JP2017010219A (en) * 2015-06-19 2017-01-12 富士通株式会社 Control program, control method, and information processor
JPWO2021152852A1 (en) * 2020-01-31 2021-08-05

Similar Documents

Publication Publication Date Title
US5168554A (en) Converting trace data from processors executing in parallel into graphical form
US7065634B2 (en) Methods and systems for developing data flow programs
JPH07134765A (en) Method of graphic display of data
JPH06259400A (en) Simulation operating method of complicate system
CA2075426A1 (en) Debugging system wherein multiple code views are simultaneously managed
JP2006092570A (en) System and method for configuring program
JPH0443465A (en) Graphic editing device
JPH09258971A (en) Icon programming device
EP0597646B1 (en) Apparatus and method for synthesizing program specifications
JPH05265776A (en) Method for visualizing parallel execution process
Pazel DS-Viewer-interactive graphical data structure presentation facility
EP0213486B1 (en) Method for displaying operation range of logical language
JP2585780B2 (en) DO loop optimization processing method for input / output library
JPH0464128A (en) Screen control command synthesizing method
JP2555745B2 (en) Figure selection processing method
JPS63247824A (en) Expanding method for number of defining blocks of data entry screen
JPH08185536A (en) Graphic generating system for cad system
CN116166234A (en) Method for realizing complex logic arrangement of form-driven low-code system
JPS62216038A (en) Product producing system using blanket management defining matter
JPH0667931A (en) Single chip microcomputer simulator
JPH0973405A (en) Display method for parallel program operation state
JPS5846439A (en) Program editing method of computer
JPH05189224A (en) Management system for processing method
JPH06119228A (en) Event processing system in object directional data base
Read et al. Prototyping Interactive Visual Program Editors