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.

关于dm3730 arm端cpu占用率问题

Other Parts Discussed in Thread: DM3730

在dm3730 的arm端,我采用摄像头采集回来的视频码流存在在A_buf,但是A_buf 的内容我想传给dsp端进行算法处理,所以我采用Memory_contigAlloc 函数分配了B_buf。

程序中,我单纯地将A_buf的内容通过memcpy拷贝到B_buf中, 发现arm端cpu占用率达到60%左右;

但是如果B_buf是通过new出来的话,同样的memcpy操作,arm端cpu占用率基本在10%左右。

(ps:采集回来的视频图像分辨率为720x576 格式为UYVY)

请问问题出在哪里呢?Memory_contigAlloc函数分配的内存中,我是有调节MAR寄存器进行cache的。