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 of the OpenGraph og:image meta tag that can be used on the
I know that it's a subject that can raise a lot of debate, but
I know regex and substrings is a common question on here but i can
I know the title is Very wide - spanning over a lot ! And
I KNOW I did this in WP7 (not WP7.1) and I can't figure out
I know I can insert an array into a Postgres database with pg_query .
I know this is achievable with boost as per: Using boost::accumulators, how can I
I know that I can use ProxyPass to serve up my yardoc server instance
I know that you can store a bunch of Parent* objects in a vector.
Know anybody something about hooking __userpurge type of functions? I hooking successfully __thiscall ,

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.