1 Reply Latest reply on Nov 3, 2008 7:36 PM by leiy

    Can I measure IPC?

    mrolle
      Measuring instructions per cycle

      Anyone know how to count the instructions that are tagged during a sample run?  More particularly, within some subset of the code?
      I'd like to look at some hot spot and get an idea of how many cycles were spent performing those instructions.

      If I look at load latency, that can indicate code that is memory bound.  Or the average cycles tag-to-completion.  But if both of these are fairly low, and the code appears to be CPU bound, then how would I find out how fast it is executing?

       

        • Can I measure IPC?
          leiy
          Try to profile event 0x76, unhalted cpu clock cycles and event 0xC0, retired instruction. That will provide your IPC.
          For your convenience, CodeAnalyst provides predefined "Assess performance" data collection configuration and predefined "IPC assessment" view configuration.