Content deleted Content added
mNo edit summary |
m Fixed arithmetic overflow link. |
||
Line 1:
In [[computer science]], '''Performance Application Programming Interface (PAPI)''' is a portable [[application programming interface|interface]] (in the form of a [[library (computing)|library]]) to [[hardware counter|hardware performance counters]] on modern [[microprocessor]]s. It is being widely used to collect low level performance metrics (e.g. [[instruction]] counts, [[clock cycle]]s, [[cache miss]]es) of computer systems running [[UNIX]]/[[Linux]] [[operating system]]s.
PAPI provides predefined high level hardware events summarized from popular processors and direct access to low level native events of one particular processor. Counter [[multiplexing]] and [[arithmetic_overflow|overflow]] handling are also supported.
[[Operating system]] support for accessing hardware counters is needed to use PAPI. For example, a [[Linux (kernel)|Linux/x86 kernel]] has to be patched with a performance monitoring counters driver (perfctr [http://user.it.uu.se/~mikpe/linux/perfctr/ link]) to support PAPI.
|