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.

How to calculate the time of code when use css3.3

 

 How to calculate the time of code when use css3.3!?  thank you!

 An chen

 

  • There are several ways in which you can do this,

    The easiest way is to use clock APIs from standard C library by including time.h. For eg you can download the DSPLIB to see reference implementation.

    Other options are :

    • In CCSv3.3, Under profile menu select Clock->enable. Then set break points in your code in the section that you want to benchmark and see the clock count.
    • Read internal DSP count registers. See register defintiion in DSP megamodule documentation

    Regards,

    Rahul