169
(6) Click the [Settings…] button in the [Common Settings of Performance(PA1-8)] group box to display the
[Common Settings of Performance(PA1-8)] dialog box. Select [PC] from the [Address Control Mode] combo
box and then click the [OK] button. PC is now displayed in the [Address Control Mode] text field of the
[Common Setting of Performance(PA1-8)] dialog box.
Figure 6.66 [Common Setting of Performance(PA1-8)] Dialog Box
(7) Click the [OK] button to display the content that has been set for line 1 of the [No] column in the
[Performance Analysis] window. This completes the settings for a Time Of Specified Range Measurement.
Figure 6.67 [Performance Analysis] Dialog Box (Setting Completed)
(8) Set an event point at the address on the line that has ‘p_sam->change(a);’ within the
tutorial
function
(
H’0000107
in this example) so that a break occurs when the specified
sort
function has been executed
three times (refer to section 6.15.2, Breaking Execution at Event Points).
(9) Select [Reset Go] from the [Debug] menu. Processing stops when the break condition is satisfied, and the
[Performance Analysis] window then displays the information shown below. The value shown in the [Count]
column is 3, which indicates that the
sort
function has been executed three times and the execution time.
Figure 6.68 [Performance Analysis] Dialog Box (Displaying the Result)
(10) Delete the setting for performance analysis and remove the event point. Click the right-hand mouse button
on the [Performance Analysis] window to display a popup menu. Select [Reset All] from this popup menu to
delete all of the settings. Clicking the right-hand mouse button on the [Event] window also displays a popup
menu. Select [Delete All] from this popup menu to remove all the event points that have been set.
Summary of Contents for H8 Series
Page 4: ......
Page 6: ......
Page 20: ...viii...
Page 21: ...Emulator Debugger Part...
Page 22: ......
Page 26: ...4...
Page 40: ...18...
Page 46: ...24...
Page 148: ...126 Figure 6 8 Editor Window Break Status...
Page 202: ...180...
Page 250: ...228...
Page 262: ...240...
Page 271: ......