文件名称:buddy_allocte
介绍说明--下载内容来自于网络,使用问题请自行百度
1.实现一个内存管理的伙伴算法,实现内存块申请时的分配和释放后的回收。
实验准备
用随机函数仿真进程进行内存申请,并且以较为随机的次序进行释放。对其碎片进行统计,当申请分配内存失败时区分实际空间不足和由于碎片而不能满足。
-1. To implement a memory management algorithm partners to achieve the allocation of memory blocks and release time of application after the recovery. Experimental preparation processes with random memory function simulation applications, and a more random order of release. Statistics of its fragments, when an application fails to allocate memory and distinguish between the actual space can not satisfy the debris.
实验准备
用随机函数仿真进程进行内存申请,并且以较为随机的次序进行释放。对其碎片进行统计,当申请分配内存失败时区分实际空间不足和由于碎片而不能满足。
-1. To implement a memory management algorithm partners to achieve the allocation of memory blocks and release time of application after the recovery. Experimental preparation processes with random memory function simulation applications, and a more random order of release. Statistics of its fragments, when an application fails to allocate memory and distinguish between the actual space can not satisfy the debris.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
buddy_allocte.cpp
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.