A simple interface for single thread applications.
Fully supported on both C and Fortran.
See individual functions for details on usage.
PAPI_num_counters (3) - get the number of hardware counters available on the system
PAPI_flops (3) - simplified call to get Mflops/s, real and processor time
PAPI_accum_counters (3) - add current counts to array and reset counters
PAPI_read_counters (3) - copy current counts to array and reset counters
PAPI_start_counters (3) - start counting hardware events
PAPI_stop_counters (3) - stop counters and return current counts
Note that when using the high-level interface the use of
PAPI_library_init (3)
to initialize the library is optional. If, however, explicit initialization
is not made, either of
PAPI_flops (3) or
PAPI_num_counters (3)
must be called before any other call to a PAPI function.