Quantcast
Channel: 数字信号处理器 (DSP) & ARM® 微处理器
Viewing all articles
Browse latest Browse all 21822

帖子: System_printf函数打印时间问题

$
0
0

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

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

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

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


Viewing all articles
Browse latest Browse all 21822

Trending Articles