2.14 Measuring the Execution Time

This section describes how to measure a program’s execution time.

Caution 1.

[EZ Emulator [RX200 Series]]
If the reset signal is input through the reset pin, execution time that has been measured is cleared when the EZ Emulator restarts the execution of the program.

Caution 2.

[E1/E20/EZ Emulator [RX600 Series]]
The number of times interrupts or exceptions occur and the number of RTE or RTFI instructions must be the same, so obtaining this balance is a precondition. If the number of times interrupts or exceptions occur and the number of RTE or RTFI instructions are not the same, that is, balance has not been obtained, correct measurement of the number of cycles for processing is not possible. Also, data can only be retained for 16 levels of nesting. Therefore, if nesting of interrupts or exceptions reaches the 17th level, correct measurement is not possible.