mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
Merge branch 'feature/cache_access_counters' into 'master'
feat(esp_hw_support): add cache access counter API See merge request espressif/esp-idf!50600
This commit is contained in:
@@ -423,6 +423,14 @@ config SOC_CACHE_FREEZE_SUPPORTED
|
||||
bool
|
||||
default y
|
||||
|
||||
config SOC_CACHE_CNT_SUPPORTED
|
||||
bool
|
||||
default y
|
||||
|
||||
config SOC_CACHE_CNT_UNITS_NUM
|
||||
int
|
||||
default 2
|
||||
|
||||
config SOC_CPU_CORES_NUM
|
||||
int
|
||||
default 1
|
||||
|
||||
@@ -155,6 +155,8 @@
|
||||
#define SOC_SHARED_IDCACHE_SUPPORTED 1 //Shared Cache for both instructions and data
|
||||
#define SOC_CACHE_WRITEBACK_SUPPORTED 1
|
||||
#define SOC_CACHE_FREEZE_SUPPORTED 1
|
||||
#define SOC_CACHE_CNT_SUPPORTED 1
|
||||
#define SOC_CACHE_CNT_UNITS_NUM 2 //Number of cache profile counter units
|
||||
|
||||
/*-------------------------- CPU CAPS ----------------------------------------*/
|
||||
#define SOC_CPU_CORES_NUM (1U)
|
||||
|
||||
@@ -375,6 +375,14 @@ config SOC_CACHE_FREEZE_SUPPORTED
|
||||
bool
|
||||
default y
|
||||
|
||||
config SOC_CACHE_CNT_SUPPORTED
|
||||
bool
|
||||
default y
|
||||
|
||||
config SOC_CACHE_CNT_UNITS_NUM
|
||||
int
|
||||
default 2
|
||||
|
||||
config SOC_CPU_CORES_NUM
|
||||
int
|
||||
default 1
|
||||
|
||||
@@ -140,6 +140,8 @@
|
||||
/*-------------------------- CACHE CAPS --------------------------------------*/
|
||||
#define SOC_SHARED_IDCACHE_SUPPORTED 1 //Shared Cache for both instructions and data
|
||||
#define SOC_CACHE_FREEZE_SUPPORTED 1
|
||||
#define SOC_CACHE_CNT_SUPPORTED 1
|
||||
#define SOC_CACHE_CNT_UNITS_NUM 2 //Number of cache profile counter units
|
||||
|
||||
/*-------------------------- CPU CAPS ----------------------------------------*/
|
||||
#define SOC_CPU_CORES_NUM (1U)
|
||||
|
||||
@@ -303,6 +303,14 @@ config SOC_CACHE_FREEZE_SUPPORTED
|
||||
bool
|
||||
default y
|
||||
|
||||
config SOC_CACHE_CNT_SUPPORTED
|
||||
bool
|
||||
default y
|
||||
|
||||
config SOC_CACHE_CNT_UNITS_NUM
|
||||
int
|
||||
default 2
|
||||
|
||||
config SOC_CPU_CORES_NUM
|
||||
int
|
||||
default 1
|
||||
|
||||
@@ -117,6 +117,8 @@
|
||||
#define SOC_SHARED_IDCACHE_SUPPORTED 1 //Shared Cache for both instructions and data
|
||||
#define SOC_CACHE_WRITEBACK_SUPPORTED 1
|
||||
#define SOC_CACHE_FREEZE_SUPPORTED 1
|
||||
#define SOC_CACHE_CNT_SUPPORTED 1
|
||||
#define SOC_CACHE_CNT_UNITS_NUM 2 //Number of cache profile counter units
|
||||
|
||||
/*-------------------------- CPU CAPS ----------------------------------------*/
|
||||
#define SOC_CPU_CORES_NUM (1U)
|
||||
|
||||
@@ -379,6 +379,14 @@ config SOC_CACHE_FREEZE_SUPPORTED
|
||||
bool
|
||||
default y
|
||||
|
||||
config SOC_CACHE_CNT_SUPPORTED
|
||||
bool
|
||||
default y
|
||||
|
||||
config SOC_CACHE_CNT_UNITS_NUM
|
||||
int
|
||||
default 2
|
||||
|
||||
config SOC_CPU_CORES_NUM
|
||||
int
|
||||
default 1
|
||||
|
||||
@@ -161,6 +161,8 @@
|
||||
/*-------------------------- CACHE CAPS --------------------------------------*/
|
||||
#define SOC_SHARED_IDCACHE_SUPPORTED 1 //Shared Cache for both instructions and data
|
||||
#define SOC_CACHE_FREEZE_SUPPORTED 1
|
||||
#define SOC_CACHE_CNT_SUPPORTED 1
|
||||
#define SOC_CACHE_CNT_UNITS_NUM 2 //Number of cache profile counter units
|
||||
|
||||
/*-------------------------- CPU CAPS ----------------------------------------*/
|
||||
#define SOC_CPU_CORES_NUM (1U)
|
||||
|
||||
@@ -351,6 +351,14 @@ config SOC_CACHE_FREEZE_SUPPORTED
|
||||
bool
|
||||
default y
|
||||
|
||||
config SOC_CACHE_CNT_SUPPORTED
|
||||
bool
|
||||
default y
|
||||
|
||||
config SOC_CACHE_CNT_UNITS_NUM
|
||||
int
|
||||
default 2
|
||||
|
||||
config SOC_CPU_CORES_NUM
|
||||
int
|
||||
default 1
|
||||
|
||||
@@ -145,6 +145,8 @@
|
||||
/*-------------------------- CACHE CAPS --------------------------------------*/
|
||||
#define SOC_SHARED_IDCACHE_SUPPORTED 1 //Shared Cache for both instructions and data
|
||||
#define SOC_CACHE_FREEZE_SUPPORTED 1
|
||||
#define SOC_CACHE_CNT_SUPPORTED 1
|
||||
#define SOC_CACHE_CNT_UNITS_NUM 2 //Number of cache profile counter units
|
||||
|
||||
/*-------------------------- CPU CAPS ----------------------------------------*/
|
||||
#define SOC_CPU_CORES_NUM (1U)
|
||||
|
||||
@@ -355,6 +355,14 @@ config SOC_CACHE_FREEZE_SUPPORTED
|
||||
bool
|
||||
default y
|
||||
|
||||
config SOC_CACHE_CNT_SUPPORTED
|
||||
bool
|
||||
default y
|
||||
|
||||
config SOC_CACHE_CNT_UNITS_NUM
|
||||
int
|
||||
default 4
|
||||
|
||||
config SOC_CPU_CORES_NUM
|
||||
int
|
||||
default 2
|
||||
|
||||
@@ -152,6 +152,8 @@
|
||||
/*-------------------------- CACHE CAPS --------------------------------------*/
|
||||
#define SOC_CACHE_WRITEBACK_SUPPORTED 1
|
||||
#define SOC_CACHE_FREEZE_SUPPORTED 1
|
||||
#define SOC_CACHE_CNT_SUPPORTED 1
|
||||
#define SOC_CACHE_CNT_UNITS_NUM 4 //Number of cache profile counter units
|
||||
|
||||
/*-------------------------- CPU CAPS ----------------------------------------*/
|
||||
#define SOC_CPU_CORES_NUM (2U)
|
||||
|
||||
@@ -507,6 +507,14 @@ config SOC_CACHE_FREEZE_SUPPORTED
|
||||
bool
|
||||
default y
|
||||
|
||||
config SOC_CACHE_CNT_SUPPORTED
|
||||
bool
|
||||
default y
|
||||
|
||||
config SOC_CACHE_CNT_UNITS_NUM
|
||||
int
|
||||
default 6
|
||||
|
||||
config SOC_CACHE_INTERNAL_MEM_VIA_L1CACHE
|
||||
bool
|
||||
default y
|
||||
|
||||
@@ -174,6 +174,8 @@
|
||||
#define SOC_SHARED_IDCACHE_SUPPORTED 1 //Shared Cache for both instructions and data
|
||||
#define SOC_CACHE_WRITEBACK_SUPPORTED 1
|
||||
#define SOC_CACHE_FREEZE_SUPPORTED 1
|
||||
#define SOC_CACHE_CNT_SUPPORTED 1
|
||||
#define SOC_CACHE_CNT_UNITS_NUM 6 //Number of cache profile counter units
|
||||
#define SOC_CACHE_INTERNAL_MEM_VIA_L1CACHE 1
|
||||
|
||||
/*-------------------------- CPU CAPS ----------------------------------------*/
|
||||
|
||||
@@ -491,6 +491,14 @@ config SOC_CACHE_FREEZE_SUPPORTED
|
||||
bool
|
||||
default y
|
||||
|
||||
config SOC_CACHE_CNT_SUPPORTED
|
||||
bool
|
||||
default y
|
||||
|
||||
config SOC_CACHE_CNT_UNITS_NUM
|
||||
int
|
||||
default 4
|
||||
|
||||
config SOC_CPU_CORES_NUM
|
||||
int
|
||||
default 2
|
||||
|
||||
@@ -164,6 +164,8 @@
|
||||
/*-------------------------- CACHE CAPS --------------------------------------*/
|
||||
#define SOC_CACHE_WRITEBACK_SUPPORTED 1
|
||||
#define SOC_CACHE_FREEZE_SUPPORTED 1
|
||||
#define SOC_CACHE_CNT_SUPPORTED 1
|
||||
#define SOC_CACHE_CNT_UNITS_NUM 4 //Number of cache profile counter units
|
||||
|
||||
/*-------------------------- CPU CAPS ----------------------------------------*/
|
||||
#define SOC_CPU_CORES_NUM (2U)
|
||||
|
||||
Reference in New Issue
Block a user