Hi all,
As you know, PAPI can be attached to a thread by PAPI_attach option. There is a question about this option. I would be thankful if someone answer me. Consider a PThread application consists of one main thread and two worker threads (Thread-0 and Thread-1) both run on core-0. If I define an Eventset collecting L1 misses of Thread-0 (the eventset has been attached to Thread-0), could you tell me the Eventset only collects L1 misses originate only form Thread-0 or it counts L1 misses from both Thread-0 and Thread-1?
Thanks