Re: Counting FP multiplies on Core 2

From: Peter Zijlstra
Date: Thu Jan 07 2010 - 03:31:15 EST


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.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/