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.

cycle.total 比 cycle.cpu大很多,该怎么做优化?



    以前在做优化的时候,都是根据软件流水的反馈信息来做的,这个优化是针对cycle.cpu来说的,并没有包括cpu stall的cycle,我的问题是为了减少cycle.total数,下一步该怎么做优化?求老师帮忙答疑,不胜感激啊!

  • 优化的方法是一样的,在profile中主要包含cycle.total, cycle.cpu及cycle.stall,优化的目的就是分别降低cycle.cpu及cpu.stall。

  • profile里似乎只能看到总的stall数和cpu数以及cycle.total数,不能像软件流水的反馈信息那样具体,所以我还是不知道怎么做优化,不知道是不是我的方法不对,还是没有用好软件流水的反馈信息?还有就是有没有关于profile使用介绍的文档,目前还不怎么会用,谢谢!