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. Scalability of QTimers and guarantee of clicks
Forum Updated to NodeBB v4.3 + New Features

Scalability of QTimers and guarantee of clicks

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 820 Views 1 Watching
  • 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.
  • P Offline
    P Offline
    pkj__
    wrote on last edited by
    #1

    I intend to have a fairly large number of Qtimers/ or QObject::startTimer(). By fairly large I mean around 2000. It is stated in the QTimer documentation that: "QTimer":http://doc.qt.digia.com/latest/qtimer.html#details:[QUOTE]If Qt is unable to deliver the requested number of timer clicks, it will silently discard some.[/QUOTE]
    Does it mean although my objects(qobject inherited) have fairly large timeouts(around a second), but if significant number of them are to be set off at the same time, some clicks will be missed?
    Or it does it mean for a particular QTimer, if the resolution is very close, some clicks will be missed.
    My application have these timer clicks as a priority. To workaround this problem, I had a complicated logic to have a single timer manage all the clicks. I like to remove it. The application is not so time critical as in it is alright if the click is off by some ms, but if there is no click at all, there will be a problem.

    And is there a limit of Qtimers. Documentation states that [QUOTE]Some operating systems limit the number of timers that may be used; Qt tries to work around these limitations.[/QUOTE]
    I intend to use the application on Windows and linux desktops. [B]And how many timers can I safely scale the system to.[/B]

    1 Reply Last reply
    0

    • Login

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