1. 我想用片上的硬件定时器的方法测量代码运行时间,使用timer,加头文件:csl_timer.h,但是6747没有csl,我下载了6747的cslr package,发现里面也没有csl_timer.h,该怎么办?(我用的是ccs 5.4)
2. Run –> Clock –> Enable,用此方法测量的代码运行时间准确么?
Shine:
你好,
建议你用profile功能来测量代码运行时间。
profile的用法可以到CCS Help菜单里查看或者到下面的wiki网站。http://processors.wiki.ti.com/index.php/Profiler
qlnancy:
回复 Shine:
我尝试过用此方法,但是在Profile setup中,它提示there is no activity available for the selected debug session. 无法进行下一步。
Shine:
回复 Shine:
你要的timer头文件,应该是cslr_tmr.h这个文件名吧