Hello, I have a few questions about PAPI integration into Pthreads.
Does anyone know any good references aside from the examples programs in papi source code and the user guide, on how Papi and pthreads work?
I am trying to use PAPI to determine IPC of parallel programs/applications.
1)When PAPI tries to determine the IPC, does it just keep track of the program it self or is the kernel included? If the kernel is not included, Is it possible to keep track of the kernel as well (system calls)?
2)What happens if threads cannot be pinned down to processors, and there is tons of thread migration, is this an issue?
3)I am using heavily pipe lined parallel programs is this an issue when trying to determine events such as IPC, cant I just create a situation where papi counters are cleared prior to program execution on all processors, then read once the program stops executing? (this way I can have kernel interactions included, as well as other threads..etc, if this is possible I assume accuracy is sacrificed).
I am not that interested in having highly accurate result, I just want to a ball park number on my benchmarks (I am only focusing on the IPC at the moment).
Thanks!
