Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Properties in event loop

Properties in event loop

Scheduled Pinned Locked Moved Unsolved General and Desktop
event loopevent propertie
1 Posts 1 Posters 335 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    koahnig
    wrote on 28 Sept 2018, 13:17 last edited by koahnig
    #1

    As it sometimes turns for all of us I am having a couple of issues with my main event loop. I know this is recurring topic, somehow hard to find solutions right away.

    The application receives once per second information to plot and it has also some QTimers sending event for manipulation of different things and also on the plots. During the beginning all is working fine, but increasing time arrays are increasing all events are slowing down until one core is completely consumed. My guess is also that there are a couple of events backlogged.

    Therefore I am looking for some routines to get more insight into the current state of the event loop. Any suggestion in what I should look?

    I have found already a reference to "qGlobalPostedEventsCount" which is undocumented, but I see little help there.
    [edit: not in official header files and where found it is discouraged]

    Also I am not sure if the handling of events is always the same. E.g. most of us are aware that readyRead events from some sockets are ignored as long as the connected slots routine is executed. However, is that a standard feature that events from the same object are not duplicated in the event loop?

    Vote the answer(s) that helped you to solve your issue(s)

    1 Reply Last reply
    0

    1/1

    28 Sept 2018, 13:17

    • Login

    • Login or register to search.
    1 out of 1
    • First post
      1/1
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved