JPS63245533A - Program performance measuring system - Google Patents

Program performance measuring system

Info

Publication number
JPS63245533A
JPS63245533A JP62078204A JP7820487A JPS63245533A JP S63245533 A JPS63245533 A JP S63245533A JP 62078204 A JP62078204 A JP 62078204A JP 7820487 A JP7820487 A JP 7820487A JP S63245533 A JPS63245533 A JP S63245533A
Authority
JP
Japan
Prior art keywords
program
execution
source statement
performance
program performance
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.)
Granted
Application number
JP62078204A
Other languages
Japanese (ja)
Other versions
JP2530841B2 (en
Inventor
Mitsuo Kiyomiya
清宮 光雄
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 Software Engineering Co Ltd
Original Assignee
Hitachi Software Engineering Co 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 Software Engineering Co Ltd filed Critical Hitachi Software Engineering Co Ltd
Priority to JP62078204A priority Critical patent/JP2530841B2/en
Publication of JPS63245533A publication Critical patent/JPS63245533A/en
Application granted granted Critical
Publication of JP2530841B2 publication Critical patent/JP2530841B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To easily measure program performance by counting and displaying the number of executed instructions simultaneously with the program test. CONSTITUTION:When a program test command is applied from a keyboard 2 to a command analysis executing device 5 of a central processing unit CPU 1, a source statement successive executing device 6 is controlled by the device 5 to read and successively execute the program from a source statement 3. In this case, instructions whose execution is normally terminated are counted by an execution instruction counting device 7 and the counted value of the program performance measured value is displayed on display device 4 together with contents of the source statement, thus easily executing the program performance measurement.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、プログラム性能811定方式に係り、特にプ
ログラムの動的性能を測定するのに好適なプログラム性
能測定方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a program performance 811 fixed method, and particularly to a program performance measurement method suitable for measuring the dynamic performance of a program.

〔従来の技術〕[Conventional technology]

プログラムの実行性能を評価する方法の一つに。 One of the methods to evaluate the execution performance of a program.

実行命令の数を測定して評価する方法がある。従来、か
\るプログラムの動的性能の測定は、1命令ずつの実行
命令アドレスをトレースし、その結果とメモリ上のプロ
グラム・ローディング位置を元に解析し、実行命令数を
算出していた。
There is a method to evaluate by measuring the number of executed instructions. Conventionally, to measure the dynamic performance of a program, the number of executed instructions was calculated by tracing the execution instruction address of each instruction, analyzing the results and the program loading position in memory.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

従来技術では、トレーサ等を計算機に組込む必要がある
のみならず、プログラムのメモリ上のローディング位置
の算出および、トレース結果の解析が必要であり、簡単
に測定できない問題があった。
In the conventional technology, not only is it necessary to incorporate a tracer or the like into a computer, but also it is necessary to calculate the loading position of the program in memory and analyze the trace result, which poses a problem that measurement cannot be easily performed.

本発明の目的は、プログラムのテストと同時にプログラ
ムの実行性能の測定結果をユーザに提供することにある
An object of the present invention is to provide a user with measurement results of program execution performance at the same time as a program test.

〔問題点を解決するための手段〕[Means for solving problems]

上記目的は、プログラムのテストと同時にプログラムの
実行性能を測定し、その測定結果を逐次表示することに
より達成される。
The above object is achieved by measuring the execution performance of the program at the same time as testing the program, and sequentially displaying the measurement results.

〔作 用〕[For production]

ソースステートメント(被性能テストプログラム)はフ
ロッピーディスクなどに格納されている。
The source statement (performance test program) is stored on a floppy disk or the like.

このソースステートメントを読み込み、解析して実行す
る。この時、命令が正常に実行された場合、該実行命令
をカウントし、CRT等のディスプレイに逐次表示する
。これにより、プログラムのテストと同時にプログラム
の実行性能を、逐次、ユーザが目で確認することができ
る。
Read, parse, and execute this source statement. At this time, if an instruction is normally executed, the executed instructions are counted and displayed one after another on a display such as a CRT. This allows the user to visually check the execution performance of the program at the same time as testing the program.

〔実施例〕〔Example〕

以下、本発明の一実施例について図面により説明する。 An embodiment of the present invention will be described below with reference to the drawings.

第1図は本発明のプログラム性能設定方式の一実施例の
ブロック図である。第1図において、1はプログラム性
能測定処理本体の中央処理装置であり、プログラムテス
トのためのコマンド等を入力するキーボード2、ソース
ステートメント(被性能測定テストプログラム)ファイ
ルを格納するハードディスク、フロッピーディスクなど
の外部記憶装置3、及びソースステートメントの内容と
実行命令数を表示するためのディスプレイ4が接続され
ている。
FIG. 1 is a block diagram of an embodiment of the program performance setting method of the present invention. In Figure 1, 1 is the central processing unit of the main body of the program performance measurement process, including a keyboard 2 for inputting commands for program testing, a hard disk for storing source statement (performance measurement test program) files, a floppy disk, etc. An external storage device 3 and a display 4 for displaying the contents of source statements and the number of executed instructions are connected.

中央処理装置1は1機能上、コマンド解析実行装置5と
ソースステートメント逐次実行装置6゜実行命令カウン
ト装置7、画面表示制御装[8からなる。このうち、実
行命令カウント装置7と画面表示制御装置8が本発明の
主要部分である。
The central processing unit 1 is functionally comprised of a command analysis/execution unit 5, a source statement sequential execution unit 6, an execution command counting unit 7, and a screen display control unit [8]. Of these, the execution command counting device 7 and the screen display control device 8 are the main parts of the present invention.

外部記憶装置3上の全てのソースステートメントは・ソ
ースステートメント逐次実行装置6により逐次実行され
る。このとき実行が正常に終了した命令を実行命令カウ
ント族R7によりカウントし、そのカウント値を画面表
示制御装置8の制御に基づきソースステートメントの内
容と共にディスプレイ4に逐次表示する。実行すべきソ
ースステートメントなど、プログラムテストのためのコ
マンド等はキーボード2より入力し、それをコマンド解
析実行装置5が解析してソースステートメント逐次実行
装置6に指示する。
All source statements on the external storage device 3 are executed sequentially by the source statement sequential execution device 6. At this time, the instructions whose execution has been normally completed are counted by the execution instruction count group R7, and the count value is sequentially displayed on the display 4 together with the contents of the source statement under the control of the screen display control device 8. Commands for program testing, such as source statements to be executed, are input from the keyboard 2, and the command analysis/execution device 5 analyzes them and instructs the source statement sequential execution device 6.

第2図は、第1図中の中央処理装置1の処理フローを示
したものである。最初にコマンド解析実行装置5の指示
にしたがい、ソースステートメント逐次実行装置6でフ
ロッピーディスク3よりソースステートメントを読み込
み(ステップ101)、読み込んだソースステートメン
トを解析して命令語を実行する(ステップ102)。こ
のとき命令語を正常に実行したか否かを判定する(ステ
ップ200)、正常に実行した場合は、実行命令カウン
ト装置7で実行命令をカウントする(ステップ104)
、画面表示制御装置8で実行命令カウント値をディスプ
レイ4に表示する(ステップ105)、なお、正常に実
行されない場合は、読み込んだソースステートメントを
訂正した後(ステップ106)、ステップ102からの
処理を繰り返す。
FIG. 2 shows a processing flow of the central processing unit 1 in FIG. First, according to instructions from the command analysis/execution device 5, the source statement sequential execution device 6 reads a source statement from the floppy disk 3 (step 101), analyzes the read source statement, and executes the instruction word (step 102). At this time, it is determined whether or not the instruction word has been executed normally (step 200). If the instruction word has been executed normally, the executed instructions are counted by the executed instruction counting device 7 (step 104).
, the screen display control device 8 displays the execution command count value on the display 4 (step 105); if the execution is not successful, the read source statement is corrected (step 106), and then the processing from step 102 is carried out. repeat.

第3図はディスプレイ4の表示画面を示したものである
0本例では、実行中のステートメント(命令)は斜線部
202で示すように反転表示し。
FIG. 3 shows the display screen of the display 4. In this example, the statement (instruction) being executed is displayed in reverse video as shown by a hatched area 202.

既に実行したステートメントは斜線部203で示すよう
に、ステートメントIDを示す番号欄のみ反転表示する
としている。実行命令カウント値は。
For statements that have already been executed, only the number column indicating the statement ID is displayed in reverse video, as indicated by a hatched area 203. Execution instruction count value.

201で示す位置に反転表示する。この実行命令カウン
ト値は、命令が実行される毎に逐次更新される。
It is displayed in reverse video at the position indicated by 201. This execution instruction count value is updated sequentially every time an instruction is executed.

〔発明の効果〕〔Effect of the invention〕

本発明によれば、プログラムのテストと同時にプログラ
ムの実行性能を担当者が逐次、目で見ることができるの
で、81!定作業時間を大幅に短縮する効果があり、プ
ログラムの実行性能を考itした性能の良いプログラム
の開発ができる。
According to the present invention, the person in charge can visually check the execution performance of the program at the same time as testing the program. It has the effect of significantly shortening the regular work time, and allows the development of programs with good performance by taking program execution performance into consideration.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の一実施例のブロック図、第2図は第1
図の動作を説明するフロー図、第3図はプログラム性能
の表示画面を示す図である。 1・・・中央処理装置、 2・・・キーボード、3・・
・外部記憶装置、 4・・・ディスプレイ、5・・・コ
マンド解析実行装置、 6・・・ソースステーメント逐次実行装置、7・・・実
行命令カウント装置、 8・・・画面表示制御装置、 201・・・実行命令カウント値表示位置。
FIG. 1 is a block diagram of one embodiment of the present invention, and FIG. 2 is a block diagram of an embodiment of the present invention.
FIG. 3 is a flowchart explaining the operation shown in FIG. 3, and FIG. 3 is a diagram showing a display screen of program performance. 1...Central processing unit, 2...Keyboard, 3...
- External storage device, 4... Display, 5... Command analysis execution device, 6... Source statement sequential execution device, 7... Execution command counting device, 8... Screen display control device, 201 ... Execution instruction count value display position.

Claims (1)

【特許請求の範囲】[Claims] (1)プログラムを読み込みテストする装置において、
プログラムのテストと同時に実行命令の数を逐次カウン
トし、該カウント値を逐次表示することを特徴とするプ
ログラム性能測定方式。
(1) In the device that loads and tests the program,
A program performance measuring method characterized by sequentially counting the number of executed instructions at the same time as testing a program, and sequentially displaying the counted value.
JP62078204A 1987-03-31 1987-03-31 Program performance measurement method Expired - Fee Related JP2530841B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62078204A JP2530841B2 (en) 1987-03-31 1987-03-31 Program performance measurement method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62078204A JP2530841B2 (en) 1987-03-31 1987-03-31 Program performance measurement method

Publications (2)

Publication Number Publication Date
JPS63245533A true JPS63245533A (en) 1988-10-12
JP2530841B2 JP2530841B2 (en) 1996-09-04

Family

ID=13655495

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62078204A Expired - Fee Related JP2530841B2 (en) 1987-03-31 1987-03-31 Program performance measurement method

Country Status (1)

Country Link
JP (1) JP2530841B2 (en)

Also Published As

Publication number Publication date
JP2530841B2 (en) 1996-09-04

Similar Documents

Publication Publication Date Title
JP2519009B2 (en) Multimedia computer diagnostic system
JPS63245533A (en) Program performance measuring system
JP3389745B2 (en) Apparatus and method for measuring program performance
JP2923788B2 (en) Screen input method
JP4569011B2 (en) Programmable controller and peripheral device thereof
JPH0415707A (en) Programmable controller with logic analyzing function
JPS6393053A (en) Program test device
JPH01237738A (en) Test coverage monitor system for automatically grasp host information
JPS6186846A (en) Program debugging device
JPH02212944A (en) Logical simulation system
JPS607554A (en) Measuring system for performance of computer system
JP3212214B2 (en) State transition test equipment
JPS6063637A (en) Recording system for history information
JPS61272840A (en) Test comprehensiveness measuring instrument for microcomputer program
JPH04181336A (en) Computer system
JPH1173343A (en) Program test device and storage medium
JPS59208607A (en) Simple simulator for debugging
JPH02226441A (en) Software test device
JPH04195341A (en) Information processor
JPH01314343A (en) Test program evaluation system
JPS58142443A (en) Event recorder
JPH05313941A (en) Computer program debugging method
JPH05108407A (en) System for debugging computer program
JPH01177140A (en) Software simulator
JPH0294098A (en) Lsi memory inspecting device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees