Performance Measurement Procedures - Fujitsu SOFTUNE F2 MC-16 User Manual

Software for developing programs for the f2 mc-16 family of microprocessors / microcontrollers
Hide thumbs Also See for SOFTUNE F2 MC-16:
Table of Contents

Advertisement

2.3.7.1

Performance Measurement Procedures

Performance can be measured by the following procedure:
• Setting event mode.
• Setting minimum measurement unit for timer.
• Specify performance-buffer-full break.
• Setting events.
• Execute program.
• Display measurement result.
• Clear measurement result.
■ Setting Event Mode
Set the event mode to the performance mode using the SET MODE command. This enables the performance
measurement function.
[Example]
>SET MODE/PERFORMANCE
>
■ Setting Minimum Measurement Unit for Timer
It is 1ns as the minimum measurement unit for the timer used to measure performance. And a resolution of
performance measurement data is 25ns.
■ Specify Performance-Buffer-Full Break
When the buffer for storing performance measurement data becomes full, a executing 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
>
■ Setting Events
Set events using the SET EVENT command.
The starting/ending point of time measurement and points to measure pass count are specified by events.
Events at 8 points (1 to 8) can be set. However, in the performance measurement, the intervals, starting event
number and ending event number are fixed in the following combination.
● Measuring Time
Four intervals have the following fixed event number combination.
CHAPTER 2 DEPENDENCE FUNCTIONS
<- Specifying Not Break
185

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Softune workbench

Table of Contents