JPH0687223B2 - Processing time monitoring method - Google Patents
Processing time monitoring methodInfo
- Publication number
- JPH0687223B2 JPH0687223B2 JP61058722A JP5872286A JPH0687223B2 JP H0687223 B2 JPH0687223 B2 JP H0687223B2 JP 61058722 A JP61058722 A JP 61058722A JP 5872286 A JP5872286 A JP 5872286A JP H0687223 B2 JPH0687223 B2 JP H0687223B2
- Authority
- JP
- Japan
- Prior art keywords
- processing device
- vector
- scalar
- signal
- processing unit
- 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
Links
Landscapes
- Debugging And Monitoring (AREA)
- Complex Calculations (AREA)
Description
【発明の詳細な説明】 〔概 要〕 スカラ処理装置とベクトル処理装置を結合した処理装置
を有する計算機システムの処理時間監視方式の改良。ス
カラ処理装置のビジー信号、ベクトル処理装置のビジー
信号、両者の論理和である総処理時間を示す信号、及び
両者の論理積である両処理装置のオーバラップ時間を示
す信号を設ける。それらの信号を適当な手段によって計
時することにより、両処理装置の相互関係を考慮した、
的確な処理時間の監視が可能になる。DETAILED DESCRIPTION [Overview] An improvement of a processing time monitoring system of a computer system having a processing device in which a scalar processing device and a vector processing device are combined. There are provided a busy signal of the scalar processing device, a busy signal of the vector processing device, a signal indicating a total processing time which is a logical sum of the two, and a signal indicating an overlap time of both processing devices which is a logical product of the both. By taking account of the mutual relationship between both processing devices by timing those signals by an appropriate means,
It is possible to accurately monitor the processing time.
本発明は、スカラ処理装置とベクトル処理装置を結合し
た処理装置を有する計算機システムの処理時間監視方式
に関する。The present invention relates to a processing time monitoring system for a computer system having a processing device in which a scalar processing device and a vector processing device are combined.
スカラ処理装置とベクトル処理装置を接続し、スカラ処
理装置でプログラムを実行し、該プログラム中のベクト
ル命令をスカラ処理装置から転送して、ベクトル処理装
置で実行するようにしたシステムにおいては、システム
の性能評価等のために、両処理装置の相互関係等の把握
できる、適切な処理時間監視方式が必要になる。In a system in which a scalar processing device and a vector processing device are connected, a program is executed by the scalar processing device, vector instructions in the program are transferred from the scalar processing device, and executed by the vector processing device, For performance evaluation and the like, it is necessary to have an appropriate processing time monitoring method that can grasp the mutual relationship between both processing devices.
第2図は、ベクトル処理装置及びスカラ処理装置を有す
る計算機システムの一構成例を示すブロック図である。FIG. 2 is a block diagram showing a configuration example of a computer system having a vector processing device and a scalar processing device.
ベクトル処理装置1は、主記憶装置2にある配列データ
の所要部分を、ベクトルレジスタ3に読み出し、ベクト
ルレジスタ3上のデータを演算パイプライン4によって
処理し、処理結果のデータはベクトルレジスタ3から主
記憶装置2へ出力される。The vector processing device 1 reads a required portion of the array data in the main storage device 2 into the vector register 3 and processes the data on the vector register 3 by the operation pipeline 4. It is output to the storage device 2.
ベクトル処理装置1で実行される命令は、例えばスカラ
処理装置7で実行されるプログラムから取り出されて、
ベクトル処理装置1の命令制御部5に渡されることによ
り、命令制御部5で実行制御が行われ、演算命令による
所要の制御情報が、ベクトルレジスタ3及び演算パイプ
ライン4へ送られる。The instruction executed by the vector processing device 1 is extracted from the program executed by the scalar processing device 7, for example,
By being passed to the instruction control unit 5 of the vector processing device 1, execution control is performed in the instruction control unit 5, and required control information by the operation instruction is sent to the vector register 3 and the operation pipeline 4.
又、主記憶装置2に対するアクセス命令の場合には、ア
クセス先アドレスに関する情報等がアクセス制御部6へ
送られ、主記憶装置2とベクトルレジスタ3の間のデー
タ転送が実行される。Further, in the case of an access instruction to the main memory device 2, information regarding the access destination address and the like are sent to the access control unit 6, and data transfer between the main memory device 2 and the vector register 3 is executed.
処理時間の監視のためには、第3図に示すように、スカ
ラ処理装置7及びベクトル処理装置1の演算機構を構成
する、公知のいわゆる演算パイプラインの、各ステージ
の使用中を表示するビジーフリップフロップ10、11か
ら、ビジー表示出力を取り出し、それらの論理和を論理
和ゲート回路13で生成して、処理中表示信号12とする。In order to monitor the processing time, as shown in FIG. 3, the busy state of each stage of a known so-called arithmetic pipeline that constitutes the arithmetic mechanism of the scalar processing unit 7 and the vector processing unit 1 is displayed. The busy display outputs are taken out from the flip-flops 10 and 11, and the logical sum of them is generated by the logical sum gate circuit 13 and used as the in-process display signal 12.
処理中表示信号12を、例えば性能解析装置14に入力し
て、所要のプログラムの実行中における、処理中表示信
号12がオン状態の時間を測定して累積することにより、
該プログラムの実行処理のために、スカラ処理装置7又
はベクトル処理装置1が使用されている時間を知ること
ができる。The in-process display signal 12 is input to, for example, the performance analysis device 14, and during execution of a required program, the in-process display signal 12 measures and accumulates the time in the ON state,
It is possible to know the time when the scalar processing device 7 or the vector processing device 1 is used for the execution processing of the program.
第4図に例示するように、例えば実行されるプログラム
の命令が、命令ステップS1、S2、S3、S4のように、スカ
ラ処理装置7の演算パイプラインで順次実行開始され、
その次にフェッチされる命令がベクトル命令V1である
と、この命令はベクトル処理装置1に渡されて、ベクト
ルデータについて比較的長時間の実行が開始される。As illustrated in FIG. 4, for example, the instructions of the program to be executed are sequentially started to be executed in the arithmetic pipeline of the scalar processing unit 7 in the instruction steps S 1 , S 2 , S 3 , and S 4 .
If the instruction fetched next is the vector instruction V 1 , this instruction is passed to the vector processing device 1 and execution of the vector data for a relatively long time is started.
ベクトル処理装置1の実行と並列に、スカラ処理装置7
においては、命令ステップS5、S6、S7が実行開始され、
その次のベクトル命令V2は、ベクトル処理装置1に渡さ
れて、V1とオーバラップして実行される。以下同様に
S8、S9、V3等が実行開始される。In parallel with the execution of the vector processing device 1, the scalar processing device 7
, The instruction steps S 5 , S 6 and S 7 are started to be executed,
The next vector instruction V 2 is passed to the vector processing device 1 and executed by overlapping V 1 . And so on
S 8, S 9, V 3 or the like is started running.
このようなタイミングで、プログラムが実行されている
場合には、前記の処理中表示信号12は、第4図の例にお
いて、線20、21に示す期間を表示することになる。When the program is executed at such timing, the in-process display signal 12 displays the period shown by lines 20 and 21 in the example of FIG.
こゝで、スカラ処理装置7の処理と、ベクトル処理装置
1の処理とが、オーバラップして並列に実行される期間
(例えば第4図の線22、23、24で示す期間)が長くなれ
ばプログラムの総処理時間が短縮されることは明らかで
あり、プログラムの命令の並びを、可能ならばそのよう
に変更することにより処理時間を改善することが望まし
い。Here, the period in which the processing of the scalar processing device 7 and the processing of the vector processing device 1 overlap and are executed in parallel (for example, the period shown by lines 22, 23, 24 in FIG. 4) should be long. Obviously, the total processing time of the program will be shortened, and it is desirable to improve the processing time by changing the order of the program instructions as much as possible.
しかし、前記の方式によって測定される処理時間では、
総処理時間のみが得られ、両処理装置のオーバラップ時
間等は識別できないので、プログラムの改良の効果等を
評価するための的確なデータが得られないという問題が
ある。However, with the processing time measured by the above method,
Since only the total processing time can be obtained and the overlap time and the like of both processing devices cannot be identified, there is a problem in that accurate data for evaluating the effect of program improvement cannot be obtained.
第1図は、本発明の構成を示すブロック図である。 FIG. 1 is a block diagram showing the configuration of the present invention.
図において、10、11はビジーフリップフロップ、30、3
1、32は論理和ゲート回路、33は論理積ゲート回路であ
る。In the figure, 10 and 11 are busy flip-flops and 30, 3
Reference numerals 1 and 32 are OR gate circuits, and 33 is an AND gate circuit.
スカラ処理装置7のビジーフリップフロップ10の出力
は、論理和ゲート回路30において論理和がとられ、スカ
ラ処理装置ビジー信号34を生成し、ベクトル処理装置1
のビジーフリップフロップ11の出力は、論理和ゲート回
路31において論理和がとられ、ベクトル処理装置ビジー
信号35を生成する。The output of the busy flip-flop 10 of the scalar processing unit 7 is logically ORed in the OR gate circuit 30 to generate the scalar processing unit busy signal 34, and the vector processing unit 1
The output of the busy flip-flop 11 is ORed in the OR gate circuit 31 to generate the vector processor busy signal 35.
スカラ処理装置ビジー信号34とベクトル処理装置ビジー
信号35は、論理和ゲート回路32により処理中表示信号12
を生成し、論理積ゲート回路33によってオーバラップ表
示信号36を生成する。The scalar processor busy signal 34 and the vector processor busy signal 35 are processed by the logical sum gate circuit 32 to indicate that the display signal 12 is being processed.
And the AND gate circuit 33 generates the overlap display signal 36.
以上の4信号の状態を、例えば性能解析装置14で計時す
ることにより、プログラムの性能評価等を的確に行うこ
とのできるデータを得ることができる。By measuring the above-described four signal states by, for example, the performance analysis device 14, it is possible to obtain data that allows the performance evaluation of the program to be performed accurately.
第1図において、ビジーフリップフロップ10及び11は、
前記従来の説明と同様に、それぞれスカラ処理装置7及
びベクトル処理装置1の演算パイプラインの、各ステー
ジの使用中を表示する。In FIG. 1, the busy flip-flops 10 and 11 are
Similar to the above-mentioned conventional description, the use of each stage of the arithmetic pipelines of the scalar processing device 7 and the vector processing device 1 is displayed.
スカラ処理装置7のビジーフリップフロップ10の出力
は、論理和ゲート回路30において論理和がとられ、オン
状態によりスカラ処理装置7が命令実行処理中であるこ
とを示す、スカラ処理装置ビジー信号34を生成する。こ
れは第4図の例において、線25、26、27の期間を示す信
号となる。The output of the busy flip-flop 10 of the scalar processing unit 7 is logically ORed by the OR gate circuit 30, and a scalar processing unit busy signal 34 indicating that the scalar processing unit 7 is in the process of executing an instruction is turned on. To generate. This is a signal indicating the period of the lines 25, 26 and 27 in the example of FIG.
ベクトル処理装置1のビジーフリップフロップ11の出力
は、論理和ゲート回路31において論理和がとられ、ベク
トル処理装置1の命令実行処理中を示す、ベクトル処理
装置ビジー信号35を生成する。この信号は第4図の線2
8、29に該当する。The outputs of the busy flip-flops 11 of the vector processing device 1 are logically ORed by the OR gate circuit 31 to generate a vector processing device busy signal 35 indicating that the vector processing device 1 is in the process of executing instructions. This signal is line 2 in Figure 4.
It corresponds to 8 and 29.
スカラ処理装置ビジー信号34とベクトル処理装置ビジー
信号35は、論理和ゲート回路32により処理中表示信号12
(第4図の線20、21)を生成する。この信号は従来と同
様の信号である。The scalar processor busy signal 34 and the vector processor busy signal 35 are processed by the logical sum gate circuit 32 to indicate that the display signal 12 is being processed.
(Lines 20, 21 in FIG. 4) are generated. This signal is the same as the conventional signal.
又、スカラ処理装置ビジー信号34とベクトル処理装置ビ
ジー信号35は、論理積ゲート回路33によってオーバラッ
プ表示信号36を生成する。この信号は、スカラ処理装置
7とベクトル処理装置1の命令実行が並行して処理され
ている期間を示し、第4図の線22〜24に該当する。The scalar processor busy signal 34 and the vector processor busy signal 35 generate an overlap display signal 36 by the AND gate circuit 33. This signal indicates the period during which the instruction executions of the scalar processing unit 7 and the vector processing unit 1 are being processed in parallel, and corresponds to the lines 22 to 24 in FIG.
以上の4信号の状態を、例えば性能解析装置14で計時す
ることにより、プログラムの性能評価等を的確に行うこ
とのできるデータを得ることができる。又、各処理装置
個別のビジー状態が計時できるので課金を処理装置別の
単価で行う等、適切な管理のための資料を得ることも可
能になる。By measuring the above-described four signal states by, for example, the performance analysis device 14, it is possible to obtain data that allows the performance evaluation of the program to be performed accurately. Further, since the busy state of each processing device can be timed, it is possible to obtain materials for proper management such as charging by the unit price of each processing device.
以上の説明から明らかなように、本発明によれば、スカ
ラ処理装置とベクトル処理装置を結合してなる処理装置
を有する計算機システムにおいて、性能解析等のための
処理装置の的確な処理時間データが得られるので、計算
機システムの使用効率の改善が容易になるという著しい
工業的効果がある。As is clear from the above description, according to the present invention, in a computer system having a processing device in which a scalar processing device and a vector processing device are combined, accurate processing time data of the processing device for performance analysis etc. As a result, there is a remarkable industrial effect that it is easy to improve the use efficiency of the computer system.
【図面の簡単な説明】 第1図は本発明の構成を示すブロック図、 第2図は計算機システムの一構成例ブロック図、 第3図は従来の一構成例ブロック図、 第4図は命令実行のタイミング説明図 である。 図において、 1はベクトル処理装置、2は主記憶装置、 3はベクトルレジスタ、4は演算パイプライン、 5は命令制御部、7はスカラ処理装置、 10、11はビジーフリップフロップ、 12は処理中表示信号、 13、30、31、32は論理和ゲート回路、 14は性能解析装置、33は論理積ゲート回路 34はスカラ処理装置ビジー信号、 35はベクトル処理装置ビジー信号、 36はオーバラップ表示信号 を示す。BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing a configuration of the present invention, FIG. 2 is a block diagram showing a configuration example of a computer system, FIG. 3 is a block diagram showing a conventional configuration example, and FIG. It is an explanatory view of timing of execution. In the figure, 1 is a vector processing device, 2 is a main memory device, 3 is a vector register, 4 is a calculation pipeline, 5 is an instruction control unit, 7 is a scalar processing device, 10 and 11 are busy flip-flops, and 12 is processing. Display signal, 13, 30, 31, 32 are logical sum gate circuits, 14 is a performance analyzer, 33 is an AND gate circuit 34 is a scalar processor busy signal, 35 is a vector processor busy signal, and 36 is an overlap display signal. Indicates.
Claims (1)
置から指定するベクトル命令を実行するベクトル処理装
置(1)とを結合してなる処理装置を有する計算機シス
テムにおいて、 スカラ処理装置(7)の命令実行中を表示する第1の信
号手段(34)、 ベクトル処理装置(1)の命令実行中を表示する第2の
信号手段(35)、 第1及び第2の信号手段(34、35)の出力の論理和を出
力する第3の信号手段(12)、 及び、第1及び第2の信号手段(34、35)の出力の論理
積を出力する第4の信号手段(36)を有することを特徴
とする処理時間監視方式。1. A scalar processing unit (7) having a processing unit comprising a scalar processing unit (7) and a vector processing unit (1) for executing a vector instruction designated by the scalar processing unit. ), The first signal means (34) for displaying the instruction execution, the second signal means (35) for displaying the instruction execution of the vector processing device (1), the first and second signal means (34, Third signal means (12) for outputting the logical sum of the outputs of 35), and fourth signal means (36) for outputting the logical product of the outputs of the first and second signal means (34, 35) A processing time monitoring method characterized by having.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61058722A JPH0687223B2 (en) | 1986-03-17 | 1986-03-17 | Processing time monitoring method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61058722A JPH0687223B2 (en) | 1986-03-17 | 1986-03-17 | Processing time monitoring method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS62214450A JPS62214450A (en) | 1987-09-21 |
| JPH0687223B2 true JPH0687223B2 (en) | 1994-11-02 |
Family
ID=13092391
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP61058722A Expired - Fee Related JPH0687223B2 (en) | 1986-03-17 | 1986-03-17 | Processing time monitoring method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0687223B2 (en) |
-
1986
- 1986-03-17 JP JP61058722A patent/JPH0687223B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPS62214450A (en) | 1987-09-21 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5345580A (en) | Microprocessor device and emulator device thereof | |
| JPS5886648A (en) | Tracing device | |
| JPH0687223B2 (en) | Processing time monitoring method | |
| JP2716166B2 (en) | Information processing device | |
| JP2793357B2 (en) | Parallel processing unit | |
| JP3348294B2 (en) | Digital computer system | |
| JPS61213937A (en) | Tracing system for information processing system | |
| JP2507473B2 (en) | Processing equipment | |
| JP2513888B2 (en) | Microprocessor | |
| KR920008212B1 (en) | Two-dimensional fast fourier transform (FFT) processor using a mixed shuffle connection method (MSCM). | |
| JPH03138733A (en) | Controller with operation error display device | |
| JPS60539A (en) | Monitoring system of process progress | |
| JPS61231607A (en) | Simulation system for iron and steel rolling control system | |
| JPH01131934A (en) | Dynamic single clock trace method | |
| KR970002406B1 (en) | A monitoring apparatus for a computer | |
| JP2558902B2 (en) | Semiconductor integrated circuit device | |
| JPH03282641A (en) | Measuring method of executing time of data driving processor | |
| JPH0797309B2 (en) | Data processing device | |
| JPS6111857A (en) | Display device of program module | |
| JPH0588893A (en) | Parallel operation processor | |
| JPS6232509B2 (en) | ||
| JPH03189868A (en) | Data processor | |
| JPH0231248A (en) | Data processor | |
| JPS62145469A (en) | Vector instruction processor | |
| JPS6120131A (en) | Processing unit |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |