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.

System_printf函数打印时间问题



专家好,我在6678多核程序中,如果不加打印时间,程序运行一个循环需要3.8ms,加一个printf打印语句,程序运行一个循环差不多50ms,

于是我将printf换成System_printf函数,程序运行一个循环需要30ms,不是说BIOS中sysem_printf函数打印很省时间吗,怎么我的还是那么长时间

单独测试system_printf和system_flush两个函数指令周期为5200,如果核时钟1G,才5.2us,相差为啥这么大,求分析

注:以上时间都是示波器测定的