4379a0
commit 6964aa356fa606f320c7b871123aceb5c1f21999
4379a0
Author: Masahiko, Yamada <yamada.masahiko@fujitsu.com>
4379a0
Date:   Tue Aug 24 14:17:29 2021 +0900
4379a0
4379a0
    Fix the PAPI_FUL_CCY setting for a64fx
4379a0
    
4379a0
    In a64fx, the maximum number of instruction commits is 4, so the following setting was incorrect.
4379a0
    PAPI_FUL_CCY=CPU_CYCLES-0INST_COMMIT-1INST_COMMIT-2INST_COMMIT-3INST_COMMIT-4INST_COMMIT
4379a0
    
4379a0
    The correct settings are:.
4379a0
    PAPI_FUL_CCY=CPU_CYCLES-0INST_COMMIT-1INST_COMMIT-2INST_COMMIT-3INST_COMMIT
4379a0
4379a0
diff --git a/src/papi_events.csv b/src/papi_events.csv
4379a0
index 4ef647959..74deb712f 100644
4379a0
--- a/src/papi_events.csv
4379a0
+++ b/src/papi_events.csv
4379a0
@@ -1934,7 +1934,7 @@ PRESET,PAPI_PRF_DM,DERIVED_SUB,L2D_CACHE_REFILL_PRF,L2D_CACHE_MIBMCH_PRF
4379a0
 PRESET,PAPI_MEM_SCY,NOT_DERIVED,LD_COMP_WAIT_L2_MISS
4379a0
 PRESET,PAPI_STL_ICY,DERIVED_ADD,STALL_FRONTEND,STALL_BACKEND
4379a0
 PRESET,PAPI_STL_CCY,NOT_DERIVED,0INST_COMMIT
4379a0
-PRESET,PAPI_FUL_CCY,DERIVED_SUB,CPU_CYCLES,0INST_COMMIT,1INST_COMMIT,2INST_COMMIT,3INST_COMMIT,4INST_COMMIT
4379a0
+PRESET,PAPI_FUL_CCY,DERIVED_SUB,CPU_CYCLES,0INST_COMMIT,1INST_COMMIT,2INST_COMMIT,3INST_COMMIT
4379a0
 PRESET,PAPI_HW_INT,DERIVED_ADD,EXC_IRQ,EXC_FIQ
4379a0
 PRESET,PAPI_BR_MSP,NOT_DERIVED,BR_MIS_PRED
4379a0
 PRESET,PAPI_BR_PRC,DERIVED_SUB,BR_PRED,BR_MIS_PRED
4379a0
commit fbf3b9e3d17c4ec4bd7e33410c44fc5aed57e36f
4379a0
Author: Masahiko, Yamada <yamada.masahiko@fujitsu.com>
4379a0
Date:   Fri Mar 4 15:41:30 2022 +0900
4379a0
4379a0
    Add PAPI idle-related preset events for a64fx
4379a0
    
4379a0
    For a64fx, add four PAPI idle-related preset events
4379a0
    (PAPI_BRU_IDL/PAPI_FXU_IDL/PAPI_FPU_IDL/PAPI_LSU_IDL).
4379a0
    
4379a0
     PAPI_BRU_IDL = BR_COMP_WAIT
4379a0
     PAPI_FXU_IDL = EU_COMP_WAIT - FL_COMP_WAIT
4379a0
     PAPI_FPU_IDL = FL_COMP_WAIT
4379a0
     PAPI_LSU_IDL = LD_COMP_WAIT
4379a0
    
4379a0
    The specifications of BR_COMP_WAIT, EU_COMP_WAIT, FL_COMP_WAIT,
4379a0
    and LD_COMP_WAIT can be found in the "14.4. Cycle Accounting"
4379a0
    on A64FX_Microarchitecture_Manual_en_1.5.pdf at the following URL:.
4379a0
    https://github.com/fujitsu/A64FX/blob/master/doc
4379a0
    
4379a0
    Signed-off-by: Masahiko, Yamada <yamada.masahiko@fujitsu.com>
4379a0
4379a0
diff --git a/src/papi_events.csv b/src/papi_events.csv
4379a0
index 74deb712f..1cd498e91 100644
4379a0
--- a/src/papi_events.csv
4379a0
+++ b/src/papi_events.csv
4379a0
@@ -1935,6 +1935,10 @@ PRESET,PAPI_MEM_SCY,NOT_DERIVED,LD_COMP_WAIT_L2_MISS
4379a0
 PRESET,PAPI_STL_ICY,DERIVED_ADD,STALL_FRONTEND,STALL_BACKEND
4379a0
 PRESET,PAPI_STL_CCY,NOT_DERIVED,0INST_COMMIT
4379a0
 PRESET,PAPI_FUL_CCY,DERIVED_SUB,CPU_CYCLES,0INST_COMMIT,1INST_COMMIT,2INST_COMMIT,3INST_COMMIT
4379a0
+PRESET,PAPI_BRU_IDL,NOT_DERIVED,BR_COMP_WAIT
4379a0
+PRESET,PAPI_FXU_IDL,DERIVED_SUB,EU_COMP_WAIT,FL_COMP_WAIT
4379a0
+PRESET,PAPI_FPU_IDL,NOT_DERIVED,FL_COMP_WAIT
4379a0
+PRESET,PAPI_LSU_IDL,NOT_DERIVED,LD_COMP_WAIT
4379a0
 PRESET,PAPI_HW_INT,DERIVED_ADD,EXC_IRQ,EXC_FIQ
4379a0
 PRESET,PAPI_BR_MSP,NOT_DERIVED,BR_MIS_PRED
4379a0
 PRESET,PAPI_BR_PRC,DERIVED_SUB,BR_PRED,BR_MIS_PRED