Everything
 

Optimization Performance Comparison Tool dialog box


This wizard-type dialog box is used to measure and compare the ROM size or execution speed for the case in which the build options recommended by the build tool are applied.

The measurement method is specified in the first page and the result is displayed in the second page.

Figure A.28

Optimization Performance Comparison Tool Dialog Box (First Page)

Figure A.29

Optimization Performance Comparison Tool Dialog Box (Second Page)

 

The following items are explained here.

[How to open]

-

From the [Build] menu, select [Open the Optimization Performance Comparison Tool for active project...].

[Description of each area]

(1)

Pattern selection area (first page)

Select whether to try an option pattern related to optimization of the ROM size or an option pattern related to optimization of the execution speed.

Trying both option patterns is also possible.

Along with selected patterns, the current build-mode options are tested.

 

When trying an option pattern related to optimization of the execution speed, specify the measurement range in [Measurement start address/symbol] and [Measurement end address/symbol].

Directly enter a hexadecimal number or address expression in each text box or select one from the input history via the drop-down list (up to 10 items).

Remark 1.

The symbol name at the current caret position can be complemented by pressing the [Ctrl] + [Space] keys in this text box.

Remark 2.

If you enter a function name in each text box and one or both functions are inline-expanded due to optimization, errors may occur during measurement or measurement may not be finished. In such cases, you can avoid the errors by adding the following statement before the definition of the function or functions.

#pragma noinline function name

(2)

[Results of measurement] (second page)

The ROM size and execution speed for each option pattern are displayed.

The value with the highest performance is displayed in green while the value with the lowest performance is displayed in red.

The option pattern selected here can be reflected in the current build options.

Clicking the [Save] button opens the Save As dialog box to allow saving of the contents displayed in [Results of measurement] in a specified file.

(3)

[Build options] (second page)

The build options set by each option pattern are displayed.

Remark

See the user's manual of the compiler for details about build options.

(4)

Area for selecting method of reflection to build mode (second page)

Select which build mode to reflect the build options selected in [Results of measurement] when reflecting the build options.

If the build options are to be reflected as a new build mode, the build mode name can be specified.

[Function buttons]

Button

Function

Back (second page)

Returns to the first page.

Click this button to re-compare the optimization performance.

Start (first page)

Starts to compare the optimization performance.

The performance is compared by reflecting the specified option pattern to the build tool and then running the build tool and debug tool. Therefore, building and debugging of the program needs to be possible.

Reflect (second page)

Reflects the build options selected in [Results of measurement] to the build mode and closes this dialog box.

Cancel

Closes this dialog box without performing comparison and reflection of build options.

Help

Displays the help of this dialog box.