Hi,
I'm tying to use clock() function to get the clock tick on the TI TMS320C5515 DSP board. But the value returned is always 0. Does any have an idea of this?
Thanks,
Qingkun
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.
Hi,
I'm tying to use clock() function to get the clock tick on the TI TMS320C5515 DSP board. But the value returned is always 0. Does any have an idea of this?
Thanks,
Qingkun
Hello,
In order to make the clock() function work, you need to enable clock in Code Composer Studio. If you are using CCS v5, after connecting the target, go to 'Run' menu and click on 'Enable' under 'Clock' sub-menu. If you are using CCS v4, after connecting the target, go to 'Target' menu and click on 'Enable' under 'Clock' sub-menu. If you are using CCS v3, go to 'Profile' menu and select 'Enable' under 'Clock' sub-menu.
Hope this helps.
Regards,
Rahul Nair