Hi all,
I am using PAPI for one of course project for profiling of applications on Multicore processors (i5 and i7).
I have some basic doubts about the library.
1) I read that PAPI is thread specific instead of core specific and it takes care of context switching. Does that means I will get specified events during the life time of thread irrespective of migration of that thread on different cores.
2) When I type papi_avail it shows number of Hardware counters as 11. I want to know that whether 11 is number of total Hardware counters available for each thread or for all threads. In one of the presentation I read that PAPI supports 8 programmable counters per core or 4 if there is hyper threading. I want to read 2-3 events (more if it supports) for four different threads mapped to different cores(with hyper threading enabled) running simultaneously.
Thanks in Advance !!
