Howdy!
I am curious if there is a known highly accurate method to count the time duration it takes to run my program.
My program is in c++ and I am using CCS v5 in Ubuntu. My target hardware is the C6678, which I am successfully simulating in CCS at the moment.
The end goal for me here is to find the program execution duration in real-time (fractions of a second), as accurately as I can. I'm thinking that after I count the number of clock cycles, I would like to try and 'convert' that to real-time (seconds) by multiplying it by my device's true clock speed (assuming that I can measure the clock speed somehow, and that the speed doesn't change over time based on how 'busy' the DSP is!).
Thank you!