JP2007299212A - Apparatus and method for evaluating porting of software - Google Patents

Apparatus and method for evaluating porting of software Download PDF

Info

Publication number
JP2007299212A
JP2007299212A JP2006126803A JP2006126803A JP2007299212A JP 2007299212 A JP2007299212 A JP 2007299212A JP 2006126803 A JP2006126803 A JP 2006126803A JP 2006126803 A JP2006126803 A JP 2006126803A JP 2007299212 A JP2007299212 A JP 2007299212A
Authority
JP
Japan
Prior art keywords
processing
evaluation
processing performance
memory capacity
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.)
Pending
Application number
JP2006126803A
Other languages
Japanese (ja)
Inventor
Masafumi Kanazawa
雅史 金澤
Masahiro Maekawa
正博 前川
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.)
Denso Ten Ltd
Original Assignee
Denso Ten 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 Denso Ten Ltd filed Critical Denso Ten Ltd
Priority to JP2006126803A priority Critical patent/JP2007299212A/en
Publication of JP2007299212A publication Critical patent/JP2007299212A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an apparatus and a method for evaluating porting of software resources for precisely commuting a memory capacity and performance under a mass-production environment on the basis of a program size and performance measured under a development environment and for quickly conducting a selection of an appropriate target and tuning work to the target. <P>SOLUTION: An apparatus for evaluating porting of software 50 calculates processing performance of a second processing device 40 from processing performance of a first processing device 30 with an evaluated target program embedded in a processing device performing electronic control, and has a processing performance commuting means 62 for calculating the processing performance on the basis of a processing performance commuting coefficient obtained by weighting a processing performance evaluating coefficient, which is obtained from processing performance of the first and the second devices 30, 40 with a prescribed program, in accordance with a module property composing a task of the program. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、車両等に搭載される電子制御ユニットの処理装置に組み込まれる複数のタスクからなるソフトウェアの移植評価装置に関する。   The present invention relates to a software porting evaluation apparatus composed of a plurality of tasks incorporated in a processing device of an electronic control unit mounted on a vehicle or the like.

車両等に搭載される電子制御ユニットの処理装置であるマイクロコンピュータに組み込まれるソフトウェアリソースとしてのプログラムは、制御対象であるエンジン等の性能向上や高機能化、さらには排ガス規制等の法的規制に対応して先行開発される必要がある。   A program as a software resource incorporated in a microcomputer that is a processing unit of an electronic control unit mounted on a vehicle or the like is used to improve the performance and functionality of the engine to be controlled, and to comply with legal regulations such as exhaust gas regulations. Corresponding prior development is required.

そのようなプログラムが組み込まれるマイクロコンピュータも日進月歩しており、性能向上が見込まれる次世代のマイクロコンピュータをターゲットとしてプログラムを先行開発できるように開発環境が構築されつつある。   The microcomputer in which such a program is incorporated is also progressing day by day, and a development environment is being constructed so that the program can be developed in advance, targeting a next-generation microcomputer whose performance is expected to improve.

例えば、特許文献1には、電子制御ユニットに組み込まれて使用される組込み用マイコンのロジックを開発する装置であって、ロジック処理を行う第1の中央処理装置と、ロジックのプログラムを含むデータを記憶する第1のメモリと、外部との通信を行う第1のインターフェースと、及びこれらを接続する第1の内部バスとを少なくとも備えた第1のブロックと、マイコンの周辺装置を擬似的にソフトウェアで実現する疑似マイコン周辺装置と、外部との通信を行う第2のインターフェースと、及びこれらを接続する第2の内部バスとを少なくとも備えた第2のブロックと、第1と第2のブロックを接続するインターフェースバスとを備え、これら第1と第2のブロック及びインターフェースバスによって、組込み用マイコンに置き換えてロジックを動作させるようにしたマイコンのロジック開発装置が提案されている。   For example, Patent Document 1 discloses a device for developing logic of an embedded microcomputer that is used by being incorporated in an electronic control unit, and includes a first central processing unit that performs logic processing and data including a logic program. A first block having at least a first memory for storing, a first interface for communicating with the outside, and a first internal bus for connecting these, and a peripheral device of the microcomputer as software A second block having at least a pseudo-microcomputer peripheral device realized by the above, a second interface that communicates with the outside, and a second internal bus that connects these, a first block, and a second block The interface bus is connected, and these first and second blocks and interface bus replace the embedded microcomputer. Logic development system of the microcomputer which is adapted to operate the logic has been proposed.

このようなロジック開発装置は、電子制御ユニットに搭載されるマイクロコンピュータのパフォーマンスを凌駕するパーソナルコンピュータ等に用いられる高性能CPUが搭載され、相当の期間にわたり自由度の高いプログラムを先行開発することができるように構成されている。   Such a logic development device is equipped with a high-performance CPU used in a personal computer or the like that surpasses the performance of a microcomputer mounted in an electronic control unit, and can develop a highly flexible program over a considerable period of time. It is configured to be able to.

しかし、このような開発環境で開発されたソフトウェアリソースであるプログラムを、量産環境として選定されたターゲットとなるマイクロコンピュータに移植する際に、予定されているROMやRAMのメモリ容量に収まり、パフォーマンスが実現できるか否かは定かではないため、実際に移植して動作確認する必要があるが、このような作業は極めて煩雑で重大な開発ロスが生じるという問題があった。   However, when a program, which is a software resource developed in such a development environment, is ported to a target microcomputer selected as a mass production environment, it will fit in the planned memory capacity of ROM and RAM, and performance will be reduced. Since it is not certain whether it can be realized or not, it is necessary to actually transplant and check the operation, but such work has a problem that it is extremely complicated and causes a serious development loss.

そのため、従来、生成された評価対象プログラムの開発環境におけるROMやRAMのメモリ容量から量産環境に移植した際に必要となるメモリ容量を推定して評価する方法として、予めモデルプログラム(ベンチマークプログラムともいう)に対する開発環境と量産環境におけるメモリ容量を、前記モデルプログラムを構成する個々のタスクより上位の機能単位で纏まりのあるファイル単位で求め、ファイル毎に求められた開発環境と量産環境におけるメモリ容量換算係数の平均値をメモリ容量換算係数として導出しておき、評価対象プログラムの量産環境において必要とされるメモリ容量を、当該メモリ容量換算係数に基づいて開発環境におけるメモリ容量から換算出力する方法が提案されていた。   Therefore, as a method for estimating and evaluating the memory capacity required when porting to the mass production environment from the memory capacity of the ROM or RAM in the development environment of the generated evaluation target program, a model program (also called a benchmark program) is previously known. The memory capacity in the development environment and mass production environment is determined in units of files that are grouped together in functional units higher than the individual tasks that make up the model program, and the memory capacity conversion in the development environment and mass production environment obtained for each file A method has been proposed in which the average value of the coefficient is derived as a memory capacity conversion coefficient, and the memory capacity required in the mass production environment of the evaluation target program is converted from the memory capacity in the development environment based on the memory capacity conversion coefficient. It had been.

尚、開発されたソースプログラムを量産環境におけるマイクロコンピュータに対応するコンパイラやアセンブラでオブジェクトプログラムに変換することによりプログラムサイズを求めることは可能であるが、そのためにソースプログラムを使用するコンパイラやアセンブラに対応するように修正する必要があり、この変換処理のための作業が煩雑となり、実用性に欠けるという問題もあった。   Although it is possible to obtain the program size by converting the developed source program into an object program using a compiler or assembler that is compatible with a microcomputer in a mass-production environment, it is therefore compatible with a compiler or assembler that uses the source program. There is also a problem that the work for the conversion process becomes complicated and lacks practicality.

また、前記評価対象プログラムの開発環境におけるパフォーマンス実測値から量産環境に移植した際のパフォーマンスを推定して評価する方法として、予めモデルプログラムに対する開発環境と量産環境における処理速度を当該モデルプログラムを構成するタスク単位で実測し、タスク単位のパフォーマンスの比率を評価用の速度換算係数として導出しておき、評価対象プログラムの量産環境における各タスクのパフォーマンスを、当該速度換算係数に基づいて開発環境で実測される各タスクのパフォーマンスから換算出力する方法が提案されていた。   Further, as a method for estimating and evaluating the performance when transplanted to the mass production environment from the measured performance value in the development environment of the evaluation target program, the model program is configured with the development environment for the model program and the processing speed in the mass production environment in advance. Measured in units of tasks, and the performance ratio of the task units was derived as a speed conversion factor for evaluation, and the performance of each task in the mass production environment of the evaluation target program was measured in the development environment based on the speed conversion factor. There has been proposed a method for converting and outputting from the performance of each task.

一方、特許文献2にあるように、汎用の計算機システムでは、計算機システムの構成、アプリケーションプログラムの変更等の計算機システムの稼働状況の変更に伴う処理性能の変化率を算出する性能予測装置として、計算機システム及び当該計算機システムで実行されるアプリケーションプログラムの処理性能情報をもとに前記アプリケーションプログラムを構成する複数のタスクを、当該タスク毎に前記計算機システムで稼働したときの前記タスク毎の処理実行時間である無負荷レスポンスを推定する無負荷レスポンス推定手段と、前記処理性能情報をもとに前記計算機システムで前記タスクを複数稼働したときの前記タスク毎の処理実行時間である稼働レスポンスを推定する稼働レスポンス推定手段と、前記無負荷レスポンス及び前記稼働レスポンスに基づき、負荷の変化に伴う前記計算機システムの処理性能の変化率である固有変化率を検出する固有変化率検出手段とを備える計算機システムの性能予測装置が提案されている。   On the other hand, as disclosed in Patent Document 2, in a general-purpose computer system, a computer is used as a performance prediction device that calculates the rate of change in processing performance accompanying a change in the operating status of the computer system, such as the configuration of the computer system and changes in application programs. Based on the processing performance information of the system and the application program executed on the computer system, a plurality of tasks constituting the application program are processed for each task when the task is executed on the computer system. A no-load response estimating means for estimating a certain no-load response, and an operation response for estimating an operation response that is a processing execution time for each task when a plurality of the tasks are operated in the computer system based on the processing performance information An estimation means, the no-load response and the Based on work response, performance prediction unit of a computer system and a specific rate of change detecting means for detecting a specific change rate is a change rate of the processing performance of the computer system due to the change of the load is proposed.

特開2003−167756号公報JP 2003-167756 A 特開平9−218807号公報Japanese Patent Laid-Open No. 9-218807

しかし、上述した従来の換算係数に基づいてメモリ容量やパフォーマンスを換算する方法や性能予測装置によれば、何れもファイル単位やタスク単位という大きな括りで評価するものであるため、その精度が極めて低く実用に供し得ないという問題があった。   However, according to the method and performance prediction device for converting the memory capacity and performance based on the above-described conventional conversion coefficient, the accuracy is extremely low because all of them are evaluated in a large group of file units and task units. There was a problem that it could not be put to practical use.

例えば、車両等に搭載される電子制御ユニットの処理装置で実行されるプログラムは極めて短い時間内に要求される処理を確実に実行する必要があり、タスク単位での評価に止まると、タスクを構成する複数のモジュールのどの部分をチューニングする必要があるのかといった細部の評価が十分に行えず、その結果、プログラムを実際に量産環境に移植して動作確認しながらチューニングせざるを得ず、従来の問題を解消することができないのである。そのため、最終的なターゲットの決定までに極めて長い期間を要し、新製品のタイムリーな市場投入が困難になるという問題があった。   For example, a program executed by a processing device of an electronic control unit mounted on a vehicle or the like must surely execute a required process within an extremely short time. It is not possible to fully evaluate the details of which parts of multiple modules need to be tuned. As a result, it is necessary to tune while checking the operation by actually transplanting the program to the mass production environment. The problem cannot be solved. For this reason, it took a very long time to determine the final target, and there was a problem that timely market introduction of new products was difficult.

本発明の目的は、上述の従来欠点に鑑み、開発環境で実測されたプログラムサイズやパフォーマンスに基づいて量産環境での、プログラムやデータ等を格納するのに必要なROMの容量や変数を格納したり作業領域として必要なRAMの容量等としてのメモリ容量や、処理速度や応答時間等の処理性能としてのパフォーマンスを精度良く換算して、適切なターゲットの選定及びターゲットに対するチューニング作業をより迅速に行なうことのできるソフトウェアリソースの移植評価装置、及び、評価方法を提供する点にある。   An object of the present invention is to store ROM capacity and variables necessary for storing programs and data in a mass production environment based on the program size and performance actually measured in the development environment in view of the above-mentioned conventional drawbacks. Select the appropriate target and tune the target more quickly by accurately converting the memory capacity as the RAM capacity required as a work area and the performance as the processing performance such as processing speed and response time. An object of the present invention is to provide a software resource transplantation evaluation device and an evaluation method.

上述の目的を達成するため、本発明によるソフトウェアの移植評価装置の第一の特徴構成は、電子制御を行なう処理装置に組み込まれる複数のタスクからなる評価対象プログラムの、第一処理装置における処理性能から、第二処理装置における処理性能を算出するソフトウェアの移植評価装置であって、所定のプログラムの前記第一処理装置と前記第二処理装置とにおける処理性能から求められる処理性能評価係数を、前記評価対象プログラムのタスクを構成するモジュール特性により重み付けして得られる処理性能換算係数に基づいて算出する処理性能換算処理手段を備えてなる点にある。   In order to achieve the above object, the first characteristic configuration of the software porting evaluation apparatus according to the present invention is the processing performance in the first processing apparatus of the evaluation object program comprising a plurality of tasks incorporated in the processing apparatus that performs electronic control. From the software porting evaluation device for calculating the processing performance in the second processing device, the processing performance evaluation coefficient obtained from the processing performance in the first processing device and the second processing device of the predetermined program, A processing performance conversion processing means for calculating based on a processing performance conversion coefficient obtained by weighting the module characteristics constituting the task of the program to be evaluated is provided.

上述の構成によれば、予め得られたモデルプログラム等の所定のプログラムに対する処理性能評価係数、つまり、開発環境で使用される第一処理装置と量産環境で使用される第二処理装置の夫々の特性を反映したパフォーマンス評価係数により、一般的なパフォーマンス換算を行なうのではなく、さらに評価対象プログラムのタスクを構成するモジュール特性により重み付けした処理性能換算係数を求めることにより、評価対象プログラムに特化したパフォーマンスを精度良く求めることができるようになるのである。   According to the above configuration, the processing performance evaluation coefficient for a predetermined program such as a model program obtained in advance, that is, each of the first processing device used in the development environment and the second processing device used in the mass production environment. Instead of performing general performance conversion with performance evaluation coefficients that reflect the characteristics, the processing performance conversion coefficients weighted by the module characteristics that make up the tasks of the evaluation target program are further obtained, thereby specializing in the evaluation target program. The performance can be determined accurately.

ここで、前記処理性能換算係数は、電子制御ユニットの処理装置に組み込まれる複数のタスクからなる所定のプログラムに対して、前記第一処理装置で実行される各タスクを構成するモジュール単位の処理性能と前記第二処理装置で実行される前記モジュール単位の処理性能との比率である処理性能評価係数に、前記評価対象プログラムの各モジュールの実行負荷比率による重み係数を掛けた値に基づいて得られるものであることが好ましい。   Here, the processing performance conversion coefficient is a processing performance in units of modules constituting each task executed by the first processing device with respect to a predetermined program composed of a plurality of tasks incorporated in the processing device of the electronic control unit. Obtained by multiplying a processing performance evaluation coefficient, which is a ratio of the processing performance of each module executed by the second processing apparatus, by a weighting coefficient according to an execution load ratio of each module of the evaluation target program. It is preferable.

つまり、開発環境で使用される第一処理装置と量産環境で使用される第二処理装置において夫々実測される所定のプログラムの各タスクを構成する複数のモジュール単位、例えば、ロジック、入出力処理、整数演算処理、浮動小数点演算処理などのモジュール単位での処理性能評価係数が求められるので、例えば、各処理装置の中核部分を構成するマイクロコンピュータのアーキテクチャに依存する単位でのパフォーマンスの換算処理が行なえ、当該処理性能評価係数に、評価対象プログラムの各タスクを構成するモジュール単位の実行割合などで表される実行負荷比率による重み係数を掛けた値に基づいて、各タスクの処理性能換算係数が求められるので、そのような処理性能換算係数によれば、前記評価対象プログラムの特性を反映した前記第二処理装置におけるパフォーマンスを適正に算出することができるようになるのである。   That is, a plurality of module units constituting each task of a predetermined program measured in the first processing device used in the development environment and the second processing device used in the mass production environment, for example, logic, input / output processing, Since processing performance evaluation coefficients are obtained in units of modules such as integer arithmetic processing and floating point arithmetic processing, for example, performance conversion processing in units depending on the architecture of the microcomputer constituting the core part of each processing device can be performed. Based on the value obtained by multiplying the processing performance evaluation coefficient by the weighting factor based on the execution load ratio represented by the execution ratio of each module that constitutes each task of the evaluation target program, the processing performance conversion coefficient for each task is obtained. Therefore, according to such processing performance conversion coefficient, the characteristics of the evaluation target program are reflected. It's becomes possible to properly calculate the performance of the serial second processing unit.

同第二の特徴構成は、同請求項4に記載した通り、電子制御を行なう処理装置に組み込まれる複数のタスクからなる評価対象プログラムの、第一処理装置で使用されるメモリ容量から、第二処理装置で使用されるメモリ容量を算出するソフトウェアの移植評価装置であって、所定のプログラムの前記第一処理装置と前記第二処理装置とで使用されるタスクまたはタスクを構成するモジュール種別毎のメモリ容量から前記第二処理装置で使用されるメモリ容量を換算する近似式を算出する近似式算出手段と、評価対象プログラムに対して、前記第一処理装置で使用されるメモリ容量から前記第二処理装置で使用されるメモリ容量を、前記近似式に基づいて算出するメモリ容量換算処理手段を備えてなる点にある。   As described in claim 4, the second characteristic configuration is based on the memory capacity used in the first processing device of the evaluation target program consisting of a plurality of tasks incorporated in the processing device that performs electronic control. A software porting evaluation device for calculating a memory capacity used in a processing device, which is a task used in the first processing device and the second processing device of a predetermined program or for each module type constituting a task Approximation formula calculating means for calculating an approximate expression for converting the memory capacity used in the second processing device from the memory capacity, and for the evaluation target program, from the memory capacity used in the first processing device to the second The memory capacity conversion processing means for calculating the memory capacity used in the processing device based on the approximate expression is provided.

上述の構成によれば、所定のプログラムに対する第一処理装置と第二処理装置におけるメモリ容量の相関関係つまり近似式が、タスクまたはタスクを構成するモジュール単位で使用されるメモリ容量に基づいて求められるので、そのような近似式によれば、第一処理装置に対して求められた評価対象プログラムのメモリ容量から第二処理装置で必要とされるメモリ容量を極めて高精度に換算処理することができるようになるのである。   According to the above-described configuration, the correlation between the memory capacities in the first processing device and the second processing device for the predetermined program, that is, the approximate expression, is obtained based on the memory capacity used in units of the tasks or modules constituting the tasks. Therefore, according to such an approximate expression, the memory capacity required in the second processing device can be converted with extremely high accuracy from the memory capacity of the evaluation target program obtained for the first processing device. It becomes like this.

以上説明した通り、本発明によれば、開発環境で実測されたプログラムサイズやパフォーマンスに基づいて量産環境での、プログラムやデータ等を格納するのに必要なROMの容量や変数を格納したり作業領域として必要なRAMの容量等としてのメモリ容量や、処理速度や応答時間等の処理性能としてのパフォーマンスを精度良く換算して、適切なターゲットの選定及びターゲットに対するチューニング作業をより迅速に行なうことのできるソフトウェアの移植評価装置、及び、評価方法を提供することができるようになった。   As described above, according to the present invention, it is possible to store ROM capacity and variables necessary for storing programs, data, and the like in a mass production environment based on the program size and performance actually measured in the development environment. The memory capacity as the RAM capacity required for the area and the performance as the processing performance such as processing speed and response time are accurately converted, and the appropriate target selection and target tuning can be performed more quickly. It has become possible to provide a software transplantation evaluation apparatus and an evaluation method that can be used.

以下、本発明によるソフトウェアの移植評価装置を、車両に搭載されて電子制御を行なう電子制御ユニットの処理装置に組み込まれる評価対象プログラムの開発環境から量産環境への移植評価に適用した実施形態について説明する。   Hereinafter, an embodiment in which a software transplant evaluation device according to the present invention is applied to a port evaluation from a development environment to a mass production environment of an evaluation target program incorporated in a processing device of an electronic control unit that is mounted on a vehicle and performs electronic control will be described. To do.

図1に示すように、車両には、CAN(コントローラエリアネットワーク)バス20を介してネットワーク接続された複数の電子制御ユニット(ECU)10が搭載されており、それら複数の電子制御ユニット10が協動して所期の制御を行なるように構成されている。前記複数の電子制御ユニット10は、例えば、エンジン制御用ECU11、自動変速機(AT)制御用ECU12、アンチロック・ブレーキ・システム(ABS)制御用ECU13等で構成されている。   As shown in FIG. 1, a vehicle includes a plurality of electronic control units (ECUs) 10 that are network-connected via a CAN (controller area network) bus 20, and the plurality of electronic control units 10 cooperate with each other. It is configured to perform the desired control. The plurality of electronic control units 10 include, for example, an engine control ECU 11, an automatic transmission (AT) control ECU 12, an antilock brake system (ABS) control ECU 13, and the like.

前記複数の電子制御ユニット10は、各々に処理装置としてのマイクロコンピュータが設けられ、前記マイクロコンピュータは、プログラム格納用のROMと、データ処理のために使用するワーキングエリアとしてのRAMと、前記プログラムを実行するCPU等を備えて構成されており、前記プログラムに基づいて所定の機能が実現されるように構成されている。   Each of the plurality of electronic control units 10 is provided with a microcomputer as a processing device, and the microcomputer stores a ROM for storing a program, a RAM as a working area used for data processing, and the program. The CPU is configured to be executed, and is configured to realize a predetermined function based on the program.

例えば、エンジン制御用ECU11であれば、吸気温センサ110、水温センサ111、可変バルブタイミング機構において目標バルブタイミングを検知するためのセンサ112、アクセルペダルの操作量センサ113、バッテリー電圧センサ114等の各センサからの入力信号や関連する他の電子制御ユニット、例えば自動変速機制御用ECU12等からの通信データに基づいて、所定のエンジン機能を実現するようにエンジンを制御したり、自らの制御状態を他の電子制御ユニットにデータ送信したりする。   For example, the engine control ECU 11 includes an intake air temperature sensor 110, a water temperature sensor 111, a sensor 112 for detecting a target valve timing in a variable valve timing mechanism, an accelerator pedal operation amount sensor 113, a battery voltage sensor 114, and the like. Based on the input signal from the sensor and communication data from other related electronic control units such as the ECU 12 for automatic transmission control, the engine is controlled to realize a predetermined engine function, or the control state of the other is changed. Send data to other electronic control units.

また、他の電子制御ユニット、例えば、前記自動変速機制御用ECU12やABS制御用ECU13等では、前記エンジン制御用ECU11へも入力されていた前記アクセルペダルの操作量センサ113やバッテリー電圧センサ114、その他各々独自に使用されるセンサ120、121、130、131等からの入力信号を制御することで、前記複数の電子制御ユニット10は協働してシステムとしての制御等が実現可能な構成となっている。   Further, in other electronic control units such as the automatic transmission control ECU 12 and the ABS control ECU 13, the accelerator pedal operation amount sensor 113, the battery voltage sensor 114, and the like that have been input to the engine control ECU 11, etc. By controlling the input signals from the sensors 120, 121, 130, 131, etc. that are used independently, the plurality of electronic control units 10 can be configured to cooperate to implement control as a system. Yes.

上述の各電子制御ユニットに内蔵されるソフトウェアの開発環境は、図2に示すように、前記電子制御ユニット10、つまり後述する量産ECUの開発に用いられる先行開発ECUのマイクロコンピュータとしての第一処理装置30と、実際に車両に搭載される予定の電子制御ユニット(量産ECU)のマイクロコンピュータとしての第二処理装置40と、前記第一処理装置30の処理性能やメモリ容量を計測する第一計測装置31と、前記第二処理装置40の処理性能やメモリ容量を計測する第二計測装置41と、前記第一処理装置30におけるソフトウェアの処理性能やメモリ容量から前記第二処理装置40におけるソフトウェアの処理性能やメモリ容量を算出する移植評価装置50を備えて構成されている。   As shown in FIG. 2, the development environment of the software built in each electronic control unit described above is the first process as a microcomputer of the electronic control unit 10, that is, a preceding development ECU used for development of a mass production ECU to be described later. The apparatus 30, the second processing device 40 as a microcomputer of an electronic control unit (mass production ECU) to be actually mounted on the vehicle, and the first measurement for measuring the processing performance and memory capacity of the first processing device 30 From the processing performance and memory capacity of the device 31, the second measuring device 41 that measures the processing performance and memory capacity of the second processing device 40, and the software processing performance and memory capacity of the first processing device 30, A transplantation evaluation apparatus 50 for calculating processing performance and memory capacity is provided.

前記メモリ容量とは、プログラムやデータ等を格納するのに必要なROMの容量や変数を格納したり作業領域として必要なRAMの容量等のことである。また、前記処理性能とは、処理速度や処理時間等の処理性能、つまりパフォーマンスのことであり、本実施形態の移植評価装置50では、前記処理性能のうちの主に処理速度を算出する構成について説明する。   The memory capacity means the capacity of ROM and variables necessary for storing programs, data, etc., and the capacity of RAM necessary as a work area. The processing performance is processing performance such as processing speed and processing time, that is, performance, and the transplantation evaluation apparatus 50 according to the present embodiment mainly calculates the processing speed out of the processing performance. explain.

前記先行開発ECUは、前記複数の電子制御ユニット10と同様の機能を擬似的に実現させており、例えば、特開2003−167756号公報で提案されているようなロジック開発装置を備えて構成されている。前記ロジック開発装置は、電子制御ユニットに組み込まれて使用される組込み用マイコン(本発明におけるマイクロコンピュータ)のロジックを開発する装置であって、ロジック処理を行う第1の中央処理装置と、ロジックのプログラムを含むデータを記憶する第1のメモリと、外部との通信を行う第1のインターフェースと、及びこれらを接続する第1の内部バスとを少なくとも備えた第1のブロックと、マイコンの周辺装置を擬似的にソフトウェアで実現する疑似マイコン周辺装置と、外部との通信を行う第2のインターフェースと、及びこれらを接続する第2の内部バスとを少なくとも備えた第2のブロックと、第1と第2のブロックを接続するインターフェースバスとを備え、これら第1と第2のブロック及びインターフェースバスによって、組込み用マイコンに置き換えてロジックを動作させるようにした装置である。   The preceding development ECU realizes the same function as that of the plurality of electronic control units 10 in a pseudo manner, and includes, for example, a logic development device as proposed in Japanese Patent Laid-Open No. 2003-167756. ing. The logic development device is a device for developing logic of an embedded microcomputer (microcomputer in the present invention) used by being incorporated in an electronic control unit, and includes a first central processing unit that performs logic processing, A first block including at least a first memory for storing data including a program, a first interface for communicating with the outside, and a first internal bus for connecting these, and a peripheral device of the microcomputer A second block having at least a pseudo microcomputer peripheral device that realizes the above by software, a second interface that communicates with the outside, and a second internal bus that connects these, An interface bus for connecting the second block, and the first and second blocks and the interface bus. Therefore, a device which is adapted to operate the logic replaces the built-in microcomputer.

尚、先行開発ECUは上述の構成に限るものではなく、現状使用されているECUをベースに構築されるものであってもよい。   Note that the prior-developed ECU is not limited to the above-described configuration, and may be constructed based on an ECU currently used.

前記第一計測装置31は、前記第一処理装置30の処理速度やメモリ容量を計測する計測プログラムを組み込んだPCやワークステーションより構成されており、前記第二計測装置41は、前記第二処理装置40の処理速度やメモリ容量を計測する計測プログラムを組み込んだPCやワークステーションより構成されている。尚、前記第一計測装置31や第二計測装置41は、図2に示すように、前記第一処理装置30に対して使用する第一計測装置31と、前記第二処理装置40に対して使用する第二計測装置41とを備えた構成の他、前記第一処理装置30と前記第二処理装置40の双方の処理速度やメモリ容量を計測する共通の計測装置を備えた構成であってもよい。   The first measuring device 31 is configured by a PC or a workstation incorporating a measurement program for measuring the processing speed and memory capacity of the first processing device 30, and the second measuring device 41 is configured by the second processing. It is composed of a PC and a workstation incorporating a measurement program for measuring the processing speed and memory capacity of the device 40. In addition, said 1st measuring device 31 and the 2nd measuring device 41 are with respect to the 1st measuring device 31 used with respect to said 1st processing device 30, and said 2nd processing device 40, as shown in FIG. In addition to the configuration including the second measurement device 41 to be used, the configuration includes a common measurement device that measures the processing speed and memory capacity of both the first processing device 30 and the second processing device 40. Also good.

前記移植評価装置50は、前記第一処理装置30から前記第二処理装置40にソフトウェアを移植する際に、前記第一処理装置30におけるソフトウェアの処理速度やメモリ容量から前記第二処理装置40におけるソフトウェアの処理速度やメモリ容量を算出する装置で、処理速度を算出する性能換算手段60とメモリ容量を算出する容量換算手段70を備えて構成されている。   When the porting evaluation apparatus 50 transfers the software from the first processing apparatus 30 to the second processing apparatus 40, the porting evaluation apparatus 50 determines whether the second processing apparatus 40 uses the software processing speed or the memory capacity of the first processing apparatus 30. A device that calculates the processing speed and memory capacity of software, and includes a performance conversion means 60 that calculates processing speed and a capacity conversion means 70 that calculates memory capacity.

前記性能換算手段60は、電子制御ユニットの処理装置に組み込まれる複数のタスクからなる評価対象プログラムの第一処理装置30における処理速度から、前記評価対象プログラムの第二処理装置40における処理速度を換算する処理性能換算係数を算出する処理性能換算係数算出手段61と、算出された処理性能換算係数に基づいて前記評価対象プログラムの第二処理装置40における処理速度を算出する処理性能換算処理手段62と、前記処理性能換算処理手段62で算出された処理速度が許容処理速度を満たしているか否かを判断する性能評価手段63と、前記性能評価手段63で許容処理速度を満たしていないと評価されたときに前記処理性能換算係数を変更する評価内容変更手段64とを備えて構成されている。   The performance conversion means 60 converts the processing speed in the second processing device 40 of the evaluation target program from the processing speed in the first processing device 30 of the evaluation target program consisting of a plurality of tasks incorporated in the processing device of the electronic control unit. A processing performance conversion coefficient calculating means 61 for calculating a processing performance conversion coefficient to be performed; a processing performance conversion processing means 62 for calculating a processing speed in the second processing device 40 of the evaluation target program based on the calculated processing performance conversion coefficient; The performance evaluation means 63 for determining whether or not the processing speed calculated by the processing performance conversion processing means 62 satisfies the allowable processing speed, and the performance evaluation means 63 evaluated that the allowable processing speed is not satisfied. An evaluation content changing means 64 for changing the processing performance conversion coefficient is sometimes provided.

前記プログラムは、複数のタスクを備えて構成されており、前記タスクは、複数の関数やクラスを備えて構成されている。前記タスクの各々は、主タスクとして燃料噴射量演算や燃料点火時期演算等の所定の演算処理を繰り返し実行するベース処理ルーチンや、エンジン回転数演算実行信号や車速演算実行信号等といった前記タスクの外部からの割込み信号に基づいて特定タスクとしての演算処理を行う割込処理ルーチンや、前記ベース処理ルーチンや前記割込処理ルーチンにおける処理に用いるために、温度や吸気量等のアナログデータをディジタルデータに変換するA/D変換処理ルーチン等の処理を表している。   The program is configured with a plurality of tasks, and the tasks are configured with a plurality of functions and classes. Each of the tasks includes, as a main task, a base processing routine that repeatedly executes a predetermined calculation process such as a fuel injection amount calculation and a fuel ignition timing calculation, an engine speed calculation execution signal, a vehicle speed calculation execution signal, etc. Analog data such as temperature and intake air amount is converted into digital data for use in interrupt processing routines that perform arithmetic processing as specific tasks based on interrupt signals from, and in the base processing routines and interrupt processing routines. This represents processing such as an A / D conversion processing routine to be converted.

前記評価対象プログラムは、実際に車両に搭載される予定の電子制御ユニット(量産ECU)のマイクロコンピュータに搭載して動作させることを目的として開発されている開発ソフトウェアであり、電子制御ユニットの機種毎に特化した構成となっている。   The evaluation target program is development software developed for the purpose of being mounted and operated on a microcomputer of an electronic control unit (mass production ECU) that is actually mounted on a vehicle. It is a configuration specialized for.

前記処理性能換算係数算出手段61は、前記評価対象プログラムの前記第一処理装置30における処理速度から、前記評価対象プログラムの前記第二処理装置40における処理速度を換算する処理性能換算係数を算出するように構成されており、処理性能評価係数算出手段610と、重み係数算出手段611と、重み付け演算手段612とを備えて構成されている。   The processing performance conversion coefficient calculation means 61 calculates a processing performance conversion coefficient for converting the processing speed of the evaluation target program in the second processing apparatus 40 from the processing speed of the evaluation target program in the first processing apparatus 30. The processing performance evaluation coefficient calculating means 610, the weight coefficient calculating means 611, and the weight calculating means 612 are provided.

前記処理性能評価係数算出手段610は、電子制御ユニットの処理装置に組み込まれる複数のタスクからなる所定のプログラムとしてのモデルプログラムに対して、前記第一処理装置30で実行される各タスクを構成するモジュール単位の処理速度と前記第二処理装置40で実行される前記モジュール単位の処理速度との比率である処理性能評価係数を算出するように構成されている。   The processing performance evaluation coefficient calculation means 610 constitutes each task executed by the first processing device 30 with respect to a model program as a predetermined program composed of a plurality of tasks incorporated in the processing device of the electronic control unit. A processing performance evaluation coefficient that is a ratio between the processing speed in module units and the processing speed in module units executed by the second processing device 40 is calculated.

前記モデルプログラムは、前記第一処理装置30と前記第二処理装置40の処理速度を計測するためのベンチマーク用のソフトウェアであって、前記評価対象プログラムが、電子制御ユニットの機種毎に特化した構成となっているのに対して、前記モデルプログラムは、電子制御ユニットの本質的な処理より構成されており、各電子制御ユニットで実行されるほぼ共通のタスクの集合体で構成されている。   The model program is benchmark software for measuring the processing speed of the first processing device 30 and the second processing device 40, and the evaluation target program is specialized for each model of the electronic control unit. On the other hand, the model program is composed of essential processes of the electronic control unit, and is composed of a collection of almost common tasks executed by each electronic control unit.

前記処理性能評価係数算出手段610について詳述すると、図3に示すように、前記第一処理装置30と前記第二処理装置40の各々において、同一のモデルプログラム内のタスクT1を実行させて、前記タスクT1を構成するモジュール(T21からT2n)単位で処理速度を算出する。   The processing performance evaluation coefficient calculation means 610 will be described in detail. As shown in FIG. 3, each of the first processing device 30 and the second processing device 40 executes a task T1 in the same model program, The processing speed is calculated in units of modules (T21 to T2n) constituting the task T1.

前記モジュール(T21からT2n)は、図3に示すように、処理Aからアルファベット順で示されている各処理であって、前記タスクT1における各処理内容(つまり、図3ではn種類の処理内容)を表しており、前記各処理内容は、変数への値の代入・分岐・繰り返し等のロジック処理や、外部との入出力処理(I/O)や、整数演算や浮動小数点演算等の演算処理その他の処理を表している。   As shown in FIG. 3, the modules (T21 to T2n) are processes indicated in alphabetical order from the process A, and each process content in the task T1 (that is, n types of process contents in FIG. 3). Each processing content includes logic processing such as assignment, branching, and repetition of a value to a variable, input / output processing (I / O) to the outside, and arithmetic operations such as integer arithmetic and floating point arithmetic. It represents processing and other processing.

算出されたモジュール単位の処理速度として表される前記第一処理装置30における第一処理結果(T31からT3n)と前記第二処理装置40における第二処理結果(T41からT4n)は、図3において、処理A結果からアルファベット順で示されている各処理で表されており、前記第一処理結果を前記第一処理結果と同一のモジュールについての前記第二処理結果で除した値、例えば、前記第一処理結果T31を前記第二処理結果T41で除した値が前記処理性能評価係数として算出される。   The first processing result (T31 to T3n) in the first processing device 30 and the second processing result (T41 to T4n) in the second processing device 40 expressed as the calculated processing speed in units of modules are shown in FIG. , Expressed in alphabetical order from the processing A result, the first processing result divided by the second processing result for the same module as the first processing result, for example, A value obtained by dividing the first processing result T31 by the second processing result T41 is calculated as the processing performance evaluation coefficient.

前記重み係数算出手段611は、前記評価対象プログラムの各モジュール種別の比率による重み付けとして、前記評価対象プログラムの各モジュールの実行負荷比率による重み係数を算出するように構成されている。詳述すると、図4に示すように、評価対象プログラム内のタスクT5を前記モジュールの種類毎、例えば、入出力処理T21と、演算処理T22と、前記入出力処理T21と演算処理T22以外の処理としてのロジック処理T23とに分類して、前記タスクT1の処理全体の実行回数に対する各モジュールの処理実行回数の割合を重み係数r1、r2、r3として算出する。例えば、前記タスクT5全体の実行回数が1000回で、前記入出力処理T21の実行回数が300回である場合、前記重み係数r1は0.3となる。尚、重み係数の単位はパーセント等であってもよい。   The weighting factor calculation means 611 is configured to calculate a weighting factor based on the execution load ratio of each module of the evaluation target program as weighting based on the ratio of each module type of the evaluation target program. More specifically, as shown in FIG. 4, the task T5 in the evaluation target program is processed for each module type, for example, input / output processing T21, arithmetic processing T22, and processing other than the input / output processing T21 and arithmetic processing T22. And the ratio of the number of execution times of each module to the number of execution times of the entire task T1 is calculated as weighting coefficients r1, r2, and r3. For example, when the total number of executions of the task T5 is 1000 and the number of executions of the input / output process T21 is 300, the weight coefficient r1 is 0.3. Note that the unit of the weight coefficient may be a percentage or the like.

別の例として、C言語で示されたタスクの重み係数算出について示すと、図5(a)に示すように、タスクT5の各プロセスのうち、処理が実行されない部分を対象外とした上で(処理P)、図5(b)に示すように、前記各プロセスをモジュールの種類毎に分類する。図5(b)では、プロセスP1が入出力処理に、プロセスP2が整数演算処理に、プロセス4がロジック処理に、プロセス5が浮動小数点演算処理に、プロセス6がロジック処理に各々分類されており、プロセスP3が前記処理Pにて削除されている。そして、図5(c)に示すように、前記タスクT5の処理全体の実行回数に対する各モジュールの処理実行回数の割合を重み係数r1からrnとして算出する。   As another example, when calculating the weighting factor of a task shown in C language, as shown in FIG. 5 (a), after excluding a portion where processing is not executed in each process of task T5, (Process P) As shown in FIG. 5B, the processes are classified according to module types. In FIG. 5B, the process P1 is classified as input / output processing, the process P2 is classified as integer arithmetic processing, the process 4 is classified as logic processing, the process 5 is classified as floating point arithmetic processing, and the process 6 is classified as logic processing. The process P3 is deleted in the process P. Then, as shown in FIG. 5C, the ratio of the number of execution times of each module to the number of execution times of the entire process of the task T5 is calculated as a weighting factor r1 to rn.

前記重み付け演算手段612は、前記重み係数算出手段611において算出された前記重み係数を前記処理性能評価係数に掛けた値に基づいて、前記処理性能換算係数を算出する。つまり、処理性能換算係数は、予め求められたモデルプログラムに対する処理性能評価係数を前記評価対象プログラムのタスクを構成するモジュール特性、つまりモジュールの実行負荷比率により重み付けして得られる係数である。   The weight calculation means 612 calculates the processing performance conversion coefficient based on a value obtained by multiplying the processing performance evaluation coefficient by the weight coefficient calculated by the weight coefficient calculation means 611. In other words, the processing performance conversion coefficient is a coefficient obtained by weighting the processing performance evaluation coefficient for the model program obtained in advance by the module characteristics constituting the task of the evaluation target program, that is, the module execution load ratio.

詳述すると、図3に示すように、相互に同一のモジュール(例えば処理A)についての前記処理性能評価係数(例えば第一処理結果T31を第二処理結果T41で除した値)と重み係数(例えばr1)を乗算した値を、タスクに含まれる全てのモジュールについて加算した値が、前記処理性能換算係数として算出される。   More specifically, as shown in FIG. 3, the processing performance evaluation coefficient (for example, a value obtained by dividing the first processing result T31 by the second processing result T41) and a weighting coefficient (for example, the processing A) for the same module (for example, processing A). For example, a value obtained by multiplying a value obtained by multiplying r1) for all modules included in the task is calculated as the processing performance conversion coefficient.

前記処理性能換算処理手段62は、算出された前記処理性能換算係数に基づいて前記第二処理装置40における処理速度を算出するように構成されており、具体的には、前記第一処理装置30に前記評価対象プログラムを組み込んだ場合の処理速度に前記処理性能換算係数を乗算した値を、前記第二処理装置40の処理速度として算出する。   The processing performance conversion processing means 62 is configured to calculate the processing speed in the second processing device 40 based on the calculated processing performance conversion coefficient, specifically, the first processing device 30. A value obtained by multiplying the processing speed when the evaluation target program is incorporated into the processing performance conversion coefficient is calculated as the processing speed of the second processing device 40.

前記性能評価手段63は、算出された処理速度が実際に車両に搭載された際に必要な処理速度である許容処理速度を満たしているか否かを判断するように構成されている。詳述すると、前記第二処理装置40が動作可能な最大速度を許容処理速度として前記性能評価手段63に登録しておき、前記処理性能換算処理手段62において算出された処理速度を登録した前記許容処理速度と比較して、前記算出された処理速度が前記許容処理速度より低速である場合に、前記第二処理装置40では、許容処理速度を満たす速度で評価対象プログラムを動作させることが不可能であるとの結果を出力するように構成されている。   The performance evaluation means 63 is configured to determine whether or not the calculated processing speed satisfies an allowable processing speed that is a processing speed required when the processing speed is actually mounted on the vehicle. More specifically, the maximum speed at which the second processing device 40 can operate is registered in the performance evaluation unit 63 as an allowable processing speed, and the processing speed calculated in the processing performance conversion processing unit 62 is registered. When the calculated processing speed is lower than the allowable processing speed compared with the processing speed, the second processing device 40 cannot operate the evaluation target program at a speed that satisfies the allowable processing speed. It is comprised so that the result of being may be output.

前記評価内容変更手段64は、算出された処理速度が前記性能評価手段63で許容処理速度を満たしていないと評価されたときに前記処理性能換算係数を変更するように構成されている。詳述すると、予め設定された規定、例えば、許容処理速度を満たすために各重み係数を一定値ずつ増減させるような規定に基づいて変更された重み係数により新たな処理性能換算係数を導出するのである。   The evaluation content changing means 64 is configured to change the processing performance conversion coefficient when the calculated processing speed is evaluated by the performance evaluation means 63 as not satisfying an allowable processing speed. More specifically, a new processing performance conversion coefficient is derived from a weighting factor that is changed based on a pre-set rule, for example, a rule that increases or decreases each weighting factor by a certain value to satisfy an allowable processing speed. is there.

さらには、前記評価内容変更手段64が、前記第一処理装置に前記評価対象プログラムを組み込んだ場合の処理速度や、前記評価対象プログラムの一部を自動変更することにより個別の重み係数を変更するように構成するものであってもよい。   Furthermore, the evaluation content changing means 64 changes individual weighting factors by automatically changing a processing speed when the evaluation target program is incorporated into the first processing device or a part of the evaluation target program. You may comprise as follows.

一例としては、前記評価内容変更手段64が、評価対象プログラムに含まれる浮動小数点演算処理の精度を落とす(バイト数を減らす等)ように変更し、この変更に伴う前記評価対象プログラムを第一処理装置に組み込んだ場合の処理速度の変更を行うことにより、前記評価対象プログラム内の各モジュールの重み係数の変更を行うケースが考えられる。   As an example, the evaluation content changing means 64 is changed so as to reduce the precision of the floating point arithmetic processing included in the evaluation target program (such as reducing the number of bytes), and the evaluation target program associated with this change is processed in the first process. A case where the weighting coefficient of each module in the evaluation target program is changed by changing the processing speed when incorporated in the apparatus is considered.

その後、オペレータ(プログラム評価者)は、変更が行われた結果、許容処理速度を満たすと判断された評価対象プログラムに対して、評価された処理性能換算係数や重み係数等の条件が満たされるように留意しながら、具体的な修正や量産ECUの性能(仕様)見直し等の作業を行なう。   Thereafter, the operator (program evaluator) seems to satisfy the conditions such as the evaluated processing performance conversion coefficient and the weighting coefficient for the evaluation target program determined to satisfy the allowable processing speed as a result of the change. While paying attention to the above, work such as concrete correction and review of performance (specifications) of the mass production ECU is performed.

尚、前記評価内容変更手段64における前記処理性能換算係数等の変更は、上述した自動的に変更される構成の他にオペレータ(プログラム評価者)による手入力で変更される構成であってもよい。詳述すると、前記評価内容変更手段64は、オペレータによって、前記重み係数や前記処理性能換算係数等の変更が可能なキーボードやマウスで構成された入力部と、前記入力部で入力された前記重み係数や、前記評価対象プログラムや、前記処理性能換算係数等が表示される表示部とを備えた構成であってもよい。   Note that the change of the processing performance conversion coefficient or the like in the evaluation content changing means 64 may be changed by manual input by an operator (program evaluator) in addition to the above-described automatic change configuration. . More specifically, the evaluation content changing unit 64 includes an input unit composed of a keyboard and a mouse that can change the weighting coefficient, the processing performance conversion coefficient, and the like by an operator, and the weight input by the input unit. A configuration including a display unit that displays a coefficient, the evaluation target program, the processing performance conversion coefficient, and the like may be used.

この場合、オペレータ(プログラム評価者)は、評価対象プログラムをどのように修正することが可能かを検討し、その修正内容に応じて処理性能換算係数や重み係数等の変更を行ったり、実際に評価対象プログラムを修正した後に、再度性能評価手段63で評価することによって、許容速度を満たす評価対象プログラムを作成することができる。   In this case, the operator (program evaluator) examines how the program to be evaluated can be modified, changes the processing performance conversion coefficient, weighting coefficient, etc. according to the contents of the modification, or actually After the evaluation object program is corrected, the evaluation object program satisfying the allowable speed can be created by evaluating the performance evaluation means 63 again.

前記移植評価装置50は、前記評価内容変更手段64によって変更された処理性能換算係数に基づいて、前記処理性能換算処理手段62および前記評価手段63を実行するように構成されており、前記処理性能換算係数が最適値であると前記評価手段63またはオペレータが判断するまで上記動作を繰り返す。   The transplantation evaluation apparatus 50 is configured to execute the processing performance conversion processing unit 62 and the evaluation unit 63 based on the processing performance conversion coefficient changed by the evaluation content changing unit 64, and the processing performance The above operation is repeated until the evaluation means 63 or the operator determines that the conversion coefficient is the optimum value.

以上の説明においては、前記移植評価装置50は、処理性能として処理速度のみを算出する構成について説明したが、前記処理性能は、前記処理速度の代わりにまたは前記処理速度に加えて処理速度以外の要素を算出する構成であってもよい。前記要素としては、例えば、モジュールやプログラム等の実行時間である処理時間を算出する構成であってもよい。   In the above description, the transplantation evaluation apparatus 50 has been described with respect to a configuration in which only the processing speed is calculated as the processing performance. However, the processing performance is not limited to the processing speed or in addition to the processing speed. The structure which calculates an element may be sufficient. For example, the element may be configured to calculate a processing time that is an execution time of a module or a program.

また、以上の説明においては、前記移植評価装置50は、所定のプログラムとして、モデルプログラムを用いて処理性能評価係数を算出する構成について説明したが、前記所定のプログラムとして前記モデルプログラム以外のプログラムを用いる構成であってもよい。例えば、前記モデルプログラムのようなベンチマーク用に特別に用意したプログラム以外のプログラムであって、過去に使用された評価対象プログラムであってもよい。但し、第一処理装置30と第二処理装置40で動作させるプログラムは、コンパイラ等の関係で若干異なったとしても、基本的には同じプログラムを用いるように構成されている。   Further, in the above description, the transplantation evaluation apparatus 50 has been described with respect to a configuration for calculating a processing performance evaluation coefficient using a model program as a predetermined program. However, a program other than the model program is used as the predetermined program. The structure to be used may be used. For example, it may be a program other than a program specially prepared for benchmarking such as the model program, and may be an evaluation target program used in the past. However, the programs that are operated by the first processing device 30 and the second processing device 40 are basically configured to use the same program even if they are slightly different due to a compiler or the like.

さらに、以上の説明においては、前記評価対象プログラムの各モジュール種別の比率による重み付けとして、前記評価対象プログラムの各モジュールの実行負荷比率による重み係数を算出する構成について説明したが、前記各モジュール種別の重み付けとして、前記実行負荷比率以外の比率を用いる構成であってもよい。例えば、前記評価対象プログラム内に存在する前記各モジュールの数による比率によって前記重み係数を算出する構成や、前記各モジュールのプログラム内における行数や文字数の合計による比率によって前記重み係数を算出する構成であってもよい。   Furthermore, in the above description, the configuration for calculating the weighting coefficient by the execution load ratio of each module of the evaluation target program as the weighting by the ratio of each module type of the evaluation target program has been described. A configuration using a ratio other than the execution load ratio may be used as the weighting. For example, a configuration in which the weighting factor is calculated based on a ratio based on the number of each module existing in the evaluation target program, or a configuration in which the weighting factor is calculated based on a ratio based on the total number of lines and characters in the program of each module. It may be.

以上のように、前記性能評価手段63や前記評価内容変更手段64を備えた構成とすることによって、前記パラメータやプログラムを試行錯誤しつつ変更することで、前記処理性能換算係数を最適な値に近づけることが可能となるのである。   As described above, with the configuration including the performance evaluation unit 63 and the evaluation content changing unit 64, the processing performance conversion coefficient is set to an optimum value by changing the parameters and the program through trial and error. It is possible to approach.

前記容量換算手段70は、前記第一処理装置30から前記第二処理装置40にソフトウェアを移行する際に、前記第一処理装置30におけるメモリ容量から前記第二処理装置40におけるメモリ容量を算出するように構成されており、電子制御ユニットの処理装置に組み込まれる複数のタスクからなるモデルプログラムに対して、第一処理装置で実行されるタスクまたはタスクを構成するモジュール単位のメモリ容量と、第二処理装置で実行されるタスクまたはタスクを構成するモジュール単位のメモリ容量とに基づいて、前記モデルプログラムの前記第一処理装置30で実行されるメモリ容量から前記第二処理装置40で実行されるメモリ容量を換算する近似式を算出する近似式算出手段71と、電子制御ユニットの処理装置に組み込まれる評価対象プログラムに対して、前記第一処理装置30で実行されるメモリ容量から前記第二処理装置40で実行されるメモリ容量を、前記近似式に基づいて算出するメモリ容量換算処理手段72と、算出されたメモリ容量が許容メモリ容量を満たしているか否かを判断する容量評価手段73とを備えて構成されている。   The capacity conversion means 70 calculates the memory capacity in the second processing device 40 from the memory capacity in the first processing device 30 when the software is transferred from the first processing device 30 to the second processing device 40. A model program comprising a plurality of tasks incorporated in the processing unit of the electronic control unit, and a memory capacity in units of modules constituting the task or task executed in the first processing unit, and the second Memory executed by the second processing device 40 from memory capacity executed by the first processing device 30 of the model program based on a task executed by the processing device or a memory capacity of a module unit constituting the task An approximate expression calculating means 71 for calculating an approximate expression for converting the capacity, and a processing device of the electronic control unit. Memory capacity conversion processing means 72 for calculating the memory capacity executed by the second processing device 40 based on the approximate expression from the memory capacity executed by the first processing device 30 for the evaluation target program; Capacity evaluation means 73 for determining whether or not the calculated memory capacity satisfies the allowable memory capacity is provided.

前記近似式算出手段71は、前記モデルプログラムの前記第一処理装置30で実行される前記メモリ容量から前記第二処理装置40で実行される前記メモリ容量を換算する近似式を算出するように構成されている。前記近似式は、以下に示すように3ステップにて算出されるように構成されている。   The approximate expression calculating means 71 is configured to calculate an approximate expression for converting the memory capacity executed by the second processing device 40 from the memory capacity executed by the first processing device 30 of the model program. Has been. The approximate expression is configured to be calculated in three steps as shown below.

第一ステップとして、前記第一処理装置30にモデルプログラムを組み込んだ場合のメモリ容量と、前記第二処理装置40に前記モデルプログラムを組み込んだ場合のメモリ容量を、タスクまたはモジュール単位で実測する。この場合の前記メモリ容量は、ROMに記憶されている前記モデルプログラムの容量と、前記モデルプログラムの実行時にRAMに展開されることによって発生するRAMに記憶されている前記モデルプログラムによるデータ等の容量の両方を含んでいる。   As a first step, the memory capacity when the model program is incorporated into the first processing device 30 and the memory capacity when the model program is incorporated into the second processing device 40 are measured in units of tasks or modules. The memory capacity in this case is the capacity of the model program stored in the ROM and the capacity of the data by the model program stored in the RAM generated by being expanded in the RAM when the model program is executed. Including both.

第二ステップとして、実測した各タスクまたはモジュールのメモリ容量のマップを作成する。前記マップは、前記第一処理装置30に前記モデルプログラムを組み込んだ場合のメモリ容量と、前記モデルプログラムを前記第二処理装置40に組み込んだ場合のメモリ容量を各々座標軸とした、図6に示すような2次元座標平面上に作成される。そして、前記2次元座標平面上に、前記第一処理装置30におけるタスクまたはモジュールのメモリ容量に対する、前記第二処理装置40における前記タスクまたは前記モジュールのメモリ容量をプロットすることでマップを作成する。前記マップは、図6に示すように、黒点(そのうちの一点をBで示す)で示された各々の点が、各タスクまたは各モジュールのメモリ容量に相当するように作成される。   As a second step, a map of the measured memory capacity of each task or module is created. The map is shown in FIG. 6 with the memory capacity when the model program is incorporated into the first processing device 30 and the memory capacity when the model program is incorporated into the second processing device 40 as coordinate axes. It is created on such a two-dimensional coordinate plane. Then, a map is created by plotting the memory capacity of the task or module in the second processing device 40 against the memory capacity of the task or module in the first processing device 30 on the two-dimensional coordinate plane. As shown in FIG. 6, the map is created so that each point indicated by a black dot (one of which is indicated by B) corresponds to the memory capacity of each task or each module.

第三ステップとして、前記マップ上の前記黒点の分布から近似式fを導出する。詳述すると、i種類のタスクまたはモジュールより構成される前記モデルプログラムにおいて、前記第一処理装置30におけるタスクまたはモジュールのメモリ容量をx(n:1からiの整数)、前記第二処理装置40におけるタスクまたはモジュールのメモリ容量をy(n:1からiの整数)とした複数のデータ(x,y)を、最小2乗法によってy=a+bxの一次式やy=ax+bxの二次式等に近似させるための係数aとbを導出する方法等の公知の方法を使用するように構成されている。 As a third step, an approximate expression f is derived from the distribution of the black spots on the map. More specifically, in the model program composed of i types of tasks or modules, the memory capacity of the tasks or modules in the first processing device 30 is x n (n: an integer from 1 to i), and the second processing device. A plurality of data (x n , y n ) in which the memory capacity of the task or module in 40 is y n (n: an integer from 1 to i) is expressed by a linear expression of y = a + bx or y = ax + bx 2 by the least square method. A known method such as a method of deriving the coefficients a and b for approximating the quadratic equation or the like is used.

前記メモリ容量換算処理手段72は、算出された前記近似式に基づいて、電子制御ユニットの処理装置に組み込まれる評価対象プログラムに対して、前記第一処理装置30で実行されるメモリ容量から前記第二処理装置40で実行されるメモリ容量を算出するように構成されており、詳述すると、前記第一処理装置30に前記評価対象プログラムを組み込んだ場合のメモリ容量を、前記近似式の変数(xまたはy)に代入することで、前記第二処理装置40に前記評価対象プログラムを組み込んだ場合のメモリ容量(yまたはx)を算出する。つまり、図6の2次元座標平面上に描かれた近似式fにおいて、前記第一処理装置30に前記評価対象プログラムを組み込んだ場合のメモリ容量を縦軸の値として適用した際に、前記縦軸の値に対応する横軸の値が、前記第二処理装置40に前記評価対象プログラムを組み込んだ場合のメモリ容量として算出される。   Based on the calculated approximate expression, the memory capacity conversion processing means 72 performs the first calculation from the memory capacity executed by the first processing device 30 on the evaluation target program incorporated in the processing device of the electronic control unit. The memory capacity executed by the two processing devices 40 is calculated. More specifically, the memory capacity when the evaluation target program is incorporated into the first processing device 30 is expressed by the variable of the approximate expression ( By substituting for x or y), the memory capacity (y or x) when the evaluation object program is incorporated into the second processing device 40 is calculated. That is, in the approximate expression f drawn on the two-dimensional coordinate plane in FIG. 6, when the memory capacity when the evaluation target program is incorporated in the first processing device 30 is applied as the value of the vertical axis, A value on the horizontal axis corresponding to the value of the axis is calculated as a memory capacity when the evaluation target program is incorporated into the second processing device 40.

前記容量評価手段73は、算出されたメモリ容量が許容メモリ容量を満たしているか否かを判断するように構成されている。詳述すると、前記第二処理装置40が搭載可能な最大メモリ容量を許容メモリ容量として前記容量評価手段73に登録しておき、前記メモリ容量換算処理手段72において算出されたメモリ容量を登録した前記許容メモリ容量と比較して、前記算出されたメモリ容量が前記許容メモリ容量より大きい場合に、前記算出されたメモリ容量で前記第二処理装置40を動作させることが不可能であるとの結果を出力するように構成されている。   The capacity evaluation unit 73 is configured to determine whether or not the calculated memory capacity satisfies an allowable memory capacity. More specifically, the maximum memory capacity that can be mounted on the second processing device 40 is registered in the capacity evaluation means 73 as an allowable memory capacity, and the memory capacity calculated in the memory capacity conversion processing means 72 is registered. When the calculated memory capacity is larger than the allowable memory capacity compared to the allowable memory capacity, it is impossible to operate the second processing device 40 with the calculated memory capacity. It is configured to output.

前記評価内容変更手段74は、前記容量評価手段73で許容メモリ容量を満たしていないと評価されたときに、前記評価対象プログラムを変更するように構成されている。詳述すると、前記評価対象プログラムに対して、予め設定された規定、例えば、許容メモリ容量を満足させるために特定のモジュールを削除したり、RAMをアクセスするアドレス範囲を制限する等により実質的にメモリサイズを縮小して、前記容量評価手段73で許容メモリ容量を満たしていると判断されるメモリ容量が算出されるような内容に自動的に変更するように構成されている。オペレータ(プログラム評価者)は、変更された評価対象プログラムに基づいて、更なる評価対象プログラムの修正や量産ECUの性能(仕様)見直し等の作業を行う。   The evaluation content changing unit 74 is configured to change the evaluation target program when the capacity evaluation unit 73 evaluates that the allowable memory capacity is not satisfied. More specifically, for the program to be evaluated, a predetermined rule, for example, a specific module is deleted in order to satisfy an allowable memory capacity, or an address range for accessing the RAM is substantially limited. The memory size is reduced, and the capacity evaluation means 73 is configured to automatically change the contents so that the memory capacity determined to satisfy the allowable memory capacity is calculated. The operator (program evaluator) performs operations such as further modification of the evaluation target program and review of performance (specifications) of the mass production ECU based on the changed evaluation target program.

尚、前記評価内容変更手段74における前記評価対象プログラムの変更は、上述した自動的に変更される構成の他にオペレータ(プログラム評価者)による手入力で変更される構成であってもよい。詳述すると、前記評価内容変更手段74は、オペレータによって、前記評価対象プログラムの変更が可能なキーボードやマウスで構成された入力部と、前記入力部で入力された前記評価対象プログラムや、前記評価対象プログラムに基づいた算出されたメモリ容量等が表示される表示部とを備えた構成であってもよい。   In addition, the change of the evaluation object program in the evaluation content changing means 74 may be changed by manual input by an operator (program evaluator) in addition to the above-described automatic change configuration. More specifically, the evaluation content changing means 74 includes an input unit composed of a keyboard and a mouse that can change the evaluation target program by an operator, the evaluation target program input by the input unit, and the evaluation A configuration may be provided that includes a display unit that displays a calculated memory capacity or the like based on the target program.

この場合、オペレータ(プログラム評価者)は、評価対象プログラムをどのように修正することが可能かを検討し、その修正内容に応じてマイクロコンピュータの構成等の変更を行ったり、実際に評価対象プログラムを修正した後に、再度容量評価手段73で評価することによって、許容メモリ容量を満たすプログラムを作成することができる。   In this case, the operator (program evaluator) examines how the evaluation target program can be corrected, changes the configuration of the microcomputer according to the correction contents, or actually evaluates the program to be evaluated. After correcting the above, by evaluating again with the capacity evaluation means 73, a program satisfying the allowable memory capacity can be created.

以上のように、前記容量評価手段73を備えた構成とすることによって、前記マイクロコンピュータの構成や評価対象プログラムを試行錯誤しつつ変更することで、的確にメモリ容量を許容範囲内とすることが可能となるのである。   As described above, by adopting the configuration including the capacity evaluation means 73, the memory capacity can be appropriately within the allowable range by changing the configuration of the microcomputer and the evaluation target program through trial and error. It becomes possible.

以下、前記移植評価装置50における処理速度とメモリ容量の評価について、図7と図8に示すフローチャートに基づいて説明する。   Hereinafter, the evaluation of the processing speed and the memory capacity in the transplantation evaluation apparatus 50 will be described based on the flowcharts shown in FIGS.

まず、目的とする評価対象プログラムの評価を行う前に、評価に用いる近似式や処理性能評価係数の算出を行う。   First, before evaluating a target evaluation target program, an approximate expression used for evaluation and a processing performance evaluation coefficient are calculated.

第一処理装置30に組み込まれたベンチマーク用ソフトウェアとしてのモデルプログラムのモジュール単位のメモリ容量を第一計測装置31によって計測し(SA1)、第二処理装置40に組み込まれた前記モデルプログラムのモジュール単位のメモリ容量を、第二計測装置41によって計測して(SA2)、近似式算出手段71は、計測された両者のメモリ容量に基づいて近似式を算出する(SA3)。   The memory capacity of the module unit of the model program as benchmark software incorporated in the first processing device 30 is measured by the first measuring device 31 (SA1), and the module unit of the model program incorporated in the second processing device 40 Is measured by the second measuring device 41 (SA2), and the approximate expression calculating means 71 calculates an approximate expression based on the measured memory capacities (SA3).

前記第一処理装置30に組み込まれた前記モデルプログラムのモジュール単位の処理速度を前記第一計測装置31によって計測し(SB1)、前記第二処理装置40に組み込まれた前記モデルプログラムのモジュール単位の処理速度を、前記第二計測装置41によって計測して(SB2)、処理性能評価係数算出手段610は、計測された両者の処理速度に基づいて処理性能評価係数を算出する(SB3)。   The module unit processing speed of the model program incorporated in the first processor 30 is measured by the first measuring device 31 (SB1), and the model program module unit incorporated in the second processor 40 is measured in module units. The processing speed is measured by the second measuring device 41 (SB2), and the processing performance evaluation coefficient calculation means 610 calculates a processing performance evaluation coefficient based on the measured processing speed (SB3).

これら図7(a)、(b)の処理は、評価対象プログラムの評価を行う前に、予め用意しておいたベンチマーク用のプログラムを、第一処理装置と第二処理装置とで実際に動作させてみて、その際の処理速度やメモリ容量等から近似式や処理性能評価係数の算出を行うものである。尚、この際に用いるプログラムはベンチマーク用に特別に用意したプログラムでなくてもよく、過去に評価した評価対象プログラムであってもよい。但し、第一処理装置と第二処理装置で動作させるプログラムは、コンパイラ等の関係で若干異なったとしても、基本的に同じプログラムを用いるのがよい。   7A and 7B, the benchmark program prepared in advance is actually operated on the first processor and the second processor before the evaluation target program is evaluated. In this case, the approximate expression and the processing performance evaluation coefficient are calculated from the processing speed and the memory capacity at that time. Note that the program used at this time may not be a program specially prepared for benchmarking, but may be an evaluation target program evaluated in the past. However, the programs to be operated by the first processing apparatus and the second processing apparatus should basically use the same program even if they are slightly different due to the compiler or the like.

評価を行うための事前準備が整うと、次に評価対象プログラムの評価を行う。   When advance preparation for evaluation is completed, the evaluation target program is evaluated next.

前記第一処理装置30に開発ソフトウェアとしての評価対象プログラムを組み込み、前記評価対象プログラムの前記第一処理装置30における処理速度やメモリ容量を前記第一計測装置31によって計測する(SC1)。   An evaluation target program as development software is incorporated into the first processing device 30, and the processing speed and memory capacity of the evaluation target program in the first processing device 30 are measured by the first measuring device 31 (SC1).

容量の換算について以下で説明する。メモリ容量換算処理手段72は、ステップSC1において計測された前記メモリ容量に前記近似式を適用することによって、前記第二処理装置40に前記評価対象プログラムを組み込んで実行させた場合のメモリ容量を算出する(SC2)。   The capacity conversion will be described below. The memory capacity conversion processing means 72 calculates the memory capacity when the evaluation target program is incorporated and executed in the second processing device 40 by applying the approximate expression to the memory capacity measured in step SC1. (SC2).

容量評価手段73は、算出されたメモリ容量が予め登録しておいた許容メモリ容量の規定値を満たしているか否かを判断する(SC3)。前記許容メモリ容量の規定値を満たしている場合は、前記評価対象プログラムの前記第二処理装置40への移植を実行する(SC10)。一方、前記許容メモリ容量の規定値を満たしていない場合は、オペレータが、前記評価対象プログラムの内容を変更することによって、前記評価対象プログラムの調整を行う(SC4)。そして、調整した前記評価対象プログラムにて、再びメモリ容量の算出を行う。この処理は、前記容量評価手段73が、算出されたメモリ容量が前記許容メモリ容量の規定値を満たしていると判断するまで繰り返される。   The capacity evaluation unit 73 determines whether or not the calculated memory capacity satisfies a pre-registered allowable memory capacity prescribed value (SC3). If the prescribed value of the allowable memory capacity is satisfied, porting of the evaluation target program to the second processing device 40 is executed (SC10). On the other hand, when the prescribed value of the allowable memory capacity is not satisfied, the operator adjusts the evaluation target program by changing the content of the evaluation target program (SC4). Then, the memory capacity is calculated again using the adjusted evaluation target program. This process is repeated until the capacity evaluation unit 73 determines that the calculated memory capacity satisfies the specified value of the allowable memory capacity.

速度の換算について以下で説明する。重み係数算出手段611は、前記評価対象プログラムの各モジュールの実行負荷比率による重み係数を算出し(SC5)、重み付け演算手段612は、前記重み係数算出手段611において算出された前記重み係数を前記処理性能評価係数に掛けた値に基づいて、処理性能換算係数を算出する(SC6)。そして、処理性能換算処理手段62は、ステップSC1において計測された前記処理速度に前記処理性能換算係数を適用することによって、前記第二処理装置40に前記評価対象プログラムを組み込んで実行させた場合の処理速度を算出する(SC7)。   The speed conversion will be described below. The weighting factor calculating unit 611 calculates a weighting factor based on the execution load ratio of each module of the evaluation target program (SC5), and the weighting calculating unit 612 performs the processing on the weighting factor calculated by the weighting factor calculating unit 611. A processing performance conversion coefficient is calculated based on the value multiplied by the performance evaluation coefficient (SC6). Then, the processing performance conversion processing means 62 applies the processing performance conversion coefficient to the processing speed measured in step SC1, thereby executing the evaluation target program in the second processing device 40 when it is executed. The processing speed is calculated (SC7).

性能評価手段63は、算出された処理速度が予め登録しておいた許容処理速度の規定値を満たしているか否かを判断する(SC8)。前記許容処理速度の規定値を満たしている場合は、前記評価対象プログラムの前記第二処理装置40への移植を実行する(SC10)。一方、前記処理速度の規定値を満たしていない場合は、評価内容変更手段64が自動で前記処理性能換算係数等を変更することで、またはオペレータが手動で前記処理性能換算係数等を変更することで、前記評価対象プログラムの調整を行う(SC9)。そして、調整した前記評価対象プログラムにて、再び処理速度の算出を行う。この処理は、前記性能評価手段63が、算出された処理速度が前記許容処理速度の規定値を満たしていると判断するまで繰り返される。   The performance evaluation unit 63 determines whether or not the calculated processing speed satisfies a pre-registered prescribed value of the allowable processing speed (SC8). If the prescribed value of the allowable processing speed is satisfied, the program to be evaluated is transplanted to the second processing device 40 (SC10). On the other hand, when the specified value of the processing speed is not satisfied, the evaluation content changing unit 64 automatically changes the processing performance conversion coefficient or the like, or the operator manually changes the processing performance conversion coefficient or the like. Then, the evaluation object program is adjusted (SC9). Then, the processing speed is calculated again using the adjusted evaluation target program. This process is repeated until the performance evaluation unit 63 determines that the calculated processing speed satisfies the prescribed value of the allowable processing speed.

以下、別実施形態について説明する。上述の実施形態では、処理性能換算係数算出手段61において、評価対象プログラム内の各モジュールの実行負荷比率によって重み係数を算出して、算出した重み係数を各タスクに適用することで、処理性能換算係数を前記タスク毎に算出する構成について説明したが、前記処理性能換算係数は前記タスク以外、例えば、前記評価対象プログラム毎に算出する構成であってもよい。   Hereinafter, another embodiment will be described. In the above-described embodiment, the processing performance conversion coefficient calculation means 61 calculates the weighting coefficient based on the execution load ratio of each module in the evaluation target program, and applies the calculated weighting coefficient to each task, thereby converting the processing performance. Although the configuration in which the coefficient is calculated for each task has been described, the processing performance conversion coefficient may be calculated for each evaluation target program other than the task, for example.

詳述すると、前記処理性能換算係数算出手段61において、モジュールの実行負荷比率による前記重み係数に加えて、前記評価対象プログラムを構成するタスクの実行負荷比率による第二重み係数を算出するように構成して、算出した第二重み係数を前記評価対象プログラムに適用することで、前記処理性能換算係数を前記評価対象プログラム毎に算出する構成であってもよい。   More specifically, the processing performance conversion coefficient calculating means 61 is configured to calculate a second weighting coefficient based on the execution load ratio of the task constituting the evaluation target program in addition to the weighting coefficient based on the module execution load ratio. And the structure which calculates the said processing performance conversion coefficient for every said evaluation object program by applying the calculated 2nd weighting coefficient to the said evaluation object program may be sufficient.

上述の実施形態では、処理性能評価係数算出手段610と近似式算出手段71は、何れも移植評価装置50に含まれている構成について説明したが、前記処理性能評価係数算出手段610や前記近似式算出手段71は、前記移植評価装置50に含まれていない構成であってもよい。   In the above-described embodiment, the processing performance evaluation coefficient calculation unit 610 and the approximate expression calculation unit 71 have been described as being included in the transplantation evaluation apparatus 50. However, the processing performance evaluation coefficient calculation unit 610 and the approximate expression are described. The calculation means 71 may be configured not included in the transplantation evaluation apparatus 50.

例えば、前記処理性能評価係数算出手段610や前記近似式算出手段71が、第一計測装置31や第二計測装置41に含まれる構成であってもよい。   For example, the processing performance evaluation coefficient calculation unit 610 and the approximate expression calculation unit 71 may be included in the first measurement device 31 and the second measurement device 41.

上述の実施形態では、重み係数算出手段611において、タスクの処理全体の実行回数に対する各モジュールの処理実行回数の割合を重み係数として算出する構成について説明したが、実行回数ではなく実行時間で重み付けする構成であってもよい。このような構成とすることによって、回数は少ないが実行時間が長いモジュールに重みを置いた重み係数を算出することが可能となる。   In the above-described embodiment, the configuration has been described in which the weighting factor calculation unit 611 calculates the ratio of the number of execution times of each module to the number of executions of the entire task processing as a weighting factor. It may be a configuration. By adopting such a configuration, it is possible to calculate a weighting coefficient by placing a weight on a module that has a small execution time but a long execution time.

以上説明した本発明による移植評価装置50は、処理性能換算係数算出手段61を処理性能換算係数算出ステップとして、処理性能換算処理手段62を処理性能換算処理ステップとして、性能評価手段63を速度評価ステップとして、評価内容変更手段64を評価内容変更ステップとして、近似式算出手段71を近似式算出ステップとして、メモリ容量換算処理手段72をメモリ容量換算処理ステップとして、そして、容量評価手段73を容量評価ステップとする移植評価方法としても実現される。   The transplantation evaluation apparatus 50 according to the present invention described above has the processing performance conversion coefficient calculation means 61 as a processing performance conversion coefficient calculation step, the processing performance conversion processing means 62 as a processing performance conversion processing step, and the performance evaluation means 63 as a speed evaluation step. As the evaluation content changing means 64, the approximate expression calculating means 71 as the approximate expression calculating step, the memory capacity conversion processing means 72 as the memory capacity conversion processing step, and the capacity evaluating means 73 as the capacity evaluation step. It is also realized as a transplant evaluation method.

上述した実施形態では、ソフトウェアリソースの移植評価装置を、電子制御ユニットの処理装置に組み込まれるソフトウェアに対して評価するものを説明したが、本発明による移植評価装置は車両に搭載される電子制御ユニットに対するソフトウェアに限るものではなく、例えば、プリンタ等のOA機器の電子制御ユニットに対するソフトウェア等に広く適用することができる。   In the embodiment described above, the software resource transplantation evaluation apparatus has been described for evaluating software incorporated in the processing device of the electronic control unit. However, the transplantation evaluation apparatus according to the present invention is an electronic control unit mounted on a vehicle. For example, the present invention can be widely applied to software for an electronic control unit of an OA device such as a printer.

尚、上述した実施形態は、本発明の一例に過ぎず、本発明の作用効果を奏する範囲において各ブロックの具体的構成等を適宜変更設計できることは言うまでもない。   Note that the above-described embodiment is merely an example of the present invention, and it is needless to say that the specific configuration and the like of each block can be changed and designed as appropriate within the scope of the effects of the present invention.

複数の電子制御ユニットのブロック構成図Block diagram of multiple electronic control units 移植評価装置のブロック構成図Block diagram of transplant evaluation device 処理性能換算係数算出の説明図Illustration of processing performance conversion factor calculation 重み係数算出の説明図Illustration of weighting factor calculation (a)は、における未実行処理排除処理を示し、(b)は、プロセスのモジュール種類毎の分類を示し、(c)は、重み係数の算出を示す説明図(A) shows the unexecuted process elimination process in (b), shows the classification for each module type of the process, (c) is an explanatory diagram showing the calculation of the weighting coefficient 近似式算出のためのグラフの説明図Illustration of graph for calculating approximate expression 近似式と処理性能評価係数算出のフローチャートApproximation formula and processing performance evaluation coefficient calculation flowchart 移植評価装置の動作を説明するためのフローチャートFlow chart for explaining operation of transplantation evaluation apparatus

符号の説明Explanation of symbols

30:第一処理装置
31:第一計測装置
40:第二処理装置
41:第二計測装置
50:移植評価装置
61:処理性能換算係数算出手段
62:処理性能換算処理手段
63:性能評価手段
64:評価内容変更手段
72:メモリ容量換算処理手段
73:容量評価手段
30: first processing device 31: first measuring device 40: second processing device 41: second measuring device 50: transplantation evaluation device 61: processing performance conversion coefficient calculation means 62: processing performance conversion processing means 63: performance evaluation means 64 : Evaluation content changing means 72: Memory capacity conversion processing means 73: Capacity evaluation means

Claims (7)

電子制御を行なう処理装置に組み込まれる複数のタスクからなる評価対象プログラムの、第一処理装置における処理性能から、第二処理装置における処理性能を算出するソフトウェアの移植評価装置であって、
所定のプログラムの前記第一処理装置と前記第二処理装置とにおける処理性能から求められる処理性能評価係数を前記評価対象プログラムのタスクを構成するモジュール特性により重み付けして得られる処理性能換算係数に基づいて、前記処理性能を算出する処理性能換算処理手段を備えてなるソフトウェアの移植評価装置。
A software porting evaluation device for calculating the processing performance of the second processing device from the processing performance of the first processing device of the evaluation target program composed of a plurality of tasks incorporated in the processing device performing electronic control,
Based on the processing performance conversion coefficient obtained by weighting the processing performance evaluation coefficient obtained from the processing performance in the first processing apparatus and the second processing apparatus of a predetermined program by the module characteristics constituting the task of the evaluation target program A software porting evaluation apparatus comprising processing performance conversion processing means for calculating the processing performance.
前記処理性能換算処理手段は、所定のプログラムのタスクを構成するモジュール種別毎に求められた処理性能評価係数を、前記評価対象プログラムのタスクを構成する各モジュール種別の比率によって重み付けすることによって、前記処理性能換算係数を算出するものである請求項1記載のソフトウェアの移植評価装置。   The processing performance conversion processing means weights the processing performance evaluation coefficient obtained for each module type constituting the task of the predetermined program by the ratio of each module type constituting the task of the evaluation target program, The software porting evaluation apparatus according to claim 1, which calculates a processing performance conversion coefficient. 電子制御を行なう処理装置に組み込まれる複数のタスクからなる評価対象プログラムの、第一処理装置における処理性能から、第二処理装置における処理性能を換算する処理性能換算係数を算出する処理性能換算係数算出手段を備えてなり、前記処理性能換算係数算出手段は、複数のタスクからなる所定のプログラムの前記第一処理装置と前記第二処理装置とにおけるタスクを構成するモジュール種別毎に求められた処理性能の比率である処理性能評価係数に、前記評価対象プログラムのタスクを構成する各モジュール種別の比率によって重み付けすることによって、前記処理性能換算係数を算出するソフトウェアの移植評価装置。   A processing performance conversion coefficient calculation that calculates a processing performance conversion coefficient for converting the processing performance in the second processing device from the processing performance in the first processing device of the evaluation target program composed of a plurality of tasks incorporated in the processing device that performs electronic control. The processing performance conversion coefficient calculating means is a processing performance determined for each module type constituting a task in the first processing device and the second processing device of a predetermined program comprising a plurality of tasks. A software porting evaluation apparatus that calculates the processing performance conversion coefficient by weighting the processing performance evaluation coefficient, which is a ratio of the above, by the ratio of each module type constituting the task of the evaluation target program. 電子制御を行なう処理装置に組み込まれる複数のタスクからなる評価対象プログラムの、第一処理装置で使用されるメモリ容量から、第二処理装置で使用されるメモリ容量を算出するソフトウェアの移植評価装置であって、
所定のプログラムの前記第一処理装置と前記第二処理装置とで使用されるタスクまたはタスクを構成するモジュール種別毎のメモリ容量から前記第二処理装置で使用されるメモリ容量を換算する近似式を算出する近似式算出手段と、評価対象プログラムに対して、前記第一処理装置で使用されるメモリ容量から前記第二処理装置で使用されるメモリ容量を、前記近似式に基づいて算出するメモリ容量換算処理手段を備えてなるソフトウェアの移植評価装置。
A software porting evaluation device for calculating the memory capacity used in the second processing device from the memory capacity used in the first processing device of the evaluation target program composed of a plurality of tasks incorporated in the processing device performing electronic control There,
An approximate expression for converting the memory capacity used in the second processing device from the memory capacity for each module type constituting the task or the task used in the first processing device and the second processing device of a predetermined program An approximate expression calculating means for calculating, and a memory capacity for calculating a memory capacity used in the second processing device based on the approximate expression from a memory capacity used in the first processing device for the evaluation target program A software porting evaluation apparatus comprising conversion processing means.
電子制御を行なう処理装置に組み込まれる複数のタスクからなる評価対象プログラムの、第一処理装置における処理性能から、第二処理装置における処理性能を算出するソフトウェアの移植評価方法であって、
所定のプログラムの前記第一処理装置と前記第二処理装置とにおける処理性能から求められる処理性能評価係数を前記評価対象プログラムのタスクを構成するモジュール特性により重み付けして得られる処理性能換算係数に基づいて、前記処理性能を算出する処理性能換算処理ステップと、
算出された処理性能が許容処理性能を満たしているか否かを判断する性能評価ステップと、前記性能評価ステップで許容処理性能を満たしていないと評価されたときに前記処理性能換算係数を変更する評価内容変更ステップと、
変更された処理性能換算係数に基づいて前記処理性能換算処理ステップおよび前記評価ステップを実行するソフトウェアの移植評価方法。
A software porting evaluation method for calculating the processing performance in the second processing device from the processing performance in the first processing device of the evaluation target program composed of a plurality of tasks incorporated in the processing device performing electronic control,
Based on the processing performance conversion coefficient obtained by weighting the processing performance evaluation coefficient obtained from the processing performance in the first processing apparatus and the second processing apparatus of a predetermined program by the module characteristics constituting the task of the evaluation target program A processing performance conversion processing step for calculating the processing performance;
A performance evaluation step for determining whether or not the calculated processing performance satisfies the allowable processing performance, and an evaluation for changing the processing performance conversion coefficient when it is evaluated that the allowable processing performance is not satisfied in the performance evaluation step Content change step;
A software porting evaluation method for executing the processing performance conversion processing step and the evaluation step based on the changed processing performance conversion coefficient.
前記処理性能換算処理ステップは、所定のプログラムのタスクを構成するモジュール種別毎に求められた処理性能評価係数を、前記評価対象プログラムのタスクを構成する各モジュール種別の比率によって重み付けすることによって、前記処理性能換算係数を算出するものであり、前記重みが変更されることにより前記処理性能換算係数が変更されるものである請求項5記載のソフトウェアの移植評価方法。   The processing performance conversion processing step weights the processing performance evaluation coefficient obtained for each module type constituting the task of the predetermined program by the ratio of each module type constituting the task of the evaluation target program, 6. The software porting evaluation method according to claim 5, wherein the processing performance conversion coefficient is calculated, and the processing performance conversion coefficient is changed by changing the weight. 電子制御を行なう処理装置に組み込まれる複数のタスクからなる評価対象プログラムの、第一処理装置で使用されるメモリ容量から、第二処理装置で使用されるメモリ容量を算出するソフトウェアの移植評価方法であって、
所定のプログラムの前記第一処理装置と前記第二処理装置とで使用されるタスクまたはタスクを構成するモジュール種別毎のメモリ容量から前記第二処理装置で使用されるメモリ容量を換算する近似式を算出する近似式算出ステップと、評価対象プログラムに対して、前記第一処理装置で使用されるメモリ容量から前記第二処理装置で使用されるメモリ容量を、前記近似式に基づいて算出するメモリ容量換算処理ステップと、算出されたメモリ容量が許容メモリ容量を満たしているか否かを判断する容量評価ステップと、前記容量評価ステップで許容メモリ容量を満たしていないと評価されたときに、前記評価対象プログラムを変更する評価内容変更ステップを備えてなるソフトウェアの移植評価方法。
A software porting evaluation method for calculating the memory capacity used in the second processing device from the memory capacity used in the first processing device of the evaluation target program composed of a plurality of tasks incorporated in the processing device performing electronic control. There,
An approximate expression for converting the memory capacity used in the second processing device from the memory capacity for each module type constituting the task or the task used in the first processing device and the second processing device of a predetermined program A memory capacity for calculating a memory capacity used in the second processing apparatus from a memory capacity used in the first processing apparatus based on the approximate expression for an approximate expression calculating step to calculate and a program to be evaluated A conversion processing step, a capacity evaluation step for determining whether or not the calculated memory capacity satisfies an allowable memory capacity, and the evaluation object when it is evaluated that the allowable memory capacity is not satisfied in the capacity evaluation step A software porting evaluation method comprising an evaluation content changing step for changing a program.
JP2006126803A 2006-04-28 2006-04-28 Apparatus and method for evaluating porting of software Pending JP2007299212A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006126803A JP2007299212A (en) 2006-04-28 2006-04-28 Apparatus and method for evaluating porting of software

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006126803A JP2007299212A (en) 2006-04-28 2006-04-28 Apparatus and method for evaluating porting of software

Publications (1)

Publication Number Publication Date
JP2007299212A true JP2007299212A (en) 2007-11-15

Family

ID=38768656

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006126803A Pending JP2007299212A (en) 2006-04-28 2006-04-28 Apparatus and method for evaluating porting of software

Country Status (1)

Country Link
JP (1) JP2007299212A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010286892A (en) * 2009-06-09 2010-12-24 Mitsubishi Electric Corp Processing time estimation device and processing time estimation program
CN106033391A (en) * 2015-03-13 2016-10-19 上海爱韦讯信息技术有限公司 Method and device for fixing bug and changing control based on FOG data
CN109416637A (en) * 2016-03-30 2019-03-01 索尼互动娱乐股份有限公司 The specific operating parameter of application program is exported for backward compatibility
WO2020238965A1 (en) * 2019-05-31 2020-12-03 深圳前海微众银行股份有限公司 Production environment performance evaluation method and apparatus, and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07262055A (en) * 1994-03-17 1995-10-13 Fujitsu Ltd Processing time predicting method for computer program and computer therefor
JPH08137725A (en) * 1994-11-14 1996-05-31 Hitachi Ltd Performance prediction device
JP2000122898A (en) * 1998-10-15 2000-04-28 Nec Corp Method and device for simulation
JP2000207255A (en) * 1999-01-11 2000-07-28 Nec Corp Method for predicting object-oriented program performance
JP2002244891A (en) * 2001-01-31 2002-08-30 Hewlett Packard Co <Hp> Method of automatically improving performance of computer system
JP2002342126A (en) * 2001-05-15 2002-11-29 Canon Inc Device and method for performing program
JP2003044327A (en) * 2001-07-30 2003-02-14 Ntt Comware Corp Business startup discriminating device of information system under multiplexing environment and method for predicting business processing time
JP2004318449A (en) * 2003-04-16 2004-11-11 Hitachi Ltd Method for simulating program execution speed
JP2005099973A (en) * 2003-09-24 2005-04-14 Hitachi Ltd Operation management system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07262055A (en) * 1994-03-17 1995-10-13 Fujitsu Ltd Processing time predicting method for computer program and computer therefor
JPH08137725A (en) * 1994-11-14 1996-05-31 Hitachi Ltd Performance prediction device
JP2000122898A (en) * 1998-10-15 2000-04-28 Nec Corp Method and device for simulation
JP2000207255A (en) * 1999-01-11 2000-07-28 Nec Corp Method for predicting object-oriented program performance
JP2002244891A (en) * 2001-01-31 2002-08-30 Hewlett Packard Co <Hp> Method of automatically improving performance of computer system
JP2002342126A (en) * 2001-05-15 2002-11-29 Canon Inc Device and method for performing program
JP2003044327A (en) * 2001-07-30 2003-02-14 Ntt Comware Corp Business startup discriminating device of information system under multiplexing environment and method for predicting business processing time
JP2004318449A (en) * 2003-04-16 2004-11-11 Hitachi Ltd Method for simulating program execution speed
JP2005099973A (en) * 2003-09-24 2005-04-14 Hitachi Ltd Operation management system

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010286892A (en) * 2009-06-09 2010-12-24 Mitsubishi Electric Corp Processing time estimation device and processing time estimation program
CN106033391A (en) * 2015-03-13 2016-10-19 上海爱韦讯信息技术有限公司 Method and device for fixing bug and changing control based on FOG data
JP2020123374A (en) * 2016-03-30 2020-08-13 株式会社ソニー・インタラクティブエンタテインメント Deriving application-specific operating parameters for backwards compatibility
JP2019511790A (en) * 2016-03-30 2019-04-25 株式会社ソニー・インタラクティブエンタテインメント Real-time adjustment of application-specific operating parameters for backward compatibility
JP2019513273A (en) * 2016-03-30 2019-05-23 株式会社ソニー・インタラクティブエンタテインメント Derivation of Application-Specific Operating Parameters for Backward Compatibility
JP2020115390A (en) * 2016-03-30 2020-07-30 株式会社ソニー・インタラクティブエンタテインメント Realtime adjustment of application specific operation parameter for backward compatibility
CN109416637A (en) * 2016-03-30 2019-03-01 索尼互动娱乐股份有限公司 The specific operating parameter of application program is exported for backward compatibility
JP2021182428A (en) * 2016-03-30 2021-11-25 株式会社ソニー・インタラクティブエンタテインメント Real-time adjustment of application-specific operating parameters for backward compatibility
JP7021280B2 (en) 2016-03-30 2022-02-16 株式会社ソニー・インタラクティブエンタテインメント Derivation of application-specific operating parameters for backward compatibility
JP2022058878A (en) * 2016-03-30 2022-04-12 株式会社ソニー・インタラクティブエンタテインメント Derivation of application-specific operating parameters for backward compatibility
JP7212114B2 (en) 2016-03-30 2023-01-24 株式会社ソニー・インタラクティブエンタテインメント Real-time adjustment of application-specific operating parameters for backward compatibility
JP7301183B2 (en) 2016-03-30 2023-06-30 株式会社ソニー・インタラクティブエンタテインメント Derivation of application-specific operating parameters for backward compatibility
WO2020238965A1 (en) * 2019-05-31 2020-12-03 深圳前海微众银行股份有限公司 Production environment performance evaluation method and apparatus, and storage medium

Similar Documents

Publication Publication Date Title
CN107220407B (en) Method for constructing vibration simulation model of converter cabinet
US7962228B2 (en) Evaluation device for control system, validation device used in evaluation device, method for evaluating control system, and computer program used therein
CN109711061A (en) Dynamic assembly suspension Robust Optimization method based on vehicle idle vibration performance
US9612592B2 (en) Method for real-time testing of a control unit for an internal combustion engine using a simulator
US9952567B2 (en) Method for setting up a functionality for a control unit
RU2010152496A (en) SYSTEM AND METHOD FOR DETERMINING CHARACTERISTIC PARAMETERS OF THE AIRCRAFT
Liao‐McPherson et al. Model predictive emissions control of a diesel engine airpath: Design and experimental evaluation
CN104408271A (en) Model-based gasoline engine calibration method
CN108984972B (en) Water quality mathematical model optimization method based on big data and parallel computation
JP2007299212A (en) Apparatus and method for evaluating porting of software
CN113127971B (en) Vehicle mass optimization method, device, equipment and storage medium
CN114528641A (en) Optimization method of platform vehicle body structure and storage medium
CN113673089B (en) Engine performance determining method and device and electronic equipment
US8850386B2 (en) Method for estimating resource consumption in the generation of a control device program code
KR20240016924A (en) Digital Twin System and Method for Real Time Monitoring, Virtual Operation and Optimization of On-Site Equipment
US9841954B1 (en) Method and system for automatic code generation
CN112149323B (en) Satellite noise prediction method and device
JP4529964B2 (en) Simulation device, simulation method, and simulation program
JP2019127100A (en) On-vehicle software juxtaposing method and on-vehicle software juxtaposing system
WO2018224136A1 (en) System and method for emissions determination and correction
US20200081417A1 (en) Model numerical solver for system control
Minovski et al. Study of software integration for transient simulation of future cooling system for heavy truck application
KR20160065641A (en) Apparatus and method for verification of virtual engine based on hsil
JP4802789B2 (en) Design value optimization method and design value optimization system
CN117454565A (en) AGV chassis optimization method and system

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090529

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090630

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090831

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20100622