JPH0218617A - Optimization system for program source - Google Patents

Optimization system for program source

Info

Publication number
JPH0218617A
JPH0218617A JP63169822A JP16982288A JPH0218617A JP H0218617 A JPH0218617 A JP H0218617A JP 63169822 A JP63169822 A JP 63169822A JP 16982288 A JP16982288 A JP 16982288A JP H0218617 A JPH0218617 A JP H0218617A
Authority
JP
Japan
Prior art keywords
program
programs
memory
records
analyzer
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
JP63169822A
Other languages
Japanese (ja)
Inventor
Kazuhiko Fukuoka
福岡 和彦
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.)
NEC Solution Innovators Ltd
Original Assignee
NEC Solution Innovators 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 NEC Solution Innovators Ltd filed Critical NEC Solution Innovators Ltd
Priority to JP63169822A priority Critical patent/JPH0218617A/en
Publication of JPH0218617A publication Critical patent/JPH0218617A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)
  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To ensure the effective improvement of programs by using a device which measures the working properties of programs, a device which analyzes the static characteristics of programs, and a device which produces a program source by improving the program working properties. CONSTITUTION:When an instruction is received from an input program memory 5 via a keyboard 1 for selection of an improved program, a program working analyzer 2 and a program characteristic analyzer 3 are actuated. The analyzer 2 analyzes the program working and records the executing frequency and the working time of each sentence into a memory 7. The analyzer 3 records a program procedure formation table and the program control structure into a memory 8. A program improving device 4 inputs a program through the memory 5 selects a program sentence having a high executing frequency out of programs and a group of program sentences based on the recorded contents of both memories 7 and 8 and records the improved programs into an output program memory 6. Thus the programs are effectively improved.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はプログラムソース最適化方式に関し、特にプロ
グラム開発あるいはプログラム改造に際して利用して、
プログラムの改良の効率化を図るプログラムソース最適
化方式に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a program source optimization method, and is particularly applicable to program development or program modification.
This invention relates to a program source optimization method for improving efficiency of programs.

〔従来の技術〕[Conventional technology]

従来、プログラムの動作性能を改良するには、プログラ
ムの構成要素となる各文の実行頻度を測定する手段から
得られるテークを人手によって分析し、人手によってプ
ログラムの改良作業を実施しており、訓練されたプロク
ラマーか必要でありプログラムの改良作業は効率的でな
かった。
Conventionally, in order to improve the performance of a program, the take obtained from a means of measuring the execution frequency of each statement that is a component of the program is manually analyzed, and the program is improved manually. A new programmer was required, and program improvement work was not efficient.

〔発明か解決しようとする課題〕[Invention or problem to be solved]

上述した従来のプログラムの改良の作業は、訓練された
技術者の多大の時間と手間を必要とするとともに、人手
か介入することによって、プログラムの改良の際に誤ま
りか発生したりして効率的てなかった。
The above-mentioned conventional program improvement work requires a great deal of time and effort from trained engineers, and due to manual intervention, errors may occur during program improvement, making it difficult to efficiently improve the program. It wasn't.

〔課題を解決するための手段〕[Means to solve the problem]

本発明のプログラムソース最適化方式は、プログラムの
構成要素となる各文の実行頻度を測定し記録登録する装
置と、プログラムの構造及び構成要素の特性を解析し記
録登録する装置と、その実行頻度の測定記録とプログラ
ム特性の解析記録がらそのプログラムの動作性能を改良
したプログラムソースを作り出す装置とを有している。
The program source optimization method of the present invention includes a device that measures and records and registers the execution frequency of each statement that is a component of a program, a device that analyzes and records and registers the structure of the program and characteristics of the components, and the frequency of execution thereof. The system has a device for creating a program source that improves the operating performance of the program based on measurement records of the program and analysis records of the program characteristics.

〔実施例〕〔Example〕

次に本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は本発明の一実施例を示す。第1図において、本
実施例はキーホートコにより入力プログラム記憶装置5
から改良プログラムを選択する指示を与える。この指示
によりプログラム動作解析装置2とプログラム特性解析
装置3とが動作する。
FIG. 1 shows an embodiment of the invention. In FIG. 1, this embodiment uses a keyhole controller to input program storage device 5.
Give instructions to select an improved program from. Based on this instruction, the program behavior analysis device 2 and the program characteristic analysis device 3 operate.

プログラム動作解析装置2は当該プログラムの実行動作
を行わせるとともにその動作解析を行い、プログラムの
各文の実行頻度とその文の動作時間を記憶装置7に記録
する。
The program operation analysis device 2 executes the execution operation of the program, analyzes the operation, and records the execution frequency of each statement of the program and the operation time of the statement in the storage device 7.

プログラム特性解析装置3は、当該プログラムのプログ
ラム構造である手続き構成表及び制御構造を記憶装置8
に記録する。
The program characteristic analysis device 3 stores the procedure configuration table and control structure, which are the program structure of the program, in a storage device 8.
to be recorded.

プログラム動作解析装置2とプロクラ18特性解析装置
3によりそれぞれ記憶装置7及び記憶装置8に記録され
ると、プログラム改良装置4は入力プログラム記憶装置
5よりプログラムを入力し、記憶装置7及び記憶装置8
の記録より、そのプログラムの中で実行頻度の高いプロ
グラム文及びプログラム文の集合を選択し、プログラム
高速化技法の適用可能性を分析し可能であれは、そのプ
ログラム文及びプログラム文の集合を選択し、プログラ
ム高速化技法の適用可能性を分析し可能であれは、その
プログラム文及びプログラム文の集合をその高速化技法
の変換方式に乗っとり改良を行って、出力プログラム記
憶装置6に記録する。
When the program operation analysis device 2 and the programmer 18 are recorded in the storage device 7 and the storage device 8 by the characteristic analysis device 3, the program improvement device 4 inputs the program from the input program storage device 5 and inputs the program into the storage device 7 and the storage device 8.
Select a program statement or a set of program statements that are frequently executed in the program from the records of the program, analyze the applicability of program acceleration techniques, and select the program statement or set of program statements if possible. Then, the applicability of the program acceleration technique is analyzed, and if possible, the program statement and the set of program statements are taken over and improved by the conversion method of the acceleration technique, and the results are recorded in the output program storage device 6. .

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

以上説明したように本発明は、プログラムの動作特性を
測定する装置とプログラムの静的特性を分析する装置と
プログラムの動作性能を改良し、たプログラムソースを
作り出す装置とによって、プログラムの改良の効率化を
図ることがてきる効果かある。
As explained above, the present invention improves the efficiency of program improvement by using a device for measuring the operational characteristics of a program, a device for analyzing static characteristics of a program, and a device for improving the operational performance of a program and creating a program source. It has the effect of increasing the number of people.

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

第1図は本発明の一実施例を示ず構成図である。 1 キーボー1〜.2・プログラム動作解析装置、3・
−・プログラム特性解析装置、4・・ブロクラム改良装
置、5・・・入力プログラム記憶装置、6・出力プログ
ラム記憶装置、7 ・記憶装置、8・−記憶装置。
FIG. 1 is a configuration diagram that does not show one embodiment of the present invention. 1 Keyboard 1~. 2. Program behavior analysis device, 3.
-.Program characteristic analysis device, 4.. Block diagram improvement device, 5.. Input program storage device, 6.. Output program storage device, 7.. Storage device, 8..- Storage device.

Claims (1)

【特許請求の範囲】[Claims] プログラムの構成要素となる各文の実行頻度を測定する
装置と、プログラムの構造及び構成要素の静的特性を分
析する装置と、そのプログラムの動作性能を改良したプ
ログラムソースを作り出す装置とを有することを特徴と
するプログラムソース最適化方式。
It has a device that measures the execution frequency of each statement that is a component of a program, a device that analyzes the structure of a program and static characteristics of its components, and a device that creates a program source that improves the operational performance of the program. A program source optimization method featuring:
JP63169822A 1988-07-06 1988-07-06 Optimization system for program source Pending JPH0218617A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63169822A JPH0218617A (en) 1988-07-06 1988-07-06 Optimization system for program source

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63169822A JPH0218617A (en) 1988-07-06 1988-07-06 Optimization system for program source

Publications (1)

Publication Number Publication Date
JPH0218617A true JPH0218617A (en) 1990-01-22

Family

ID=15893545

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63169822A Pending JPH0218617A (en) 1988-07-06 1988-07-06 Optimization system for program source

Country Status (1)

Country Link
JP (1) JPH0218617A (en)

Similar Documents

Publication Publication Date Title
JPH0833845B2 (en) Software motion analyzer
JPH0218617A (en) Optimization system for program source
JPH08305583A (en) Method for simulating cpu
JPH10187461A (en) Language processing system
JP4055197B2 (en) Device for analyzing procedures included in the program
JPH0210443A (en) Reset case selecting system
JPH0471042A (en) Test supporting system based upon execution trace
JPH02201553A (en) System for analyzing program by row number designation
JPH11224185A (en) Device and method for analyzing variable influence
JPS63289654A (en) Program branching instruction monitoring system
JPH0496145A (en) Method and device for measuring test data inclusion rate of software
JPH05250221A (en) Simulator execution system
JPH02108135A (en) Program tracing control system
JPS616722A (en) Method for calculating execution cost of sentence
JPH03129535A (en) Collecting volume optimizing system for debugging information
JPH05216828A (en) Error processing system in batch execution of software simulator
JPS62216050A (en) Measurement processing system for executing cpu time for program unit
JPH0488438A (en) One-instruction execution system of debugger for source program in high-level language
JPH0619731B2 (en) Program unit test method
JPH05342054A (en) Test system for language processing processor
JPH05233317A (en) Software simulator
JPS6325786A (en) Data logging system
JPS58169257A (en) Generating method of data for program test
JPH04135250A (en) File damp system
JPH04333146A (en) Program execution control system for debugging