2.12.2 Measure execution time until stop of the execution

In the debug tool, there is a function to measure the program execution time (Run-Break time) from the start to the stop.

Therefore, when the program starts its execution, the execution time is automatically measured.

You can check the result of the measurement by either one of the following.

Caution

The execution time cannot be measured when Step In or Step Over is performed.

Remark

This function is operated by a Run-Break Timer event, which is one of the built-in events set by default in the debug tool.The Run-Break timer event is always Valid state (settings not changeable).

(1)

Check in the status bar

After the program is stopped, the result of the measurement is displayed in the status bar on the Main window (when measurements have not been performed yet, "Not measured" is displayed).

Figure 2.126

Example of Result of Run-Break Timer Event (Status Bar)

(2)

Check on the Events panel

After the program is stopped, the result of the measurement is displayed in the Events panel that is opened by selecting the [View] menu >> [Event], in event type as "Run-Break Timer".

Figure 2.127

Example of Result of Run-Break Timer Event (Events Panel)