JPS60238948A - Device for measuring processing time of computer system - Google Patents
Device for measuring processing time of computer systemInfo
- Publication number
- JPS60238948A JPS60238948A JP59093867A JP9386784A JPS60238948A JP S60238948 A JPS60238948 A JP S60238948A JP 59093867 A JP59093867 A JP 59093867A JP 9386784 A JP9386784 A JP 9386784A JP S60238948 A JPS60238948 A JP S60238948A
- Authority
- JP
- Japan
- Prior art keywords
- task
- address
- routine
- computer system
- indicator
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Abstract
Description
【発明の詳細な説明】
〔発明の技術分野〕
この発明は、計算機システムの処理性能を評価する装置
に関するものである。DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to an apparatus for evaluating the processing performance of a computer system.
従来、処理性能を評価する装置には、第1図に示すよう
な処理フローをもつイベントトレース(ETRACE)
があった(イベントトレース(ETRACE)説明書(
RM−J4066−A103)、三菱電機コンピュータ
システム製作新刊、P1〜P3参照)。Conventionally, equipment for evaluating processing performance uses event tracing (ETRACE), which has a processing flow as shown in Figure 1.
There was (event trace (ETRACE) manual (
RM-J4066-A103), Mitsubishi Electric Computer System Production New Issue, P1 to P3).
1はイベントトレース、2はこのイベントトレース1よ
りロードされるイベントデータ収集用のルーチン、3は
ルーチン2をコールするオペレーティングシステム、4
はルーチン2でピックアップされたイベントをストアす
るイベントデータ収集用のテーブル、5はテーブル4の
内容を印字出力するイベントデータ印字用のタスクであ
る。1 is an event trace, 2 is a routine for collecting event data loaded from this event trace 1, 3 is an operating system that calls routine 2, 4
5 is an event data collection table that stores the events picked up in routine 2, and 5 is an event data printing task that prints out the contents of table 4.
オペレータからの要求でイベントトレース1が起動され
ると、イベントトレース1ではイベントデータ収集用の
ルーチン2を主メモリ(図示なし)上ニO−)”〜する
。ルーチン2はスーパバイザコール命令の割込み、入出
力装置の割込み、タスクの生成、タスクの終了、タスク
スイッチング、プログラムのローディング又はタスクの
ロールアウトというイベントが発生した時に、オペレー
ティングシステム3よりコールされ、その時の時刻(m
5eo )、イベント種別、タスク番号(No、)、タ
スクコントロールブロック番号(No、 )をテーブル
4にセーブする。タスクコントロールブロックとは、タ
スクを起動管理するための各種情報が入っているもので
ある。When event trace 1 is activated by a request from an operator, event trace 1 executes routine 2 for collecting event data in the main memory (not shown). Called by the operating system 3 when an event such as an input/output device interrupt, task creation, task termination, task switching, program loading, or task rollout occurs, and the current time (m
5eo), event type, task number (No, ), and task control block number (No, ) are saved in table 4. The task control block contains various information for starting and managing tasks.
オペレータからの要求でイベントデータ印字用のタスク
5が起動され、テーブル4からイベント発生時刻、イベ
ント種別、タスクNo、及びタスクコントロールブロッ
クNo、という処理性能データを取出し、印字出力する
。A task 5 for printing event data is activated in response to a request from the operator, and processing performance data such as event occurrence time, event type, task number, and task control block number is retrieved from table 4 and printed out.
従来のイベントトレースは5以上のように構成されてい
るので、システムのオンラインプログラムの動的過程が
すべて把握できるが、トレースデータの収容量が決まっ
ているため、不必要なプログラムのトレースが混在する
と、トレースする時間が短くなり、また解析するのにも
手間がかかるという欠点があった。Conventional event traces are structured as 5 or more, so it is possible to grasp all the dynamic processes of the system's online programs, but since the amount of trace data that can be accommodated is fixed, unnecessary program traces may be mixed in. However, the disadvantages are that the tracing time is short and the analysis is time consuming.
この発明は、上記のような従来のものの欠点を除去する
ためになされたもので、アドレスサーチ機構を用いて複
数プログラムの処理時間を一度に測定できる処理時間測
定装置を提供することを目的としている。This invention was made to eliminate the drawbacks of the conventional ones as described above, and aims to provide a processing time measuring device that can measure the processing time of multiple programs at once using an address search mechanism. .
以下、この発明の一実施例を図について説明する。第2
図において、11.+2はアドレスサーチで用いられる
制御レジスタ、18はタスクの起動管理にて用いられて
いるタスクコントロールブロックNo、がセットされて
いるインディケータ、14は割込みルーチン、15は複
数のプログラムの実行時間を測定する実行時間データ収
集用のルーチン、16はルーチン15にて用いる測定対
象のタスクNo、を登録したテーブル、17はルーチン
15にて用いる実行時間データをセーブするテーブル、
18はテーブル17から測定対象のタスクの実行時間を
取シ出し印字出力するプログラムである。An embodiment of the present invention will be described below with reference to the drawings. Second
In the figure, 11. +2 is a control register used in address search, 18 is an indicator set with a task control block number used in task startup management, 14 is an interrupt routine, and 15 measures execution time of multiple programs. A routine for collecting execution time data; 16 is a table in which task numbers to be measured are registered for use in routine 15; 17 is a table for saving execution time data used in routine 15;
18 is a program that extracts the execution time of the task to be measured from the table 17 and prints it out.
この発明にて用いられるアドレスサーチ機構とは、制御
レジスタ11.12にて指定される主記憶アドレスに対
し、命令データの取出し動作又はデータの書込み動作が
行われた時にオペレーティングシステムにてアドレスサ
ーチのための割込みを発生させて指定プログラム処理に
通知をするものである。The address search mechanism used in this invention is the address search mechanism used by the operating system when an instruction data retrieval operation or data write operation is performed for the main memory address specified by the control register 11.12. This function generates an interrupt to notify the specified program processing.
タスクの実行時間は、あるタスクが動作し、他のタスク
スイッチングが生じるまでの時間、或いはタスクスイッ
チングが生じないでそのタスクが終了するまでの時間で
ある。インディケータ18は、タスクの起動管理にて用
いられ、タスクの生成、終了又はタスクスイッチングが
発生した時に更新されるものである。The execution time of a task is the time from when a certain task operates until another task switching occurs, or the time until the task ends without task switching occurring. The indicator 18 is used in task activation management and is updated when a task is created, terminated, or task switched.
動作において、まずインディケータ18のアドレスにア
ドレスサーチをかけ、制御レジスタ11゜12にインデ
ィケータ13のアドレスをセットする。また、割込みル
ーチン14にてアドレスサーチの割込みが発生した時に
移行すべき行先アドレスをルーチン15にセットする。In operation, an address search is first performed on the address of the indicator 18, and the address of the indicator 13 is set in the control registers 11 and 12. Further, in the interrupt routine 14, a destination address to which to move when an address search interrupt occurs is set in the routine 15.
いま、タスクの生成、終了又はタスクスイッチングが発
生したとすると、オペレーティングシステムよりアドレ
スサーチの割込みが発生し5割込みルーチン14を介し
て実行時間収集用のルーチン15をコールする。ルーチ
ン15ではインディケータ18よりタスクコントロール
ブロックを取り出し、登録されているテーブル16をチ
ェックし、関連するタスクNo、があればそのタスクN
o、とその時点での時刻(m5eo )を実行時間デー
タ収集用のテーブル17にセーブする。関連するタスク
No、がなければすぐにルーチン15からリターンする
。テーブル17にセーブされた測定対象タスクの実行時
間は、プログラム18によりリスト形式で印字出力され
る。Assuming that a task is created, terminated, or task switched, an address search interrupt is generated from the operating system, and the execution time collection routine 15 is called via the 5-interrupt routine 14. In routine 15, the task control block is extracted from the indicator 18, the registered table 16 is checked, and if there is a related task number, the task number is
o, and the time at that point (m5eo) are saved in the table 17 for collecting execution time data. If there is no related task number, the routine returns immediately from routine 15. The execution times of the tasks to be measured saved in the table 17 are printed out in a list format by the program 18.
カお、上記実施例では複数のプログラムの実行時間を測
定する場合について説明したが、複数のプログラムにつ
いてスーパバイザコール命令の発行回数、ディスクリー
ト回数、ディスクライト回数の測定にも上記実施例と同
様の効果を奏する。By the way, in the above embodiment, the case of measuring the execution time of multiple programs was explained, but the same effect as in the above embodiment can also be obtained when measuring the number of supervisor call commands issued, the number of discrete operations, and the number of disk writes for multiple programs. play.
以上のように、この発明によれば、性能測定対象を1つ
の機能を構成する複数のプログラムに拡張したので、シ
ステムの機能毎の性能評価ができるという効果がある。As described above, according to the present invention, the target of performance measurement is expanded to include a plurality of programs constituting one function, so there is an effect that the performance can be evaluated for each function of the system.
第1図は従来の処理時間測定装置の処理の流れ図、第2
図はこの発明の一実施例による処理時間測定装置の処理
の流れ図である。
2.14.15・・・ルーチン、4,16.17・・・
テーブル、11.12・・・制御レジスタ、18・・・
インディケータ、18・・・プログラム。
特許出願人 三菱電機株式会社
第1図Figure 1 is a flowchart of the processing of a conventional processing time measuring device;
The figure is a flowchart of processing of a processing time measuring device according to an embodiment of the present invention. 2.14.15...routine, 4,16.17...
Tables, 11.12... Control registers, 18...
Indicator, 18...program. Patent applicant Mitsubishi Electric Corporation Figure 1
Claims (1)
ロールブロックを設定するインディケータと、アドレス
サーチの起動によシ上記インディケータの内容を設定す
る制御レジスタと、この制御レジスタの内容によって指
定されるこの計算機システムの主記憶メモリに対するア
クセスに応答してこの計算機システムのオペレーティン
グシステムによる上記アドレスサーチのための割込みを
発生させて指定プログラム処理に通知をするアドレスサ
ーチ機構とを備え、上記計算機システムのある処理機能
の処理時間を把握するときは上記アドレスサーチ機能を
起動して上記処理機能に関連する複数のプログラムの実
行時間をそれぞれ測定するようにした計算機システムの
処理時間測定装置。An indicator for setting a task control block that manages the activation of tasks in a computer system, a control register for setting the contents of the above-mentioned indicators according to the activation of an address search, and a control register for setting a task control block that manages the activation of tasks in a computer system. an address search mechanism that generates an interrupt for the address search by the operating system of this computer system in response to an access to the storage memory and notifies specified program processing; A processing time measuring device for a computer system, which starts the address search function to measure the execution time of each of a plurality of programs related to the processing function.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP59093867A JPS60238948A (en) | 1984-05-12 | 1984-05-12 | Device for measuring processing time of computer system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP59093867A JPS60238948A (en) | 1984-05-12 | 1984-05-12 | Device for measuring processing time of computer system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS60238948A true JPS60238948A (en) | 1985-11-27 |
Family
ID=14094397
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP59093867A Pending JPS60238948A (en) | 1984-05-12 | 1984-05-12 | Device for measuring processing time of computer system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS60238948A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0216659A (en) * | 1988-07-05 | 1990-01-19 | Fujitsu Ltd | Transaction tracing system |
JPH02139643A (en) * | 1988-11-21 | 1990-05-29 | Nec Corp | Information processor |
JPH06342386A (en) * | 1991-02-28 | 1994-12-13 | Internatl Business Mach Corp <Ibm> | System and method for profiling of computer system |
JP2009223451A (en) * | 2008-03-14 | 2009-10-01 | Fujitsu Ltd | Performance monitoring program, performance monitoring method and performance monitoring device |
-
1984
- 1984-05-12 JP JP59093867A patent/JPS60238948A/en active Pending
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0216659A (en) * | 1988-07-05 | 1990-01-19 | Fujitsu Ltd | Transaction tracing system |
JPH02139643A (en) * | 1988-11-21 | 1990-05-29 | Nec Corp | Information processor |
JPH06342386A (en) * | 1991-02-28 | 1994-12-13 | Internatl Business Mach Corp <Ibm> | System and method for profiling of computer system |
JP2777496B2 (en) * | 1991-02-28 | 1998-07-16 | インターナショナル・ビジネス・マシーンズ・コーポレイション | Uses when profiling multi-processes in computer systems |
JP2009223451A (en) * | 2008-03-14 | 2009-10-01 | Fujitsu Ltd | Performance monitoring program, performance monitoring method and performance monitoring device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR930000592B1 (en) | Task searching apparatus | |
RU2003115617A (en) | METHOD AND DEVICE FOR DATA PROCESSING FOR STORING RETURN CONDITION | |
Saltzer et al. | The instrumentation of Multics | |
JPS60238948A (en) | Device for measuring processing time of computer system | |
JPH0850556A (en) | Virtual computer system | |
JPH0934754A (en) | Instrument and method for measuring performance of program | |
JPH05257720A (en) | Virtual computer system | |
JP2505526B2 (en) | Bitmap management method for tasks | |
JPH0283749A (en) | Internal interruption control system for microprocessor | |
Holtkamp | UNIX requirements for architectural support | |
JPH02173841A (en) | Counting system for program executing time | |
JPS60252959A (en) | On-line trace controlling system | |
JPS63300329A (en) | Program debugging method | |
JPS61294555A (en) | Detecting method for program runaway | |
JP2591818B2 (en) | Auxiliary function selection control method | |
JPS6211746B2 (en) | ||
JPH01305446A (en) | Program debug support processing system | |
JPH10260872A (en) | Computer system and recording medium | |
JPH08314766A (en) | Information processor | |
JPH06266630A (en) | Input/output controller with trace function | |
Huck et al. | I/O device Emulation in The Stanford Emulation Laboratory | |
JPH05181712A (en) | Stack history forming system | |
JPH1139192A (en) | Information controller | |
Alexander et al. | An on-line computer system for track chamber film measuring devices | |
JPH07152704A (en) | Operation analyzing system for distributed system |