beautypg.com

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

Page 223

background image

213

CHAPTER2 Dependence Functions

2.5.3

Measuring Execution Time

This function measures the execution time of a program.

Measurement Item

The execution time of a program is measured.

The resolution of the execution time is 1

s, and up to "(2 to the power of 32 - 1) x 1s" can be measured.

The measurement is performed whenever a program is executed, and the measurement result displays the

following two values:

- Execution time spent on the previous program execution

- Total execution time since the previous clearing

Displaying Measurement Results

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

1. Display by dialog

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

2. Display by command

Enter the SHOW TIMER command in the command window.

Clearing Measurement Results

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

1. Operation by dialog

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

2. Clearing by command

Enter the CLEAR TIMER command in the command window.

Note:

The measurement result displays the user resource value of timer register.

Refer to "APPENDIX E Creating ROM on Monitor Debugger Target" in "SOFTUNE Workbench
Operation Manual".