7 measuring the program execution time, Measuring the program execution time – FUJITSU CM71-00329-7E User Manual

Page 193

Advertising
background image

183

CHAPTER2 Dependence Functions

2.4.7

Measuring the Program Execution Time

This section explains the function to measure the program execution time.

Measured Items

The emulator debugger (MB2100-01) can measure the following two items for the user program execution

time.

Time measurement

Measures the time from start of program execution to end.

For details, refer to "2.4.7.1 Measuring the Program Execution Cycle Count".

Performance measurement

Measures the time between 2 events where the program execution passes.

For details, refer to "2.4.7.2 Measuring Event-to-Event Execution Cycle Count [Performance
Measurement]".

Measurement unit

The following two measurement units are available for both execution time measurement and performance

measurement.

Measurement unit can be set as follows.

Dialog

- Measurement Unit Dialog

For details, refer to "4.4.14.2 Performance (Emulator Debugger [MB2100-01])" or "4.6.8.1

Measurement Unit for Execution Time Measurement" of "SOFTUNE Workbench Operation Manual".

Command

- SET TIMERSCALE

For details, refer to "1.64 SET TIMERSCALE" of "SOFTUNE Workbench Command Reference

Manual".

Note:

Measurement unit setting is common to both time measurement and performance measurement.

Execution cycle measurement : Measures by the number of execution cycles.

Also, the number of measured execution cycles can be
converted into real time.

This is different from an actual measurement, however, it is
an indication of real-time when real-time can not be
measured.

Real-time measurement :

Measures in real-time.

This is available only for certain products.

Advertising