我现在想测试每个函数和模块的运行时间,之前读过一篇文档,说是可以由编译器的反馈信息得到,这个要看哪个文件,用profile工具可以实现么?
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.
我现在想测试每个函数和模块的运行时间,之前读过一篇文档,说是可以由编译器的反馈信息得到,这个要看哪个文件,用profile工具可以实现么?
profile只能用于simulator上,具体的操作可以看CCS的Help。
如果需要在硬件上测试,可以考虑使用Hook函数,用CPU的TSC来计算cycle