A simple interface for instrumenting end-user 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_flips (3) - simplified call to get Mflips/s (floating point instruction rate), real and processor time
PAPI_flops (3) - simplified call to get Mflops/s (floating point operation rate), real and processor time
PAPI_ipc (3) - gets instructions per cycle, 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 the high-level interface is self-initializing.
You can mix high and low level calls, but you
must call either
calling a low level routine.