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:在C7x上进行性能分析时printf语句的异常行为

Guru**** 2803255 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1086534/c7x-abnormal-behaviour-of-printf-statements-while-profiling-on-c7x

您好,

我在打印函数所用周期数时注意到代码中printf语句的异常行为。 我可以打印函数返回的值以及 函数使用性能分析所执行的周期数。 但如果我在 代码中注释掉printf语句返回的值,则它不会打印该函数执行的周期。 请告诉我为什么会发生这种情况。

谢谢!  

Puja Kumari