User`s manual

SuperH Family E10A-USB Emulator Section 2 Emulator Functions
R20UT0870EJ1000 Rev. 10.00 Page 16 of 292
Aug 10, 2012
(3) Forced break function
Forcibly breaks the user program.
2.4 Performance Measurement Function
The emulator has two types of performance measurement functions.
2.4.1 Function for Measuring the Number of Cycles from Point to Point
This function applies a counter in the device to measure the number of cycles from one specified
condition being satisfied until a next specified condition is satisfied.
Not only the number of cycles but also various items such as the number of cache misses or of
TLB misses can be measured according to the supported devices.
This function is hereafter called the performance measurement function or PA1.
Notes: 1. Supplemental Explanation on Performance Measurement for Products of the SH-2A
Device Group
Regarding Measurement of Numbers of Exceptions and Interrupts
Even when [Exception/interrupt counts (EA)] is selected as the item for measurement,
trap-instruction exceptions due to TRAPA instructions will not be counted.
2. Items to be measured differ according to the product and some products do not support
this function. For details on the specifications of each product, refer to the online help.
2.4.2 Profiling Function
The profiling function is used to measure the performance of each function.
A function having low performance can be easily found if the statistics of the time for each
function are maintained.
Notes: 1. Use of the profiling and performance measurement functions at the same time is not
possible. The [Can not use this function] error message dialog box will be displayed if
simultaneous use is attempted.
2. Items to be measured differ according to the product and some products do not support
this function. For details on the specifications of each product, refer to the online help.