User`s manual

SuperH Family E10A-USB Emulator Section 6 Tutorial
R20UT0870EJ1000 Rev. 10.00 Page 245 of 292
Aug 10, 2012
6.21 Performance Measurement Function
The emulator has performance measurement functions.
Performance measurement function
This function applies a counter in the MCU/MPU to measure the number of times various
events have occurred and cycle count. A start and end condition for counting can be set.
Various items that can be measured differ according to the supported MCU/MPU.
Profiling function
The profiling function is used to measure the performance of each function.
When execution of the user program is ended, the number of times each function is called and
the measured data are displayed. The measured items are the same as those for the number of
times various events have occurred, and cycle count.
6.21.1 Performance Measurement Function
The following is an example of the use of a counter in the MCU/MPU to measure the number of
times various events have occurred and cycle count.
This function cannot be used with the profiling function that is described later.
(1) Setting method
Select [Performance Analysis] from the [Performance] submenu of the [View] menu. When the
[Select Performance Analysis Type] dialog box will open, click the [OK] button.
Figure 6.54 [Select Performance Analysis Type] Dialog Box