Hi,
I have a DaVinci DM648 board and i want to calculate the execution time of my video analytics code. so plz let me know what i shud use to find start and end time of execution on DM648 EVM board.
Thanks
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 have a DaVinci DM648 board and i want to calculate the execution time of my video analytics code. so plz let me know what i shud use to find start and end time of execution on DM648 EVM board.
Thanks
Hi,
If you are using the profiler clock, check the thread below:
http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/69091.aspx
Cheers,
Rafael
Hi,
Thanks for replying. But i want to calculate the start and end time of a part of code by using some functions and not by using code composer studio's profiler.. Please let me know if there's any function which i can use to caluculate the execution time... I have tried using clock() function but its not working....
Thanks.
Hi,
I think you need to use a timer to do that, a document is available here: http://www.ti.com/lit/ug/spruel0b/spruel0b.pdf
In my application I reserved one of the DM648 timers for that purpose. It is configured as chained 32bit timer. I have a function to get a timestamp (in microseconds). To measure the duration of a function I take 2 timestamps, one at the beginning and one at the end of the function and know how long it took,
bye,
Thomas