diff --git a/Makefile b/Makefile index 764f79b..376def4 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ PAPI := /opt/papi/install #PAPI := /shared/apps/.gcc/4.9/.openmpi/4.0/papi/5.7.0 #PAPI := /shared/apps/.gcc/9.1/.openmpi/4.0/papi/5.7.0 -COMPILER := $(CXX) +#COMPILER := $(CXX) #COMPILER := gcc4.9.4 #COMPILER := gcc9.1.0 #COMPILER := clang10.0.0 diff --git a/PapiInstance.cpp b/PapiInstance.cpp index a1b0a29..3227c68 100644 --- a/PapiInstance.cpp +++ b/PapiInstance.cpp @@ -72,11 +72,11 @@ int getEnvEventCode(char *event_code) { { "SR_INS", PAPI_SR_INS }, { "BR_INS", PAPI_BR_INS }, { "VEC_INS", PAPI_VEC_INS }, - { "FLOPS", PAPI_FLOPS }, + { "FLOPS", PAPI_FP_OPS }, { "RES_STL", PAPI_RES_STL }, { "FP_STAL", PAPI_FP_STAL }, { "TOT_CYC", PAPI_TOT_CYC }, - { "IPS", PAPI_IPS }, + //{ "IPS", PAPI_IPS }, { "LST_INS", PAPI_LST_INS }, { "SYC_INS", PAPI_SYC_INS }, { "L1_DCH", PAPI_L1_DCH },