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.2.9.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
Using the SET TIMESCALE command, choose either 1 μs or 100 ns as the minimum measurement unit for
the timer used to measure performance. The default is 1 μs.
When the minimum measurement unit is changed, the performance measurement values are cleared.
[Example]
>SET TIMERSCALE/1U
>
■ 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 32767 times.
If the performance-buffer-full break is not specified, the performance measurement ends, but the program
does not break.
[Example]
>SET PERFORMANCE/NOBREAK
>
CHAPTER 2 DEPENDENCE FUNCTIONS
<- Set 1 μs as minimum unit.
<- Specifying Not Break
123

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Softune workbench

Table of Contents