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.

Measurement of the time required by a portion of program, DSPC54x

Other Parts Discussed in Thread: CCSTUDIO

Hi all,

I’m using CCStudio 5.4 for DSP C54x.

My question is about the measurement of the time that a portion of code spends during its execution

With DSPC6000, the Time Stamp Counter Registers "TSCL/TSCH" method do perfectly the job, but when using DSP C54x, I can’t find the TSCL/TSCH library (I think is not supported by C5000 family , sounds like the TSCL/TSCH was implemented with the newest C64x+ processors!).

So, there others ways?

Worth to notice that I was used the TSCL/TSCH with .c file. Now, I’m using algebraic assembly and it would be better that I find a way to implement this measurement with my assembly code. 

  • Hello,

    Do you wish to do the instrumentation in your code? Because there is a tool in CCS called the profile clock which allows you to count cycles from one point to another. However the clock is intrusive as it can only read the clock when the program is halted.

    ki