From 25e2c816f397e812996c77d3cc0899896ee07ae6 Mon Sep 17 00:00:00 2001 From: Diqing Zhong Date: Mon, 27 Apr 2020 13:47:25 +0200 Subject: Update to HI 0.162 Change-Id: Ieff4a4b66dcc8da09a2f959dfa6bc717cc816f5a --- ethosu_pmu/common.h | 2 +- ethosu_pmu/include/pmu_ethosu.h | 8 +++++++- include/ethosu_device.h | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/ethosu_pmu/common.h b/ethosu_pmu/common.h index f42a65e..6b481a6 100644 --- a/ethosu_pmu/common.h +++ b/ethosu_pmu/common.h @@ -47,4 +47,4 @@ #define EXIT static __init void #endif -#endif // mpu_pmu_common_h +#endif // ethosu_pmu_common_h diff --git a/ethosu_pmu/include/pmu_ethosu.h b/ethosu_pmu/include/pmu_ethosu.h index b8b1a23..e5eaba9 100644 --- a/ethosu_pmu/include/pmu_ethosu.h +++ b/ethosu_pmu/include/pmu_ethosu.h @@ -83,7 +83,8 @@ typedef uint32_t PMU_Ethosu_evnt_Type[ETHOSU_PMU_NCOUNTERS]; * */ enum ethosu_pmu_event_type { - ETHOSU_PMU_CYCLE = 0, + ETHOSU_PMU_NO_EVENT = 0, + ETHOSU_PMU_CYCLE, ETHOSU_PMU_NPU_IDLE, ETHOSU_PMU_MAC_ACTIVE, ETHOSU_PMU_MAC_ACTIVE_8BIT, @@ -93,6 +94,7 @@ enum ethosu_pmu_event_type ETHOSU_PMU_MAC_STALLED_BY_WD, ETHOSU_PMU_MAC_STALLED_BY_ACC, ETHOSU_PMU_MAC_STALLED_BY_IB, + ETHOSU_PMU_MAC_ACTIVE_32BIT, ETHOSU_PMU_AO_ACTIVE, ETHOSU_PMU_AO_ACTIVE_8BIT, ETHOSU_PMU_AO_ACTIVE_16BIT, @@ -110,6 +112,10 @@ enum ethosu_pmu_event_type ETHOSU_PMU_WD_PARSE_STALLED, ETHOSU_PMU_WD_PARSE_STALLED_IN, ETHOSU_PMU_WD_PARSE_STALLED_OUT, + ETHOSU_PMU_WD_TRANS_WS, + ETHOSU_PMU_WD_TRANS_WB, + ETHOSU_PMU_WD_TRANS_DW0, + ETHOSU_PMU_WD_TRANS_DW1, ETHOSU_PMU_AXI0_RD_TRANS_ACCEPTED, ETHOSU_PMU_AXI0_RD_TRANS_COMPLETED, ETHOSU_PMU_AXI0_RD_DATA_BEAT_RECEIVED, diff --git a/include/ethosu_device.h b/include/ethosu_device.h index 8720260..b52baef 100644 --- a/include/ethosu_device.h +++ b/include/ethosu_device.h @@ -33,7 +33,7 @@ extern "C" { ******************************************************************************/ #define ETHOSU_DRIVER_VERSION_MAJOR 0 ///< Driver major version -#define ETHOSU_DRIVER_VERSION_MINOR 13 ///< Driver minor version +#define ETHOSU_DRIVER_VERSION_MINOR 14 ///< Driver minor version #define ETHOSU_DRIVER_VERSION_PATCH 0 ///< Driver patch version #define ETHOSU_DRIVER_BASEP_INDEXES 8 ///< Number of base pointer indexes -- cgit v1.2.1