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.

Current time

Hello,

I want to test some functions and see what's the function which takes less time than others. I want to know if there are an API function in CCS which give me the current time when I finished the exexution of any function

  • There are several options for profiling, depending on your target and environment.

    What device are you using? And are you using emulation or simulation? Are you using BIOS?

    And which version of CCS are you using?

    Thanks

    ki

     

  • I'm using the platform EVM DM6437

    I'm using simulation

    No BIOS

    CCS v3.3

  • For C6x simulation, you can use the CCS profiler or the Analysis Tool Kit (ATK). Both can give you detailed profiling information on all your functions. Both are well documented in the included CCS Help.

    For your DM6437 EVM hardware, your options are more limited since the ATK is only for simulators and the CCS profiler is not very accurate on HW. Your best option is to simply use the Profile Clock to get cycle counts from one point to another.

    Thanks

    ki