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.

C7x : Abnormal behaviour of printf statements while profiling on C7x



Hi,

I have noticed abnormal behaviour of printf statement in the code while printing the number of cycle taken by a function. I am able to print the value returned by a function along with  the number of cycles taken by a function using profiling. But if i commented out the  returned value of printf statement in the code its not printing the cycles taken by that function. Please tell me why its happening.

Thanks, 

Puja  Kumari