Performance Application Programming Interface
Appearance
In computer science, Performance Application Programming Interface (PAPI) is a portable interface (in form of library) to hardware performance counters on modern microprocessors. It is being widely used to collect low level performance metrics (e.g. instruction counts, cache misses) of computer systems running UNIX/Linux operating systems.
Operating system support for accessing hardware counters is needed to use PAPI. For example, Linux/x86 kernel has to be patched with a performance monitoring counters driver (perfctr link) to support PAPI.