4.5.1. 函数列表¶
4.5.1.5. Function gx_icache_get_access_time¶
-
uint32_t gx_icache_get_access_time(void)¶
获取 icache 命中次数
- 返回
uint32_t icache 命中次数
4.5.1.6. Function gx_icache_get_miss_time¶
-
uint32_t gx_icache_get_miss_time(void)¶
获取 icache 不命中次数
- 返回
uint32_t icache 不命中次数
4.5.1.21. Function gx_dcache_clean_invalid¶
-
void gx_dcache_clean_invalid(void)¶
刷新 cache 的脏数据到内存, 并无效 cache 中的数据
4.5.1.22. Function gx_dcache_clean_invalid_range¶
-
void gx_dcache_clean_invalid_range(uint32_t *addr, int32_t dsize)¶
根据给定的地址和大小,刷新和无效 cache 中的数据
- 参数
addr -- 起始地址 需要 32 字节对齐
dsize -- 大小 需要 32 字节对齐
4.5.1.23. Function gx_dcache_clean_range¶
-
void gx_dcache_clean_range(uint32_t *addr, int32_t dsize)¶
根据给定的地址和大小,刷新 cache 中的数据
- 参数
addr -- 起始地址 需要 32 字节对齐
dsize -- 大小 需要 32 字节对齐
4.5.1.28. Function gx_dcache_get_access_time¶
-
uint32_t gx_dcache_get_access_time(void)¶
获取 dcache 命中次数
- 返回
uint32_t 命中次数
4.5.1.29. Function gx_dcache_get_miss_time¶
-
uint32_t gx_dcache_get_miss_time(void)¶
获取 dcache 不命中次数
- 返回
uint32_t 不命中次数