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.

查看数据在L1D中的存活时间



 使用的芯片型号是C6678,仿真器是XDS560V2。现在要做优化,目前程序开启了L1D的cache,想看某段数据在L1D中的存活时间,有什么办法。

目前使用profile似乎无法看到这个数据,还有trace这个工具,不过我的仿真器是xds560v2,不是560v2 pro 无法看到更多的信息,请问有什么方法。

谢谢

  • 560V2可以支持SYSTEM TRACE, PRO 可以支持external buffer core trace.

    可以通过core trace 中 pipe line stall的时间来观察是否存在cache miss造成的stall。

    关于core trace的使用,可以参考如下链接:

    http://processors.wiki.ti.com/index.php/Debugging_With_Trace