Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8594055
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T00:07:09+00:00 2026-06-12T00:07:09+00:00

I need a timer to be triggered every 1 ms. This document reports, that

  • 0

I need a timer to be triggered every 1 ms. This document reports, that slot invocation may be much slower than even a virtual function call.

But if we compare signals/slots with event occurance, what mechanism will be faster, more efficient and produce less overhead: QTimer with it’s timeout() signal connected to a slot or bare QObject::startTimer()\ QObject::killTimer() with QObject::timerEvent()?

Will the answer for above question be the same for Windows and Linux?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T00:07:10+00:00Added an answer on June 12, 2026 at 12:07 am

    QTimer is actually just a signal-slot wrapper around the QObject::startTimer() functionality, so it will undoubtedly have more overhead associated with it on all platforms (it internally implements QObject::timerEvent() — its implementation of this function is just to emit the timeout() signal).

    Of note, QBasicTimer is a more light-weight wrapper around the QObject::startTimer() functionality. If you use QBasicTimer, you still have to implement QObject::timerEvent(), but it manages the timer ID for you. As such, a QBasicTimer combines some of the ease-of-use of a QTimer with the efficiency of using the QObject::startTimer() mechanism.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i need a timer that works like this : imagine somebody have a limit
I have data grids on my webpage that need to be refreshed every few
I need a function that triggers an event every time every time a word
I need a Timer in a 'no form' Delphi unit (there's still a main
I am making a contest platform ..For it I need a countdown timer ..The
I need measure how time took a scriptblock (remote execution). This is my code:
I need a background operation to be scheduled every 10 minutes or so. The
I'm working on an online PHP application that has a need for delayed PHP
This question triggered some confusion and many comments about whether the algorithms proposed in
I've seen a few questions like this around SO but couldn't find anything that's

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.