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.

memcpy函数执行时间的问题

Other Parts Discussed in Thread: SYSBIOS

   在6678芯片上,时钟频率1GHz,DDR3为1333MHz,

 在有sysbios下(程序有3级优化),执行memcpy函数拷贝1024x1024个数据(从DDR3-DDR3)只需要2ms左右,但是在无操作系统(程序有3级优化)的情况下执行memcpy函数拷贝1024x1024个数据(从DDR3-DDR3)需要20ms左右。

 为什么会有这么大的区别? 不管有无操作系统,DDR都是使能缓存了。