On Tue, 30 Apr 2013, Carl E. Love wrote:

> The Power 7 processor has four programmable counters and two fixed counters.
> Currently, the codes returned for PM_RUN_INST_CMPL and PM_RUN_CYC are for
> the programmable counters.  This patch changes the returned code to the
> fixed counter code thus freeing up the programmable counters for other
> events.

Instead of replacing the definition, would it make sense to just add an 
additional definition so there is two events listed, one fixed, one not?
That way a user could pick which one they wanted?

I guess on POWER it might not matter, but at least on recent Intel chips 
it would be nice if we could specify the difference as it turns out the 
fixed vs programmable events have subtle differences and it's hard to test 
this as it's impossible to specify one vs the other.

Vince

------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
_______________________________________________
perfmon2-devel mailing list
perfmon2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel

Reply via email to