encyclopegia.org

Performance Application Programming Interface

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.

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. ==Further reading== A Portable Programming Interface for Performance Evaluation on Modern Processors / International Journal of High Performance Computing Applications archive Volume 14 Issue 3, August 2000, pages 189–204 doi:10.1177/109434200001400303 Dongarra, Jack, et al. "Using PAPI for hardware performance monitoring on Linux systems" // Conference on Linux Clusters: The HPC Revolution. Vol. 5. Linux Clusters Institute, 2001. ==External links== Official site Official repository on GitHub Philip Mucci, Performance Monitoring with PAPI / Dr.Dobbs, June 1, 2005 Development of a PAPI Backend for the Sun Niagara 2 Processor, 2009

References

No reference rows published for this article.

Cite this article

MLA

"Performance Application Programming Interface." encyclopegia.org, 2025, https://encyclopegia.org/wiki/performance-application-programming-interface. Accessed 23 November 2026.

Chicago

"Performance Application Programming Interface." encyclopegia.org. Accessed November 23, 2026. https://encyclopegia.org/wiki/performance-application-programming-interface.

APA

encyclopegia.org. (2025). Performance Application Programming Interface. Retrieved November 23, 2026, from https://encyclopegia.org/wiki/performance-application-programming-interface

Accessed November 23, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Peronosporales

enwiki · references available

Pythiaceae

enwiki · references available

Shuangsi Tropical Viviparous Forest

enwiki · references available

Redhill, South Australia

enwiki · references available

Happy Camp Airport

enwiki · references available

The Power of Kangwon Province

enwiki · references available

Theo Jörgensmann

enwiki · references available

Hen's Teeth and Horse's Toes

enwiki · references available

Orosomucoid

enwiki · references available

List of national scenic areas in Taiwan

enwiki · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1317021635 · 0.5 · snapshot enwiki-001317021635

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.