Skip to content
/ pypapi Public
forked from flozz/pypapi

Python binding for the PAPI (Performance Application Programming Interface) library

License

Notifications You must be signed in to change notification settings

mcopik/pypapi

 
 

Repository files navigation

PyPAPI

Build Status PYPI Version License

PyPAPI is a Python binding for the PAPI (Performance Application Programming Interface) library. PyPAPI implements the whole PAPI High Level API and partially the Low Level API.

Starting with v5.5.1.4, PyPAPI is only compatible with GCC 7.0 or higher. Please use previous releases for older GCC version.

Documentation:

Installing PyPAPI

See this page of the documentation:

Hacking

Building PyPAPI For Local Development

To work on PyPAPI, you first have to clone this repositiory and initialize and update submodules:

git clone https://github.com/flozz/pypapi.git
cd pypapi

git submodule init
git submodule update

Then you have to build both PAPI and the C library inside the pypapi module. This can be done with the following commands:

python setup.py build
python pypapi/papi_build.py

Generating Documentation

From a virtualenv:

pip install -r requirements.txt
python setup.py build_sphinx

Changelog

  • 5.5.1.4: Fixes compilation with GCC 8 and newer (#18)
  • 5.5.1.3: Removes .o, .lo and other generated objects from the package
  • 5.5.1.2: Partial bindings for the low level API
  • 5.5.1.1: Adds missing files to build PAPI
  • 5.5.1.0: Initial release (binding for papy 5.5.1)

About

Python binding for the PAPI (Performance Application Programming Interface) library

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 77.2%
  • C 21.7%
  • Shell 1.1%