User’s Manual
(
Preliminary
)
IECUBE2 main (QB-V850E2)
ZUD-CD-10-0092 12/19
1.3.5
Time measurement function
This function is used to measure the execution time of a specific section. The measurement start and end
points can be set by using the event function.
In addition, the maximum, minimum, and average execution time and the number by which the measurement
section has been passed can be measured.
1.3.6
Event function (specific CPU operation detection)
The event function is used to detect specific fetch and access operations by observing the CPU bus cycle. CPU
operations, such as of an address being executed and a variable being accessed can be detected. Such specific
CPU operations are called events. Use the event function together with the following functions.
- Hardware break function
- Trace function
- Time measurement function
The events that can be registered by using the event function are as follows.
(1) Pre-execution
event
A pre-execution event is detected when execution of an address is attempted. It can be used only with the
hardware break function. Four pre-execution event points can be specified.
[Detection conditions that can be specified]
- Execution address
(2) Post-execution
event
A post-execution event is detected when an address has been executed. The address of a post-execution
event can be specified as a range. Up to eight post-execution event points can be specified, but if the
execution address has been specified as a range, two points will be consumed. When the execution
address has been specified as a range for all events, four event points can be specified.
[Detection conditions that can be specified]
- Execution address (can be specified as a range)
(3) Access
event
An access event is detected when an address has been accessed (read or written). The following
detection conditions can be specified for an access event.
Up to six access event points can be specified, but if the access address has been specified as a range, two
points will be consumed. When the access address has been specified as a range for all events, three
event points can be specified.
[Detection conditions that can be specified]
- Access address (can be specified as a range)
- Access data
- Access size
- Access status (read, write, both read and write)