7 measuring the program execution cycle count, Measuring the program execution cycle count – FUJITSU SOFTUNE F2 MC-16 User Manual

Page 318

Advertising
background image

304

CHAPTER 2 DEPENDENCE FUNCTIONS

2.6.7

Measuring the Program Execution Cycle Count

This section explains the function of measuring the number of program execution cycles.

■

Measurement Items

This function measures the number of program execution cycles.

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

following two values:

- The number of execution cycles for the previous program execution

The maximum number of cycles that can be measured is "2 to the power of 58 - 1", in other words, up

to 288,230,376,151,711,743 cycles.

- The total number of execution cycles after the previous clear operation

The maximum number of cycles that can be measured is "2 to the power of 64 - 1", in other words, up

to 18,446,744,073,709,551,615 cycles.

■

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".

•

Clearing by command

Enter the CLEAR TIMER command in the command window.

For details, refer to Section "4.28 CLEAR TIMER" in "SOFTUNE Workbench Command Reference Manual".

■

Error Information

Click the [Comment] button in the time measurement dialog to display error information about the

measurement results.

Advertising