2.14.1 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 1.

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

Caution 2.

[Simulator]
To measure the Run-Break time, [Yes] must be specified with the [Use timer function] property in the [Timer] category on the [Debug Tool Settings] tab of the Property panel.

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.

(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.77

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 opened by selecting the [View] menu >> [Event], in event type as "Run-Break Timer".

Figure 2.78

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