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.

cache in FRAM

求教 怎样确定一个程序中的语句是否在 cache 里运行,如果是可以设定的话,怎样设定使得 程序全部在 cache 里 或者全部都不在cache 里 而在FRAM里?

  • 就比如在这个datasheet里面 100% cache hit ratio, 0% cache hit ratio 是怎么确定的?

    求大侠们指导啊!

  • cache hit ratio是缓存命中率。是指从FRAM读取数据时,能从FRAM的cache中读取到的比例。

    实际上,cache的存储空间非常小,只有几个字节。不可能让代码完全在cache中运行的。

    100% cache hit ratio只是一种实验数据,比如说连续读取同一个字符,实际应用中是不可能达到100%的。