摘要
许多情况下对程序的运行速度有着很高的要求,特别是需要实时处理大量信息的时候。讨论在C/C++程序中如何充分发挥内存拷贝函数的优势来提高程序的运行速度,讨论了内存拷贝函数的使用方法和条件,以设计图像处理中常用的空间域均值滤波函数为例,比较了不同设计下的运行速度,证明利用所述方法可以显著提高C/C++程序的运行速度。
In many cases the running speed of programs is expected to be as high as possible,especially for real-time programs that processing large amounts of information.This article discusses how to make full utility of memory copy function to improve the running speed of C/C ++ programs.First,to discuss the using method and conditions of the function,and then taking the common spatial domain filter function in image processing as an example,to compare the running speed under different designs.It is proved that using the method described in this article can significantly improve the running speed of C/C ++ programs.
出处
《中州大学学报》
2017年第6期125-128,共4页
Journal of Zhongzhou University