Command: Profiler – Profiler Watch List
Important
The implicitly added IEC code for a Profiler measurement method, as well as the breakpoints for POUs in the watch list, result in a change and slows down the evaluated program.
When a profiling or code coverage measurement is active, an online is generally not possible. Moreover, some online features are not available, such as "flow control" and "breakpoints". There are no restrictions for the watch list in this respect.
Enabling or disabling a Profiler measurement method, or changing any settings in the Profiler editor each requires a download. Then an online change is no longer possible. There are no restrictions for the watch list in this respect.
Profiler Watch List View
For each POU and each POU instance of an application in this watch list, CODESYS Profiler detects at runtime the frequency and duration that it is called.
You can fill the list with the required POUs and instances in offline mode or online mode:
By dragging a POU from the device tree or editor to the list
By specify an entry manually (supported by the Input Assistant)
By clicking Add to Profiler Watch List in the context menu of a POU in the Devices or POUs view
Call | Name of the POU whose calls are analyzed. Example: |
Instance | Name of the POU instance. |
Application | Path of the application for which the analysis should be performed. Example: |
Count | Number of calls since the measurement was started. Example: 24. |
Duration <unit> | Total duration of all calls in the current cycle. Example: |
Max. duration <unit> | Maximum duration of calls in a cycle since beginning the measurement. Example: |
Min. duration <unit> | Minimum duration of calls in a cycle since beginning the measurement. Example: |
Total time <unit> | Total duration of all calls since beginning the measurement. Example: |
Average time <unit> | Average duration of calls in a cycle since beginning the measurement. Example: |
Context menu in online mode or offline mode when the focus is in a table cell: | |
Reset | Resets the measured times of the selected lines to zero |
Delete | Deletes the selected lines |
Open POU | Opens the POU of the selected lines in the editor |
Submenu 'Display Mode' | For setting the time data type or the unit directly for displaying the duration:
|
For more information, see: Using the Profiler Watch List