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.

请问system clock tick是个什么概念

Other Parts Discussed in Thread: SYSBIOS

看到如下图的system clock tick

如果是6487,主频是850M,system clock tick是多少?

谢谢!

  • 你好,system clock tick并不是dsp的主频,这个是在bios里面设置的。在bios里有clock模块,通过这个设置。一般设置都是1ms。

  • 如何用profile 工具,测出每个函数运行的时间?

  • 你说的profile工具是CCS tools中的选项吧,这个工具只能在simulator下得到每个函数的耗时分析,可以在simulator下load程序后,新建一个profile configuration,然后使能相应的选项,运行程序后就自然可以得到相应的profile结果。该profile工具可以准确分析cpu的执行cycle,但是对cache的分析跟实际有所差异。

    如果在板子上运行的话,如果是带sysBios则可以用bios的工具RTA分析每个线程的耗时;如果不带bios的话可以在代码中加入分段计时代码记录每个函数的耗时。

  • 支持Andy Yin1,ccs不支持c6000硬仿的profile功能,只能软仿profile,软仿可以模拟出每个函数的周期。

    如果一定要硬件上,可以用dsp  trace功能来查看硬件实际运行的每个函数的时钟周期。