8 measuring performance, Measuring performance – FUJITSU CM71-00329-7E User Manual

Page 146

Advertising
background image

136

CHAPTER2 Dependence Functions

2.3.8

Measuring Performance

It is possible to measure the time and pass count between two events. Repetitive
measurement can be performed while executing a program in real-time, and when done,
the data can be totaled and displayed.
Using this function enables the performance of a program to be measured. To measure
performance, set the event mode to the performance mode using the SET MODE
command.

Performance Measurement Function

The performance measurement function allows the time between two event occurrence to be measured and

the number of event occurrences to be counted. Up to 32767 event occurrences can be measured.

Measuring Time

Measuring time interval between two events.

Events can be set at 4 points (1 to 4). However, in the performance measurement mode, the intervals,
starting event number and ending event number are combined as follows. Two intervals have the
following fixed event number combination:

Measuring Count

The specified events become performance measurement points automatically, and occurrences of that
particular event are counted.

Notes:

1. This function can be used only when FR60Lite or FR80S is used.

When FR80S is used, however, this function is valid only if the internal RAM space is allowed for
write access.

2. This function cannot be used when the trace mode in set as the event mode.

For details, refer to "1.6 SET MODE” in "SOFTUNE Workbench Command Reference Manual".

3. There are cases when the actual code execution order and the data hit information order are

switched, depending on the output timing of the external trace data.

For that reason, if a code event and data event are closed, the data on measuring performance
can’t be shown normally.

Interval

Starting Event Number

Ending Even Number

1

1

2

2

3

4

Advertising