JP2690699B2 - Parallel program image display device - Google Patents

Parallel program image display device

Info

Publication number
JP2690699B2
JP2690699B2 JP6226499A JP22649994A JP2690699B2 JP 2690699 B2 JP2690699 B2 JP 2690699B2 JP 6226499 A JP6226499 A JP 6226499A JP 22649994 A JP22649994 A JP 22649994A JP 2690699 B2 JP2690699 B2 JP 2690699B2
Authority
JP
Japan
Prior art keywords
program
data
processing unit
information
task
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 - Fee Related
Application number
JP6226499A
Other languages
Japanese (ja)
Other versions
JPH0895787A (en
Inventor
孝幸 中富
Original Assignee
日本電気ソフトウェア株式会社
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 日本電気ソフトウェア株式会社 filed Critical 日本電気ソフトウェア株式会社
Priority to JP6226499A priority Critical patent/JP2690699B2/en
Publication of JPH0895787A publication Critical patent/JPH0895787A/en
Application granted granted Critical
Publication of JP2690699B2 publication Critical patent/JP2690699B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)
  • Advance Control (AREA)
  • Debugging And Monitoring (AREA)
  • Devices For Executing Special Programs (AREA)

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 support system for an electronic computer system, and more particularly to a parallel support task image display system.

【0002】[0002]

【従来の技術】並列化支援システムにおいては、並列化
促進を支援する手段として、一般的にはプログラムの自
動書換機能や、並列化可否のメッセージおよび並列化不
可の場合の理由を示すメッセージを表示する機能により
実現している。このために、プログラムの自動書換機能
やコンパイラの自動並列化機能で並列化できない部分に
ついては、並列化不可理由をもとに、データの検索機能
を利用し、データの属性および定義・引用箇所の調査を
行うことにより、並列化を行った場合にどのような問題
が発生するかを、利用者自身がデータの定義・引用関係
について、プログラムのタスクイメージを想像しながら
検討しなければならない。
2. Description of the Related Art In a parallelization support system, as a means for supporting the promotion of parallelization, an automatic program rewriting function, a message indicating whether parallelization is possible, and a message indicating the reason for non-parallelization are displayed. It is realized by the function. Therefore, for the parts that cannot be parallelized by the automatic rewriting function of the program or the automatic parallelizing function of the compiler, the data search function is used based on the reason why parallelization is not possible, and By investigating, what kind of problems will occur when parallelization is performed, the user must consider the definition and citation relation of the data by imagining the task image of the program.

【0003】[0003]

【発明が解決しようとする課題】上述した従来の並列処
理支援システムでは、プログラムの自動書換機能やコン
パイラの自動並列化機能で並列化できない部分について
は、並列化不可理由をもとに、データの検索機能を利用
し、データの属性および定義・引用箇所の調査を行うこ
とにより、並列化を行った場合にどのような問題が発生
するかを、利用者自身がデータの定義・引用関係につい
て、プログラムのタスクイメージを想像しながら検討し
なければならない。従って、並列化に関する知識を十分
持っていなければ、自動ではできなかった部分の並列化
を促進することはできないという欠点がある。
In the conventional parallel processing support system described above, the parts that cannot be parallelized by the automatic rewriting function of the program or the automatic parallelizing function of the compiler are stored in the data on the basis of the reason why they cannot be parallelized. By using the search function and investigating the attribute of data and the definition / quotation part, the problem that occurs when parallelization is performed You have to think while thinking about the task image of the program. Therefore, if there is not enough knowledge about parallelization, there is a drawback that it is not possible to promote parallelization of the parts that could not be done automatically.

【0004】本発明の目的は、自動レベルでは並列化で
きない部分のあるプログラムにおいて、並列化したい部
分に指示行等を挿入し、プログラムを並列化した際、そ
の結果が正しいか否かを判断できるように、タスクごと
のプログラムイメージを時系列に表示し、また、データ
領域の依存関係が問題になるか否かを視覚的に認識でき
るように、並列支援タスクイメージ表示方式を提供する
ことにある。
An object of the present invention is to insert a directive line or the like into a portion to be parallelized in a program having a portion that cannot be parallelized at an automatic level and to judge whether or not the result is correct when the program is parallelized. As described above, a parallel support task image display method is provided so that a program image for each task can be displayed in time series and whether the dependency of the data area is a problem can be visually recognized. .

【0005】[0005]

【課題を解決するための手段】本発明は、画面上でプロ
グラムの状態を視覚的に認識することができる並列処理
支援システムの並列支援タスクイメージ表示方式におい
て、画面上での利用者からの指示の解析や画面上への情
報の出力を行う画面アクセス処理部と、原始プログラム
を読み込みデータ構造を解析しデータ依存情報を出力す
るプログラム構造解析処理部と、前記原始プログラムを
読み込み並列化情報を解析し、画面上に出力する第1の
出力イメージプログラムを生成するタスクイメージ作成
処理部と、前記データ依存情報および前記第1の出力イ
メージプログラムを入力とし、前記データ依存情報を前
記第1の出力イメージプログラムに付加し、第2の出力
イメージプログラムを生成する画面イメージ生成処理部
とを有し、前記画面アクセス処理部は、画面上で操作さ
れた利用者からの指示を入力し、動作すべき処理および
考慮すべき指示を伝達する事象解析手段と、解析結果を
表示するための画面出力手段とを有し、前記プログラム
構造解析処理部は、前記原始プログラム中に用いられて
いるデータの定義・引用状況を解析するデータ構造解析
手段と、前記データ構造解析手段をもとに並列処理に影
響するデータの依存関係を検出し、前記データ依存情報
を出力するデータ依存情報検出手段とを有し、前記タス
クイメージ作成処理部は、前記原始プログラムおよび利
用者よりの指示より、並列処理のために必要となる情報
を解析し、並列処理時の前記原始プログラムの動作を規
定する並列化情報解析手段と、前記並列化情報解析手段
の情報をもとに、並列処理時のプログラムイメージをタ
スクごとに生成するプログラムイメージ構成手段とを有
し、前記画面イメージ生成処理部は、前記プログラムイ
メージに、タスク間のデータの依存関係情報を付加し、
出力画面イメージのプログラム情報を生成するデータ依
存情報付加手段を有し、並列化したいプログラムに指示
行の挿入または並列化部分の範囲指定を行い、プログラ
ムを並列化した際、その結果が正しいか否かを判断でき
るように、タスクごとのプログラムイメージを時系列に
表示し、データ領域の依存関係が問題になるか否かを視
覚的に認識できるようにしたことを特徴とするものであ
る。
According to the present invention, in a parallel support task image display method of a parallel processing support system capable of visually recognizing a state of a program on a screen, an instruction from a user on the screen is given. Screen access processing unit that analyzes the data and outputs information on the screen, a program structure analysis processing unit that reads the source program and analyzes the data structure and outputs the data dependency information, and reads the source program and analyzes the parallelization information. Then, a task image creation processing unit for generating a first output image program to be output on the screen, the data dependency information and the first output image program as inputs, and the data dependency information as the first output image. A screen image generation processing unit which is added to the program and generates a second output image program. The access processing unit has event analysis means for inputting an instruction from the user operated on the screen, transmitting processing to be operated and an instruction to be considered, and screen output means for displaying the analysis result. However, the program structure analysis processing unit analyzes the definition / citation status of the data used in the source program, and the data structure analysis unit for analyzing the data affecting parallel processing based on the data structure analysis unit. And a data dependency information detection unit for detecting the dependency relation and outputting the data dependency information, and the task image creation processing unit is required for parallel processing from the source program and an instruction from the user. Based on the information of the parallelized information analysis means for analyzing the information and prescribing the operation of the source program during parallel processing, and the information of the parallelized information analysis means, And a program image configuration unit for generating a ram image for each task, the screen image generation processing unit, said program image and adding dependency information data between tasks,
Whether or not the result is correct when the program is parallelized by having the data dependence information addition means for generating the program information of the output screen image, inserting the instruction line or specifying the range of the parallelization part in the program to be parallelized In order to be able to judge whether or not it is, the program image for each task is displayed in time series, and it is possible to visually recognize whether or not the dependency relationship of the data area becomes a problem.

【0006】[0006]

【実施例】次に、本発明の実施例について図面を参照し
て説明する。
Next, embodiments of the present invention will be described with reference to the drawings.

【0007】図1は本発明の一実施例の並列支援タスク
イメージ表示方式が適用された並列処理支援システム1
を示す機能構成図である。
FIG. 1 shows a parallel processing support system 1 to which a parallel support task image display system according to an embodiment of the present invention is applied.
It is a functional block diagram which shows.

【0008】並列処理支援システム1は、画面上でプロ
グラムの状態を視覚的に認識することができるシステム
上に存在できるものであり、操作画面210上での利用
者からの指示の解析や出力画面220上への情報の出力
を行う画面アクセス処理部110と、原始プログラム2
30を読み込みデータ構造を解析しデータ依存情報24
0を出力するプログラム構造解析処理部120と、原始
プログラム230を読み込み並列化情報を解析し、画面
上に出力する出力イメージプログラム250を生成する
タスクイメージ作成処理部130と、データ依存情報2
40および出力イメージプログラム250を入力とし、
データの依存関係の情報を出力イメージプログラム25
0に付加し、出力イメージプログラム260を生成する
画面イメージ生成処理部140とを含んで構成されてい
る。
The parallel processing support system 1 can exist on a system which can visually recognize the state of the program on the screen, and analyzes or outputs an instruction from the user on the operation screen 210. Screen access processing unit 110 for outputting information to 220, and source program 2
30 to read the data structure and analyze the data dependence information 24
The program structure analysis processing unit 120 that outputs 0, the task image creation processing unit 130 that reads the source program 230, analyzes the parallelization information, and generates the output image program 250 that is output on the screen, and the data dependency information 2
40 and the output image program 250 as input,
Outputs data dependency information image program 25
It is configured to include a screen image generation processing unit 140 that adds 0 to the output image program 260.

【0009】画面アクセス処理部110は、操作画面2
10上で操作された利用者からの指示を入力し、動作す
べき処理および考慮すべき指示を後続のプログラム構造
解析処理部120へ伝達する事象解析手段111と、解
析結果を表示するための画面出力手段112とを含んで
構成されている。
The screen access processor 110 operates the operation screen 2
10, an event analysis means 111 for inputting an instruction from a user operated on the device 10 and transmitting a process to be operated and an instruction to be considered to a subsequent program structure analysis processing unit 120, and a screen for displaying an analysis result. The output means 112 is included.

【0010】プログラム構造解析処理部120は、プロ
グラム中に用いられているデータの定義・引用状況を解
析するデータ構造解析手段121と、データ構造解析手
段121をもとに並列処理に影響するデータの依存関係
を検出し、データ依存情報240を出力するデータ依存
情報検出手段122とを含んで構成されている。
The program structure analysis processing unit 120 includes a data structure analysis means 121 for analyzing the definition / citation status of the data used in the program, and a data structure analysis means 121 for analyzing the data which affects the parallel processing. The data dependence information detecting means 122 for detecting the dependence relationship and outputting the data dependence information 240 is included.

【0011】タスクイメージ作成処理部130は、原始
プログラム230および利用者よりの指示より、並列処
理のために必要となる情報を解析し、並列処理時のプロ
グラムの動作を規定する並列化情報解析手段131と、
並列化情報解析手段131の情報をもとに、並列処理時
のプログラムイメージをタスクごとに生成するプログラ
ムイメージ構成手段132とを含んで構成されている。
The task image creation processing unit 130 analyzes the information required for parallel processing based on the source program 230 and instructions from the user, and defines a parallelized information analysis unit that defines the operation of the program during parallel processing. 131,
Based on the information of the parallelization information analysis unit 131, it is configured to include a program image configuration unit 132 that generates a program image at the time of parallel processing for each task.

【0012】画面イメージ生成処理部140は、タスク
ごとに生成された並列処理時のプログラムイメージであ
る出力イメージプログラム250に、タスク間のデータ
の依存関係情報を付加し、出力画面イメージのプログラ
ム情報である出力イメージプログラム260を生成する
データ依存情報付加手段141を含んで構成されてい
る。
The screen image generation processing unit 140 adds data dependency information between tasks to the output image program 250, which is a program image at the time of parallel processing generated for each task. It is configured to include a data dependence information adding unit 141 that generates a certain output image program 260.

【0013】図2は事象解析手段111において認識さ
れた事象情報を表現するのに用いる事象情報テーブル2
および事象情報詳細テーブル3の論理的構成を示したも
のであり、事象情報テーブル2は事象種別21と、同一
事象情報へのポインタ22とから構成され、事象情報詳
細テーブル3は次の同一事象詳細情報へのポインタ31
と、事象指示開始行情報32と、事象指示終了行情報3
3とから構成されている。
FIG. 2 is an event information table 2 used to represent the event information recognized by the event analysis means 111.
And a logical structure of the event information detail table 3, the event information table 2 is composed of an event type 21 and a pointer 22 to the same event information, and the event information detail table 3 is the next same event details. Pointer to information 31
And the event instruction start line information 32 and the event instruction end line information 3
And 3.

【0014】図3はプログラム構造解析処理部120に
おいて並列処理に関するデータ依存情報を表現するのに
用いるデータ依存情報240のデータ依存情報のファイ
ル形式4を示したものであり、ファイル形式4は、デー
タ名41と、データ属性42と、定義ありフラグ43
と、定義参照箇所の個数44と、定義参照箇所45とか
ら構成されている。
FIG. 3 shows a file format 4 of the data dependency information of the data dependency information 240 used for expressing the data dependency information on the parallel processing in the program structure analysis processing unit 120. The file format 4 is the data. Name 41, data attribute 42, definition flag 43
And a definition reference number 45 and a definition reference point 45.

【0015】次に、図8の操作画面210に示される例
につき、図1の実施例の各手段による動作を説明する。
Next, with respect to the example shown in the operation screen 210 of FIG. 8, the operation of each means of the embodiment of FIG. 1 will be described.

【0016】まず、操作画面210に表示されたプログ
ラムに対して、操作画面210上の並列処理部分の範囲
指定により、並列化処理の指示が指定されると、画面ア
クセス処理部110は操作画面210上の事象を取り込
み、事象解析テーブル2および事象解析詳細テーブル3
を生成する。図8の操作画面210上のプログラムに対
しては、図4に示すような構成になる。
First, when an instruction for parallel processing is specified for the program displayed on the operation screen 210 by specifying the range of the parallel processing portion on the operation screen 210, the screen access processing unit 110 causes the operation screen 210 to operate. The above event is taken in and the event analysis table 2 and the event analysis detail table 3
Generate The program on the operation screen 210 in FIG. 8 has a configuration as shown in FIG.

【0017】次に、図4に示す事象情報テーブル2の事
象種別21の内容より、並列化指示に対する処理とし
て、プログラム構造解析処理部120と、タスクイメー
ジ作成処理部130と、画面生成処理部140とが、順
に呼び出され、次のような処理を行う。
Next, based on the contents of the event type 21 of the event information table 2 shown in FIG. 4, as a process for the parallelization instruction, the program structure analysis processing unit 120, the task image creation processing unit 130, and the screen generation processing unit 140. And are called in sequence and perform the following processing.

【0018】第1に、プログラム構造解析処理部120
のデータ構造解析手段121において、プログラム単位
中で利用されている変数および配列がプログラム単位内
でローカルなデータかグローバルなデータかを検出す
る。また、引用のみか定義があるかも検出する。
First, the program structure analysis processing unit 120.
The data structure analysis means 121 detects the variable and array used in the program unit as local data or global data in the program unit. It also detects whether there is only a citation or a definition.

【0019】第2に、プログラム構造解析処理部120
のデータ依存情報検出手段122において、データ構造
解析手段121で検出された情報をもとに、データ依存
情報240を生成する。データ属性42は、共通ブロッ
クの要素および仮引数の場合グローバルとなり、ローカ
ルデータの場合ローカルとなる。また、配列の添字に利
用されている場合インデックスとなる。定義ありフラグ
43はデータの定義がある場合onとなり、参照だけの
場合offとなる。定義参照箇所の個数44はデータ名
のあらわれた場所の個数が設定される。定義参照箇所
は、データ名のあらわれた場所の行数が設定される。し
たがって、図1の操作画面210に示された例の場合、
図5に示す情報が生成される。データ名Lは仮引数であ
るためデータ属性がグローバルとして認識され、プログ
ラム中では参照のみであるため、定義ありフラグはof
fとなり、1行目、9行目および10行目で参照されて
いるので定義参照箇所は1、9、10となる。この結
果、データLに対するデータ依存情報は図5の第1レコ
ードに示す情報が生成される。以下、データ名M,N,
B,C,D,A,J,Iのすべてについて第2レコード
から第9レコードに示す情報が生成される。データ属性
が異なるのは、L,M,Nは仮引数のためグローバル、
B,C,Dは共通ブロックのためグローバル、Aはロー
カルデータのためローカル、J,Iは配列の添字に利用
されているため、インデックスとなっている。定義あり
フラグはD,A,J,Iは定義されているためonにな
り、L,M,N,B,Cは参照のみであるためoffに
なっている。
Second, the program structure analysis processing unit 120.
In the data dependence information detecting means 122, the data dependence information 240 is generated based on the information detected by the data structure analyzing means 121. The data attribute 42 is global for elements of the common block and dummy arguments, and local for local data. If it is used as a subscript of an array, it will be an index. The definition flag 43 is turned on when data is defined, and turned off when only reference is made. The number of definition reference points 44 is set to the number of locations where the data name appears. As the definition reference location, the number of lines at the location where the data name appears is set. Therefore, in the case of the example shown in the operation screen 210 of FIG.
The information shown in FIG. 5 is generated. Since the data name L is a dummy argument, the data attribute is recognized as global, and since it is only referenced in the program, the definition flag is of
Since it is f and is referenced in the 1st, 9th and 10th lines, the definition reference locations are 1, 9 and 10. As a result, the information shown in the first record of FIG. 5 is generated as the data dependence information for the data L. Hereafter, the data names M, N,
The information shown in the second to ninth records is generated for all of B, C, D, A, J, and I. The data attributes are different because L, M and N are global because they are dummy arguments.
B, C, and D are global because they are common blocks, A is local because they are local data, and J and I are indexes because they are used as array subscripts. The definition flag is on because D, A, J, and I are defined, and is off because L, M, N, B, and C are for reference only.

【0020】第3に、タスクイメージ作成処理部130
の並列化情報解析手段131において、解析情報詳細テ
ーブル3の情報をもとに、並列化するための動作パター
ンを規定する。
Third, the task image creation processing unit 130
In the parallelization information analysis unit 131, the operation pattern for parallelization is defined based on the information in the analysis information detail table 3.

【0021】第4に、タスクイメージ作成処理部130
のプログラムイメージ構成手段132において、並列化
情報解析手段131で規定された動作パターンをもと
に、出力イメージプログラム250を生成する。図8の
操作画面210に示された例の場合、図6に示す情報が
生成される。並列化情報解析手段131で規定された動
作パターンにより、並列処理の開始箇所である先頭のD
Oループの前である(1)の箇所に* Task sta
rtが挿入される。また、同期をとる必要のあるDOル
ープの直後(2),(3)の箇所に* Syncが挿入され
る。また、並列実行されるループのインデックスである
ため、データ名Jは*jに置換される。同時にインデッ
クスの増分値は不定になるため、*で置換される。これ
らの変形を行ったことにより、図6に示すイメージプロ
グラムが生成される。
Fourth, the task image creation processing unit 130
In the program image construction unit 132, the output image program 250 is generated based on the operation pattern defined by the parallelization information analysis unit 131. In the case of the example shown on the operation screen 210 of FIG. 8, the information shown in FIG. 6 is generated. According to the operation pattern defined by the parallelization information analysis unit 131, the first D which is the starting point of the parallel processing
At the location (1) in front of the O loop, * Task sta
rt is inserted. Also, * Sync is inserted at the positions (2) and (3) immediately after the DO loop that needs to be synchronized. Further, since it is the index of the loop executed in parallel, the data name J is replaced with * j. At the same time, the increment value of the index becomes indefinite, so it is replaced with *. By making these modifications, the image program shown in FIG. 6 is generated.

【0022】第5に、画面生成処理部140のデータ依
存情報付加手段141において、データ依存情報240
をもとに、出力イメージプログラム250に、次のよう
な修正を行い、出力イメージプログラム260を生成す
る。ローカルデータの場合、主タスク側とスレーブタス
ク側で異なる名前をつけ、名前が強調されるようにす
る。
Fifth, in the data dependence information adding means 141 of the screen generation processing unit 140, the data dependence information 240
Based on the above, the output image program 250 is modified as follows to generate the output image program 260. For local data, give different names to the main task side and slave task side so that the names are emphasized.

【0023】図8の操作画面210に示された例の場
合、図7に示す情報が生成される。図6の出力イメージ
プログラム250を主タスク側とスレーブタスク側の両
方生成するため、同一の出力イメージを複写する。1回
目を主タスク側とし、先頭行に* Master Ta
skを挿入、2回目をスレーブタスク側とし、2回目の
先頭行に* Slave Taskを挿入する。次にロ
ーカルデータである配列Aは主タスク側とスレーブタス
ク側で異なる名前(主タスク側:Am、スレーブタスク
側:As)になるように、定義引用箇所すべてを置換
し、置換されたことを示すため強調しておく。その結果
図7に示すイメージプログラムが生成される。次に、画
面アクセス処理部110の画面出力手段112に処理が
もどり、出力イメージプログラム260の内容をもと
に、出力画面220を生成し表示を行う。図1の操作画
面210に示された例の場合、図1の出力画面220に
示す画面が表示される。図7の出力イメージプログラム
260を* Main Task直後の文より* Sl
ave Task直前の文までを主タスク側に表示す
る。また、* Slave Task直後より最後の文
までをスレーブタスク側に表示する。また、中央の表示
部分には、ローカルデータのため、データ名を置換され
た行のうち、宣言を行っている行に対して≠を表示、*
Task Startの行には→を表示、* Syn
cの行には←→を表示し、主タスクとスレーブタスクで
の領域の扱いの違いおよびタスクの起動、同期制御の位
置関係を明示する。この結果図9に示す出力画面220
が表示される。
In the case of the example shown on the operation screen 210 of FIG. 8, the information shown in FIG. 7 is generated. Since the output image program 250 of FIG. 6 is generated on both the main task side and the slave task side, the same output image is copied. The first time is on the main task side, and * Master Ta is on the first line.
Insert sk, make slave task side the second time, and insert * Slave Task in the first line of the second time. Next, the array A which is the local data is replaced by all the definition citations so that the main task side and the slave task side have different names (main task side: Am, slave task side: As) and Emphasize to show. As a result, the image program shown in FIG. 7 is generated. Next, the processing returns to the screen output means 112 of the screen access processing unit 110, and the output screen 220 is generated and displayed based on the contents of the output image program 260. In the case of the example shown in the operation screen 210 of FIG. 1, the screen shown in the output screen 220 of FIG. 1 is displayed. The output image program 260 of FIG. 7 is * Sl from the sentence immediately after * Main Task.
Displays up to the sentence immediately before the ave Task on the main task side. Also, from immediately after * Slave Task to the last sentence are displayed on the slave task side. In the central display part, because of the local data, ≠ is displayed for the line in which the declaration is made among the lines whose data names have been replaced, *
→ is displayed in the line of Task Start, * Syn
← → is displayed in the line of c, and the difference in the area handling between the main task and the slave task and the positional relationship of task activation and synchronous control are clearly indicated. As a result, the output screen 220 shown in FIG.
Is displayed.

【0024】[0024]

【発明の効果】以上説明したように、本発明の並列支援
タスクイメージ表示方式にあっては、タスクごとのプロ
グラムイメージを時系列に表示し、また、データ領域の
依存関係が問題になるか否かを視覚的に認識できるよう
に、主タスクとスレーブタスクのプログラムイメージを
対示し、その間の同期関係およびデータの依存関係の有
無を明示することにより、並列化を行った場合の実行が
並列化を行わなかった場合の実行と同一関係にあるか
を、視覚的にとらえることができる。この結果、並列化
を行った場合の実行が並列化を行わなかった場合の実行
と同一関係にない場合、プログラムの変形方法を容易に
見つけ出すことができるという効果が奏される。
As described above, according to the parallel support task image display method of the present invention, the program image for each task is displayed in time series, and whether the data area dependency is a problem or not. By visually showing the program images of the main task and the slave task so that they can be visually recognized, and by clearly showing the synchronization relationship and the data dependency relationship between them, the execution when parallelization is performed is parallelized. It is possible to visually grasp whether or not there is the same relationship as the execution when the above is not performed. As a result, if the execution with parallelization is not in the same relationship as the execution without parallelization, it is possible to easily find a method for modifying the program.

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

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

【図2】図1中の事象解析手段において認識された事象
情報を表現するのに用いる事象情報テーブルおよび事象
情報詳細テーブルの論理的構成図である。
FIG. 2 is a logical configuration diagram of an event information table and an event information detail table used for expressing the event information recognized by the event analysis means in FIG.

【図3】図1の実施例において並列処理に関するデータ
依存情報を表現するのに用いるデータ依存情報の論理構
成図である。
FIG. 3 is a logical configuration diagram of data dependency information used for expressing data dependency information regarding parallel processing in the embodiment of FIG.

【図4】図8中の操作画面上のプログラムに対して生成
される事象情報テーブルおよび事象詳細情報テーブルの
例を示す図である。
FIG. 4 is a diagram showing an example of an event information table and an event detailed information table generated for a program on the operation screen in FIG.

【図5】図8中の操作画面上のプログラムに対して生成
されるデータ依存情報の例を示す図である。
5 is a diagram showing an example of data dependency information generated for a program on the operation screen in FIG.

【図6】図8中の操作画面上のプログラムに対して出力
される第1の出力イメージプログラムの例を示す図であ
る。
FIG. 6 is a diagram showing an example of a first output image program output to the program on the operation screen in FIG.

【図7】図8中の操作画面上のプログラムに対して出力
される第2の出力イメージプログラムの例を示す図であ
る。
7 is a diagram showing an example of a second output image program output to the program on the operation screen in FIG.

【図8】図1中の操作画面の表示例を示す図である。FIG. 8 is a diagram showing a display example of an operation screen in FIG.

【図9】図8の操作画面上のプログラムに対して出力さ
れる出力画面の表示例を示す図である。
9 is a diagram showing a display example of an output screen output to the program on the operation screen of FIG.

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

1 並列処理支援システム 2 事象情報テーブル 21 事象種別 22 同一事象情報へのポインタ 3 事象情報詳細テーブル 31 次の同一事象情報へのポインタ 32 事象指示開始行情報 33 事象指示終了行情報 4 データ依存情報のファイル形式 41 データ名 42 データ属性 43 定義ありフラグ 44 定義参照箇所の個数 45 定義参照箇所 110 画面アクセス処理部 111 事象解析手段 112 画面出力手段 120 プログラム構造解析処理部 121 データ構造解析手段 122 データ依存情報検出手段 130 タスクイメージ作成処理部 131 並列化情報解析手段 132 プログラムイメージ構成手段 140 画面生成処理部 141 データ依存情報付加手段 210 操作画面 220 出力画面 230 原始プログラム 240 データ依存情報 250 出力イメージプログラム 260 出力イメージプログラム 1 Parallel processing support system 2 Event information table 21 Event type 22 Pointer to the same event information 3 Event information detail table 31 Pointer to the next same event information 32 Event instruction start line information 33 Event instruction end line information 4 Data dependency information File format 41 Data name 42 Data attribute 43 Definition flag 44 Number of definition reference points 45 Definition reference point 110 Screen access processing section 111 Event analysis section 112 Screen output section 120 Program structure analysis processing section 121 Data structure analysis section 122 Data dependency information Detection unit 130 Task image creation processing unit 131 Parallelization information analysis unit 132 Program image configuration unit 140 Screen generation processing unit 141 Data dependency information addition unit 210 Operation screen 220 Output screen 230 Source program 240 Data dependent Information 250 output image program 260 output image program

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 原始プログラム内に定義および参照され
ているデータの依存関係を抽出するプログラム構造解析
処理部と、 前記原始プログラム中の、複数のタスクに並列に実行さ
せたい部分を特定するタスクイメージ作成処理部と、 前記タスクイメージ作成処理部が特定した部分をタスク
数個分表示装置に表示する画面生成処理部とを備え、 前記画面生成処理部は、前記プログラム構造解析処理部
が抽出したデータの依存関係を参照して、表示した各部
分において記述されているローカルデータ名を各部分間
で一意にし、各部分間の同期関係を付して表示装置に表
示することを特徴とする並列プログラムイメージ表示装
置。
1. Defined and referenced in a source program
Structure Analysis for Extracting Data Dependencies
It is executed in parallel by the processing unit and multiple tasks in the source program.
The task image creation processing unit that specifies the part that you want to add, and the part that the task image creation processing unit specifies
A screen generation processing unit for displaying a plurality of screens on the display device, wherein the screen generation processing unit is the program structure analysis processing unit.
Each part displayed by referring to the dependencies of the data extracted by
Minutes for local data names described in minutes
And display it on the display device with the synchronization relationship between each part added.
Parallel program image display device characterized by showing
Place.
【請求項2】 前記画面生成処理部が、さらに、前記原2. The screen generation processing unit is further configured to
始プログラム中の並列に実行したい部分の開始点およびThe starting point of the part of the start program that you want to execute in parallel and
並列に実行したい区間に識別子を表示することを特徴とIt is characterized by displaying the identifier in the section you want to execute in parallel
する請求項1記載の並列プログラムイメージ表示装置。The parallel program image display device according to claim 1.
JP6226499A 1994-09-21 1994-09-21 Parallel program image display device Expired - Fee Related JP2690699B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6226499A JP2690699B2 (en) 1994-09-21 1994-09-21 Parallel program image display device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6226499A JP2690699B2 (en) 1994-09-21 1994-09-21 Parallel program image display device

Publications (2)

Publication Number Publication Date
JPH0895787A JPH0895787A (en) 1996-04-12
JP2690699B2 true JP2690699B2 (en) 1997-12-10

Family

ID=16846074

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6226499A Expired - Fee Related JP2690699B2 (en) 1994-09-21 1994-09-21 Parallel program image display device

Country Status (1)

Country Link
JP (1) JP2690699B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4563551B2 (en) * 2000-05-24 2010-10-13 三菱電機株式会社 Program editing apparatus and program editing method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3094475B2 (en) * 1990-02-26 2000-10-03 株式会社日立製作所 Program verification method
JPH0695862A (en) * 1992-09-14 1994-04-08 Hitachi Ltd Instruction string optimization supporting device
JPH06161773A (en) * 1992-11-20 1994-06-10 Sanyo Electric Co Ltd Generating device for parallel processing program
JPH07261992A (en) * 1994-03-22 1995-10-13 Matsushita Electric Ind Co Ltd Program converting and editing method and program converting and editing device

Also Published As

Publication number Publication date
JPH0895787A (en) 1996-04-12

Similar Documents

Publication Publication Date Title
US20010011370A1 (en) Interactive software testing system and method
JPH1063550A (en) Executing performance analytic display method and medium stored with program executing the method
JPH04178833A (en) Method for supporting software reuse
CN111241447A (en) Webpage data acquisition method, system and storage medium
JP5426938B2 (en) Information processing apparatus and information processing method
US8701086B2 (en) Simplifying analysis of software code used in software systems
JP2690699B2 (en) Parallel program image display device
US10884711B2 (en) Code management system and code management method using a visual programming tool
JP2007011507A (en) Display method of program tree and program generation system
JP2003067186A (en) Automatic generation method for data flow
JP2011164783A (en) Device, method and program for verifying operation
US20230129280A1 (en) Computer readable storage medium, program creation support apparatus, and program creation support method
JP2007226685A (en) Application maintenance support device, application generation device, application maintenance support method and computer program
JP2000047861A (en) Influence range detecting device and influence range detecting method
JP2007094453A (en) Program development support system, program development support method and program
JPH11338686A (en) Program development support device, its method and medium for recording program development support program
JP2003050722A (en) System and method for analyzing program
JP2009015734A (en) Program profiling device, program profiling method and program
JP2798015B2 (en) Program error analysis support system
JPH06161773A (en) Generating device for parallel processing program
CN114281317A (en) Code visualization method and system, electronic device and storage medium
JPH05307472A (en) Program parts information reusing device
JP2008269273A (en) Software development support system, development support method and program
JPH10333857A (en) Information editing device
JP2990701B2 (en) File editing method

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19970225

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19970722

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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: 20070829

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20080829

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees