📑 Table of Contents

In computer science, Performance Application Programming Interface (PAPI) is a portable interface (in the form of a library) to hardware performance counters on modern microprocessors. It is being widely used to collect low level performance metrics (e.g. instruction counts, clock cycles, cache misses) of computer systems running UNIX/Linux operating systems.

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 overflow handling are also supported.

Operating system support for accessing hardware counters is needed to use PAPI.

For example, prior to 2010, a Linux/x86 kernel had to be patched with a performance monitoring counters driver (perfctr link) to support PAPI. Since Linux version 2.6.32, and PAPI 2010 releases, PAPI can leverage the existing perf subsystem in Linux, and thus does not need any out of tree driver to be functional anymore.

Supported Operating Systems and requirements are listed in the official repository's documentation INSTALL.txt.

See also

edit

Further reading

edit
edit


📚 Artikel Terkait di Wikipedia

Application binary interface

hardware and the software build toolchain. In contrast, an application programming interface (API) defines access in source code, which is a relatively

API

An application programming interface (API) is a connection between computers or between computer programs. It is a type of software interface, offering

Internet Server Application Programming Interface

The Internet Server Application Programming Interface (ISAPI) is an n-tier API of Internet Information Services (IIS), Microsoft's collection of Windows-based

REST

Simplicity of a uniform interface; Modifiability (a.k.a. Extensibility) of components to meet changing needs (even while the application is running); Visibility

List of performance analysis tools

Arm MAP, a performance profiler supporting Linux platforms. AppDynamics, an application performance management service for C/C++ applications via SDK. AQtime

Papi

character from the Japanese manga series Monster Musume Performance Application Programming Interface in computer science Personality and Preference Inventory

Foreign function interface

A foreign function interface (FFI) is a mechanism by which a program written in one programming language can call interoperable routines or make use of

Message Passing Interface

standardized application binary interface (ABI) to improve interoperability between implementations. MPI is a communication protocol for programming parallel