beautypg.com

Renesas SuperH Family E10A-USB User Manual

Page 55

background image

47

Each measurement condition is also counted when conditions in table 2.14 are generated.

Table 2.14 Performance Measurement Conditions to be Counted

Measurement Condition

Notes

No caching due to the
settings of TLB cacheable
bit

Counted for accessing the cacheable area.

Cache-on counting

Accessing the non-cacheable area is counted less than the actual
number of cycles and counts. Accessing the cacheable, X/Y-RAM,
and U-RAM areas is counted more than the actual number of cycles
and counts.

Branch count

The counter value is incremented by 2. This means that two cycles
are valid for one branch.

Notes: 1. In the non-realtime trace mode of the AUD trace and memory output trace, normal

counting cannot be performed because the generation state of the stall or the execution
cycle is changed.

2. Since the clock source of the counter is the CPU clock, counting also stops when the

clock halts in the sleep mode.

(d) Extension setting of the performance-result storing counter

The 32-bit counter stores the result of performance, and two counters can be used as a 64-bit
counter.

To set a 64-bit counter, check the [Enable] check box in the [Extend counter] group box of the
[Performance Analysis] dialog box for Ch1 and Ch3.

2. Displaying the result of performance

The result of performance is displayed in the [Performance Analysis] window or the
PERFORMANCE_ANALYSIS command in hexadecimal (32 bits).

However, when the extension counter is enabled, it is displayed in hexadecimal (64 bits).

Note: If a performance counter overflows as a result of measurement, “********” will be

displayed.

3. Initializing the measured result

To initialize the measured result, select [Initialize] from the popup menu in the [Performance
Analysis] window or specify INIT with the PERFORMANCE_ANALYSIS command.

This manual is related to the following products: