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.

What is the meaning of number of _delay_cycles?

Other Parts Discussed in Thread: TMS570LS1227

Dear all,

I am using TMS570LS1227 on CCS v6.1 (arm compiler 5.2.2).

As my know, the latest versiion of compiler(5.2.2) has supported _delay_cycles().

Could you explain what is the meaning of the number?

For example, if I use _delay_cycles(1000),  what is its unit?  1000s?   1000 cpu clock?

Also, I had test the performance of _delay_cycles by RTI.

The _delay_cycles(1000) spend  about 1.97 * 10^-5

The _delay_cycles(100000) spend about   1.94 * 10^-3

Thanks a lot