|
|
c7ea89 |
commit 45c2935e88d1eaf34c0769f9b514c0dcb0e43c1d
|
|
|
c7ea89 |
Author: William Cohen <wcohen@redhat.com>
|
|
|
c7ea89 |
Date: Wed Jun 22 14:08:30 2016 -0400
|
|
|
c7ea89 |
|
|
|
c7ea89 |
Correct IBM Power7 and Power8 computation of PAPI_L1_DCA
|
|
|
c7ea89 |
|
|
|
c7ea89 |
When reviewing the test results for IBM Power7 and Power8 Michael
|
|
|
c7ea89 |
Petlan found that the PAPI_L1_DCA preset was incorrectly computed.
|
|
|
c7ea89 |
The L1 cache misses need to be subtracted rather than added to the
|
|
|
c7ea89 |
result.
|
|
|
c7ea89 |
|
|
|
c7ea89 |
Signed-off-by: William Cohen <wcohen@redhat.com>
|
|
|
c7ea89 |
|
|
|
c7ea89 |
diff --git a/src/papi_events.csv b/src/papi_events.csv
|
|
|
c7ea89 |
index 5c04442..2d2eca0 100644
|
|
|
c7ea89 |
--- a/src/papi_events.csv
|
|
|
c7ea89 |
+++ b/src/papi_events.csv
|
|
|
c7ea89 |
@@ -1349,7 +1349,7 @@ PRESET,PAPI_L1_LDM,NOT_DERIVED,PM_LD_MISS_L1
|
|
|
c7ea89 |
PRESET,PAPI_L1_STM,NOT_DERIVED,PM_ST_MISS_L1
|
|
|
c7ea89 |
PRESET,PAPI_L1_DCW,DERIVED_SUB,PM_ST_FIN,PM_ST_MISS_L1
|
|
|
c7ea89 |
PRESET,PAPI_L1_DCR,DERIVED_SUB,PM_LD_REF_L1,PM_LD_MISS_L1
|
|
|
c7ea89 |
-PRESET,PAPI_L1_DCA,DERIVED_POSTFIX,N0|N1|+|N2|+|N3|+,PM_ST_FIN,PM_ST_MISS_L1,PM_LD_REF_L1,PM_LD_MISS_L1
|
|
|
c7ea89 |
+PRESET,PAPI_L1_DCA,DERIVED_POSTFIX,N0|N1|-|N2|+|N3|-,PM_ST_FIN,PM_ST_MISS_L1,PM_LD_REF_L1,PM_LD_MISS_L1
|
|
|
c7ea89 |
PRESET,PAPI_L2_DCM,NOT_DERIVED,PM_DATA_FROM_L2MISS
|
|
|
c7ea89 |
PRESET,PAPI_L2_LDM,NOT_DERIVED,PM_L2_LD_MISS
|
|
|
c7ea89 |
PRESET,PAPI_L2_STM,NOT_DERIVED,PM_L2_ST_MISS
|
|
|
c7ea89 |
@@ -1398,7 +1398,7 @@ PRESET,PAPI_L1_LDM,NOT_DERIVED,PM_LD_MISS_L1
|
|
|
c7ea89 |
PRESET,PAPI_L1_STM,NOT_DERIVED,PM_ST_MISS_L1
|
|
|
c7ea89 |
PRESET,PAPI_L1_DCW,DERIVED_SUB,PM_ST_FIN,PM_ST_MISS_L1
|
|
|
c7ea89 |
PRESET,PAPI_L1_DCR,DERIVED_SUB,PM_LD_REF_L1,PM_LD_MISS_L1
|
|
|
c7ea89 |
-PRESET,PAPI_L1_DCA,DERIVED_POSTFIX,N0|N1|+|N2|+|N3|+,PM_ST_FIN,PM_ST_MISS_L1,PM_LD_REF_L1,PM_LD_MISS_L1
|
|
|
c7ea89 |
+PRESET,PAPI_L1_DCA,DERIVED_POSTFIX,N0|N1|-|N2|+|N3|-,PM_ST_FIN,PM_ST_MISS_L1,PM_LD_REF_L1,PM_LD_MISS_L1
|
|
|
c7ea89 |
PRESET,PAPI_L2_DCM,NOT_DERIVED,PM_DATA_FROM_L2MISS
|
|
|
c7ea89 |
#n/aPRESET,PAPI_L2_LDM,NOT_DERIVED,PM_L2_LD_MISS
|
|
|
c7ea89 |
#n/aPRESET,PAPI_L2_STM,NOT_DERIVED,PM_L2_ST_MISS
|