168
(3) Select the line of the [Performance Analysis] window that has 1 in its [No] column and click the right-hand
mouse button to display a popup menu. Select [Set…] from this popup menu to display the [Performance
Analysis Properties] dialog box.
Figure 6.64 [Performance Analysis Properties] Dialog Box
(4) Select Time Of Specified Range Measurement from the [Measurement Method PA1] combo box.
(5) The parameter settings are as follows.
• Enter “sort” in the [Range Name] edit box.
• Click the […] button to the right of the [Start Address] edit box to display the [Input Function Range]
dialog box. Enter the function name “Sample::sort (long *)” in the [Function] edit box of this dialog box
and then click the [OK] button. The corresponding addresses for the function “Sample::sort (long *)”
will now be set in the [Start Address] and [End Address] edit boxes.
Figure 6.65 [Input Function Range] Dialog Box
Note: The addresses figured out in the [Input Function Range] dialog box are just for reference. In some cases,
the end address of a function may be different. Check the last instruction of the function in the
[Disassembly] window to correct the value set in [End Address] so that it will be the address of the last
instruction (in general, the last instruction of a function is a RTS instruction). A label name or an
expression can be entered instead of an address value in boxes where an address should be entered.