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.

Execution Time of the Code !

Hi,

I am currently working on 6416 using the  (C6416 Device Cycle Accurate Simulator). Can anyone tell me some way in which i can calculate the execution time of my code ?

 

One way that i thought about was to count the number of cycles by using the Profile and multiply with the inverse of the Frequency... but i am not sure about the frequency ? 

 

any help would be highly appreciated!

 

  • Yes, that's how you would do it.  The cycle time is the inverse of the frequency of the device (1 CPU clock cycle = 1/Freq of CPU clock.) 

    The actual clock in the real world would depend on the device speed grade used, and the clocking setup - You can check the data manual for clocking ranges.

    PS: I'm moving this to the C64x Single Core forum, since this is not a multi-core device.