|
PAPI
5.7.0.0
|
Functions | |
| int | PAPI_accum_counters (long long *values, int array_len) |
| int | PAPI_num_counters (void) |
| int | PAPI_num_components (void) |
| int | PAPI_read_counters (long long *values, int array_len) |
| int | PAPI_start_counters (int *events, int array_len) |
| int | PAPI_stop_counters (long long *values, int array_len) |
| int | PAPI_flips (float *rtime, float *ptime, long long *flpins, float *mflips) |
| int | PAPI_flops (float *rtime, float *ptime, long long *flpops, float *mflops) |
| int | PAPI_ipc (float *rtime, float *ptime, long long *ins, float *ipc) |
| int | PAPI_epc (int event, float *rtime, float *ptime, long long *ref, long long *core, long long *evt, float *epc) |
The simple interface implemented by the following eight routines allows the user to access and count specific hardware events from both C and Fortran. It should be noted that this API can be used in conjunction with the low level API.
| int PAPI_accum_counters | ( | long long * | values, |
| int | array_len | ||
| ) |
add current counts to array and reset counters
Definition at line 760 of file papi_hl.c.
| int PAPI_epc | ( | int | event, |
| float * | rtime, | ||
| float * | ptime, | ||
| long long * | ref, | ||
| long long * | core, | ||
| long long * | evt, | ||
| float * | epc | ||
| ) |
gets (named) events per cycle, real and processor time, reference and core cycles
Definition at line 387 of file papi_hl.c.
| int PAPI_flips | ( | float * | rtime, |
| float * | ptime, | ||
| long long * | flpins, | ||
| float * | mflips | ||
| ) |
simplified call to get Mflips/s (floating point instruction rate), real and processor time
Definition at line 204 of file papi_hl.c.
| int PAPI_flops | ( | float * | rtime, |
| float * | ptime, | ||
| long long * | flpops, | ||
| float * | mflops | ||
| ) |
simplified call to get Mflops/s (floating point operation rate), real and processor time
Definition at line 263 of file papi_hl.c.
| int PAPI_ipc | ( | float * | rtime, |
| float * | ptime, | ||
| long long * | ins, | ||
| float * | ipc | ||
| ) |
gets instructions per cycle, real and processor time
Definition at line 320 of file papi_hl.c.
| int PAPI_num_components | ( | void | ) |
| int PAPI_num_counters | ( | void | ) |
get the number of hardware counters available on the system
Definition at line 541 of file papi_hl.c.
| int PAPI_read_counters | ( | long long * | values, |
| int | array_len | ||
| ) |
copy current counts to array and reset counters
Definition at line 710 of file papi_hl.c.
| int PAPI_start_counters | ( | int * | events, |
| int | array_len | ||
| ) |
start counting hardware events
Definition at line 597 of file papi_hl.c.
| int PAPI_stop_counters | ( | long long * | values, |
| int | array_len | ||
| ) |
stop counters and return current counts
Definition at line 807 of file papi_hl.c.