请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
您好,
我在打印函数所用周期数时注意到代码中printf语句的异常行为。 我可以打印函数返回的值以及 函数使用性能分析所执行的周期数。 但如果我在 代码中注释掉printf语句返回的值,则它不会打印该函数执行的周期。 请告诉我为什么会发生这种情况。
谢谢!
Puja Kumari
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.
您好,
我在打印函数所用周期数时注意到代码中printf语句的异常行为。 我可以打印函数返回的值以及 函数使用性能分析所执行的周期数。 但如果我在 代码中注释掉printf语句返回的值,则它不会打印该函数执行的周期。 请告诉我为什么会发生这种情况。
谢谢!
Puja Kumari
您好,Puja,
这看起来像是重复的线程,您是否面临 https://e2e.ti.com/support/processors-group/processors/f/processors-forum/108.6471万/c7x-abnormal-behavior-of-printf-statements-in-profiling中提到的相同问题 ? 如果可以,您可以尝试此处所述的建议,我们是否可以将我们的讨论移至 该主题?
谢谢!
瓦伦