1 performance measurement procedures, Performance measurement procedures – FUJITSU SOFTUNE F2 MC-16 User Manual

Page 137

Advertising
background image

123

CHAPTER 2 DEPENDENCE FUNCTIONS

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

<- Set 1

μ

s as minimum unit.

>

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

<- Specifying Not Break

>

Advertising