public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Counting FP multiplies on Core 2
@ 2010-01-07  4:52 Paul Mackerras
  2010-01-07  8:30 ` Peter Zijlstra
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Mackerras @ 2010-01-07  4:52 UTC (permalink / raw)
  To: Peter Zijlstra, Ingo Molnar; +Cc: linux-kernel

The Intel manual tells me that event num 12H, umask 00H on Core 2
counts multiply operations executed, but says "Use IA32_PMC1 only".
Is there a way in the raw event code to specify a particular PMC, or
does the code just know that that event can only be counted on PMC1?

Paul.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Counting FP multiplies on Core 2
  2010-01-07  4:52 Counting FP multiplies on Core 2 Paul Mackerras
@ 2010-01-07  8:30 ` Peter Zijlstra
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Zijlstra @ 2010-01-07  8:30 UTC (permalink / raw)
  To: Paul Mackerras; +Cc: Ingo Molnar, linux-kernel

On Thu, 2010-01-07 at 15:52 +1100, Paul Mackerras wrote:
> The Intel manual tells me that event num 12H, umask 00H on Core 2
> counts multiply operations executed, but says "Use IA32_PMC1 only".
> Is there a way in the raw event code to specify a particular PMC, or
> does the code just know that that event can only be counted on PMC1?

Right, this is what Stephane is trying to implement, but he's not very
fast.. maybe I should help him out.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-01-07  8:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-07  4:52 Counting FP multiplies on Core 2 Paul Mackerras
2010-01-07  8:30 ` Peter Zijlstra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox