Execution Time Measurement - Fujitsu SOFTUNE F2 MC-16 User Manual

Software for developing programs for the f2 mc-16 family of microprocessors / microcontrollers
Hide thumbs Also See for SOFTUNE F2 MC-16:
Table of Contents

Advertisement

2.5.8

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: 64 bits
Maximum measurement time : 18,446,744,073,709,551,615 x 25 ns
• Cycle counter
Significant bits: 64 bits
Maximum measurement cycle count : 18,446,744,073,709,551,615 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".
• 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".
CHAPTER 2 DEPENDENCE FUNCTIONS
269

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Softune workbench

Table of Contents