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'm implementing a bitonic sort using intel TBB. When using the parallel_invoke method all
What does all of the data in a Google App Engine HTTP log mean?
Starting with Pentium Pro (P6 microarchitecture), Intel redesigned it's microprocessors and used internal RISC
http://lv.php.net/manual/en/function.exif-imagetype.php Can anyone give some more information about the rest extension types. About these:
I'm a complete newbie to multi-threading in C++, and decided to start with the
We are not able to create the installer after migrating the code from VS2005
I am running my app inside the simulator and when I initially run it
here is the output of my path variable: I run: U:\>echo %path% C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Dell\DW
Are there any resources on x86 32/64-bit assembly programming without macros? The only one
I just installed Ubuntu 10.10 server with NodeJS 0.4.6 using this guide: http://www.codediesel.com/linux/installing-node-js-on-ubuntu-10-04/ on

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.