Other Parts Discussed in Thread: SYSBIOS
RTOS工程,有cfg文件 。
要加上ti.sysbios.family.c64p.Cache模块的使用么?
用不用进行使能,是在哪里进行配置与使能的,cfg文件中,还是C代码里
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
要加上ti.sysbios.family.c64p.Cache模块的使用么
加上#include <ti/sysbios/family/c66/Cache.h>应该就可以了
用不用进行使能
需要使能cache_enable, 在c代码里。
那关于,哪些data或是code会被cache,是由什么决定的。
cache后的效率的测试有没有测试数据?
哪些data或是code会被cache,是由什么决定的
比如某一段时间内频繁被使用的一些数据使用cache能够提升效率。
具体建议阅读以下文档 1.6 Principle of Locality 。
https://www.ti.com.cn/cn/lit/ug/sprugy8/sprugy8.pdf
cache后的效率的测试有没有测试数据?
以下存储器性能测试的文档中有一些测试数据。