Philip J. Mucci wrote:
Stefane,
Is there a way to adapt this code to tell me how many resulting PMD's I
have left? PAPI trys to tell the user what is going on...I can see the
support messages now. "Hey I have 4 counters, but I can only add 3,
what's going on?"
Phil
Hi Phil,
I see that there was code added to determine which registers are available. Is
this code complete? When I run the kernel with the watchdog taking up pmc0,
things like papi's src/utils/papi_cost fails because pmc0 is unavailable.
Shouldn't the code be checking which pmcs are available before using them?
How is PAPI determining the register restrictions. On processors such as the
AMD64 all the perfmon registers can store the any of the events. For processors
such as the Pentium IV there are) been verified to work?
Is papi add_native_events() going to have a problem when perfomon is being used
with the watchdog? The number of available counters is going to be MAX_COUNTERS-1.
-Will
_______________________________________________
perfmon mailing list
[email protected]
http://www.hpl.hp.com/hosted/linux/mail-archives/perfmon/