摘要
针对实时操作系统内存分配的性能,分析了一个现有的测试模型,提出了模型中存在的问题,并给出了改进方法。改进后的模型比原模型可以产生更多的内存碎片,这样可以更充分地反映内存碎片对内存分配性能的影响。改进后的模型也更符合真实环境下的内存分配规律,且考虑了内存分配失败的情况对内存分配整体性能的影响。最后通过实验结果表明了改进方法的有效性和正确性。
Aiming at the performance of memory allocation of RTOS,an existing model is analyzed,existing problems is brought forward in the model and suggests improvement methods.Compared with the old model,the improve model could generate more memory fragments in the process of memory allocation and it fits better the memory allocation law in the real environment.What’s more,the improved model considers the impact of memory allocation failure on the integral memory allocation.In the end,it verifies the efficiency and correctness of improved methods through experiments.
出处
《计算机工程与设计》
CSCD
北大核心
2009年第24期5637-5642,共6页
Computer Engineering and Design