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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T02:04:36+00:00 2026-05-18T02:04:36+00:00

All the Intel CPUs in the last decade (at least) include a set of

  • 0

All the Intel CPUs in the last decade (at least) include a set of performance monitors that count a variety of events. Do the latest Intel CPUs, Core i3, i5 and i7 (aka Nehalem) provide a mechanism to count Instructions Per Clock (IPC)? If so, how are they used?

If this is possible, I’ll probably be writing the code for this in Assembly, but Windows or Linux system calls may also come in useful.

  • 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-05-18T02:04:37+00:00Added an answer on May 18, 2026 at 2:04 am

    Yes, the Vtune from Intel (linux and windows) can measure IPC.

    If you want to measure it by yourself with precise counters for some part of code, you need to use some performance api like PAPI or perfctr (both for linux).

    They uses hardware performance counters, described in intel manuals http://www.intel.com/products/processor/manuals/

    Volume 3D, Chapter 30 & appendix A.
    http://www.intel.com/Assets/PDF/manual/253669.pdf

    Vtune uses the ratio of “Instructions Retired” and “Non-sleep clockticks ” to compute CPI (“Cycles per instructions retired”). For Core2 the performance counters used are: “CPU_CLK_UNHALTED.CORE”,”INST_RETIRED.ANY”

    This counters are the same for all Core* CPUs:
    Appendix A1 of Volume 3B, page384:

    Table A-1. Architectural Performance Events
    
    Event | Event Mask Mnemonic | Umask | Description
    num.  
    3CH   | UnHalted Core Cycles| 00H   | Unhalted core cycles
    C0H   | Instruction Retired | 00H   | Instruction retired
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've got a group of inter-related classes that are all overridden together to create
I'm in an Assembly class focusing on the intel 8086 architecture (all compiling /
Java is Big-Endian; Network stack is Big-Endian; Intel/AMD (basically all of our computers) and
Hello all I have a question relating to x86. In the Intel manual some
I am using Intel VTune Amplifier XE 2011 to analyze the performance of my
I'm implementing a bitonic sort using intel TBB. When using the parallel_invoke method all
All, I am using the Parallels.ForEach as follows private void fillEventDifferencesParallels(IProducerConsumerCollection<IEvent> events, Dictionary<string, IEvent>
The question says it all. Inter Explorer's lack of standard compliance has struck, and
All the articles I've found via google are either obsolete or contradict one another.
All the recent VisualSVN Server posts made me want to check it out. I

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.