Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-80760

When a OPC UA node is enabled for monitoring then the CPU usage will be significent

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.13.2
    • Fix Version/s: None
    • Component/s: OpcUA

      Description

      When a OPC UA node is enabled for monitoring then the CPU usage will be significent. This is due to the sendPublishRequest() function which appears to continually fire a zero based single-shot timer, as the timeout signal of the timer refires the same slot until m_sendPublishRequests is set to false which happens in modifyPublishRequests().

      Changing the interval to 100ms is enough to circumvent the issue at least.

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            fmeerkoetter Frank Meerk├Âtter
            Reporter:
            andysh Andy Shaw
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes