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.

如何查看DSP一级缓存,二级缓存的Cache命中率



目前正在做DSP TMSC6678上的开发,需要优化程序的运行。

想从cache的命中率上提高,请问有什么相关的资料,并且如果查看一级缓存或是二级缓存的命中率,包括程序段与数据段。

谢谢了

  • 可以用编译器工具cache layout tool,参考帖子:http://www.deyisupport.com/question_answer/dsp_arm/c6000_multicore/f/53/p/8648/26492.aspx#26492

  • 您好,我看了cache layout tool工具确实能帮助我优化cache性能。

    不过现在遇到了新的问题,在我使用profile 收集有关L1P的信息时,在启动需要运行的core时,报错“gti_sim_server.exe 0x02eb133f 指令引用的0x00000004内存,该内存不能为written”。无法使用执行程序并收集信息,请问该错误是由什么引起的,怎么解决这个问题。

    另外还有一个问题,我按照Program Cache Layout 教程中优化caceh的命中率,在生成profiel信息,也就是使用--gen_profile_info生成pprofout.ppd文件时出现问题。在编译时已经增加了选项--gen_profile_info,但是在运行完程序后,没有看到生成的pprofout.ppd文件。

    谢谢