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

  • SEARCH
  • Home
  • 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 8081643
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T16:48:04+00:00 2026-06-05T16:48:04+00:00

I know QueryPerformanceCounter() can be used for timing functions. I want to know: 1-Can

  • 0

I know QueryPerformanceCounter() can be used for timing functions. I want to know:

1-Can I increase the resolution of the timer by over-clocking the CPU (so it ticks faster)?

2-Basically what makes some timers more precise than others, (e.g, QueryPerformanceCounter() is more precise as compared to GetTickCount())? If there is single crystal oscillator on the motherboard , why some timers are slower as compared to others?

  • 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-05T16:48:06+00:00Added an answer on June 5, 2026 at 4:48 pm
    1. QueryPerformanceCounter has very high resolution – normally less than one nanosecond. I don’t see why you’d like to increase it. Overclocking will increase it, but it seems like a very weak reason for overclocking.

    2. QueryPerformanceCounter is very accurate, but somewhat expensive and not very convenient.
      a. It’s expensive because it uses the expensive rdtsc instruction. Faster timers can just read an integer from memory. This integer needs to be updated, and we don’t want to do it too often (1000 times a second is reasonable), so we get a very cheap timer, with low precision. That’s basically GetTickCount.
      b. It’s inconvenient because it uses units which change between computers. Sometimes it will be nanoseconds, sometimes half-nano, or other values. It makes it harder to calculate with.
      a. Another source of inconvenience is that it returns very large numbers, which may overflow when you try to do math with them, so you need to be careful.

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

Sidebar

Related Questions

I know we can do correlated subqueries and join. But which one is faster?
I know you can not set a key value dynamically, but what about the
Anyone know how I can make a login button in Ruby on Rails for
I know there are lots of tools on the net that can make our
I know the title is Very wide - spanning over a lot ! And
I know you can use a javascript to do this <script type=text/javascript> touchMove =
I know regex and substrings is a common question on here but i can
Know anybody something about hooking __userpurge type of functions? I hooking successfully __thiscall ,
I know I can create an NSArray with @[@foo, @bar] or an NSDictionary with
I know we can append strings using StringBuilder . Is there a way we

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.