10 execution time measurement, Execution time measurement – FUJITSU SOFTUNE F2 MC-16 User Manual

Page 207

Advertising
background image

193

CHAPTER 2 DEPENDENCE FUNCTIONS

2.3.10

Execution Time Measurement

This function measures the program execution time.

Measurement Items

Measures time between the start and stop of program execution.

In this emulator debugger, the measurement is performed by the emulation timer or cycle counter. The

following shows the features.

Emulation timer

Resolution : 25 ns

Significant bits: 56 bits

Maximum measurement time : 72,057,594,037,927,935

× 25 ns

Cycle counter

Significant bits: 56 bits

Maximum measurement cycle count : 72,057,594,037,927,935 cycles

In either case, the measurement is performed whenever a program is executed, and the measurement result

displays the following two values:

Number of cycles spent on the previous program execution

Total number of cycles executed since the previous clearing

Displaying Measurement Results

Either of the following methods can be used to display the measurement results.

Display by dialog

The results appear in the time measurement dialog, which can be displayed by selecting [Debug] - [Time
Measurement] menu.

For details, refer to Section "4.6.8 Time Measurement" in "SOFTUNE Workbench Operation Manual".

Display by command

Enter the SHOW TIMER command in the command window.

For details, refer to Section "4.27 SHOW TIMER" in "SOFTUNE Workbench Command Reference Manual".

Clearing Measurement Results

Either of the following methods can be used to clear the measurement results.

Clearing by dialog

Click the [Clear] button in the time measurement dialog, which can be displayed by selecting [Debug] -
[Time Measurement] menu.

For details, refer to Section "4.6.8 Time Measurement" in "SOFTUNE Workbench Operation Manual".

Advertising