文件名称: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
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
