The PAPI Performance Application Programming Interface provides machine and operating system independent access to hardware performance counters found on most modern processors. Any of over 100 preset events can be counted through either a simple high level programming interface or a more complete low level interface from either C or Fortran. A list of the function calls in these interfaces is given below, with references to other pages for more complete details.
A simple interface for instrumenting end-user applications. Fully supported on both C and Fortran. See individual functions for details on usage.
Note that the high-level interface is self-initializing. You can mix high and low level calls, but you must call either PAPI_library_init() or a high level routine before calling a low level routine.
Advanced interface for all applications and performance tools. Some functions may be implemented only for C or Fortran. See individual functions for details on usage and support.
The Fortran interface has some unique features and entry points. See individual functions for details.
Components provide access to hardware information on specific subsystems.
Components can be found under the conponents directory or here. and included in a build as an argument to configure, '–with-components=< comma_seperated_list_of_components_to_build >'