Fujitsu F2 MC-16 Computer Accessories User Manual


 
131
CHAPTER 2 DEPENDENCE FUNCTIONS
2.2.11 Execution Time Measurement
This function measures the program execution time.
Measurement Items
Measures time between the start and stop of program execution.
The timer for measuring time is called the emulation timer.
The measurement time depends on as follows by the minimum measurement unit for the emulation timer.
When the minimum measurement unit is 1 μs: the maximum is about 70 minutes
When the minimum measurement unit is 100 ns: the maximum is about 7 minutes
The minimum measurement unit at startup is 1 μs.
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
Setting the Minimum Measurement Unit
Either of the following methods can be used to set the minimum measurement unit for the emulation timer.
Set by dialog
Select [Setup] - [Debug Environment] - [Debug Environment] menu to set the results in [emulation] tab in
the debugging environment set dialog.
For details, refer to Section "4.7.2.3 Setting Debug Environment" in "SOFTUNE Workbench Operation
Manual".
Set by command
Enter the SET TIMERSCALE command in the command window.
For details, refer to Section "1.13 SET TIMERSCALE" in "SOFTUNE Workbench Command Reference
Manual".
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.