47 float a[1000],
b[1000],
c[1000];
85 for (
i=0;
i<1000;
i++){
112 int real_event=*EventCode;
116 if ( env_variable != NULL ){
117 if ( (
eventname=getenv(env_variable)) ) {
131 if ( real_event != *EventCode ) {
134 real_event = *EventCode;
138 *EventCode = real_event;
int PAPI_add_env_event(int *EventSet, int *Event, char *env_variable)
static int Event[MAX_EVENTS]
add PAPI preset or native hardware event to an event set
Create a new empty PAPI EventSet.
Convert a numeric hardware event code to a name.
Convert a name to a numeric hardware event code.
initialize the PAPI library.
Produces a string on standard error, describing the last library error.
Finish using PAPI and free all related resources.
Start counting hardware events in an event set.
Stop counting hardware events in an event set.
char event_name[2][PAPI_MAX_STR_LEN]
static long long values[NUM_EVENTS]
static double a[MATRIX_SIZE][MATRIX_SIZE]
static double b[MATRIX_SIZE][MATRIX_SIZE]
static double c[MATRIX_SIZE][MATRIX_SIZE]
Return codes and api definitions.