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 158973
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T10:46:36+00:00 2026-05-11T10:46:36+00:00

Can increment of a register (in a loop) be used to determine the (effective)

  • 0

Can increment of a register (in a loop) be used to determine the (effective) clock rate? I’ve naturally assumed it can, but I was commented that Cpu’s may implant Super-scalar techniques that make this kind of computation useless. Also I was told that incrementing of registers on CPU can be done in less than one clock cycle.

is it true?

  • 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. 2026-05-11T10:46:36+00:00Added an answer on May 11, 2026 at 10:46 am

    No, not reliably. The number of cycles that it takes to increment a register can vary between different types of processors, and you also have to include the overhead of looping. In any modern operating system, you’re going to have to deal with preemptive multitasking, so you have no idea how much CPU time the process scheduler is going to give you. Depending on how much work other processes are doing, you may get a lot or a little CPU time, so the number of register increments you can perform per second is highly variable.

    Furthermore, in a multicore environment, the clocks may not tick at the same rate. If your process gets moved between cores by the scheduler for some reason or another, your clock rate could change unpredictably.

    There are much better ways of getting the clock rate, such as asking the operating system for it (of course, how to do this varies with OS).

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

Sidebar

Related Questions

I can increment a FOR loop in xcode, but for some reason the reverse,
I'd like to have a set of methods that can increment/decrement a value, but
How can I increment an integer value outside the scope of a parallel.foreach loop?
Can I create a javascript variable and increment that variable when I press a
I am trying to make a variable that I can increment each time after
I have an input, that you can increment up or down with a button.
I need update query where I can increment value by 1 Edit: Correct answer
How can I increment numeric String value? If it is initially 1, I want
All, How Can we increment a value like the following in django templates, {{
I have a problem in Python. How can I increment by one fully automatically

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.