137
CHAPTER2 Dependence Functions
2.3.8.1 Performance Measurement Procedures
Performance can be measured by the following procedure:
• Set event mode.
• Set minimum measurement unit for timer.
• Specify performance-buffer-full break.
• Set events.
• Execute program.
• Display measurement result.
• Clear measurement result.
■ Setting Event Mode
Select [Setup]-[Debug Environment]-[Debug Environment] - [Event] tab or use the SET MODE command
to set the event mode to the performance mode.
[Example]
>SET MODE/PERFORMANCE
>
■ Setting Minimum Measurement Unit for Timer
Measuring unit of timer to be used for performance measurement is 1ns. Also, resolution of measurement
data is 25ns.
■ Setting Performance-Buffer-Full Break
When the buffer for storing performance measurement data becomes full, a execution program can be
broken. This function is called the performance-buffer-full break. The performance buffer becomes full
when an event occurs 65535 times.
If the performance-buffer-full break is not specified, the performance measurement ends, but the program
does not break.
[Example]
>SET PERFORMANCE/NOBREAK Specifying Not Break
>