文件名称:Buddy_System
下载
别用迅雷、360浏览器下载。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
介绍说明--下载内容均来自于网络,请自行研究使用
采用伙伴算法管理空闲区,并增加已分配区表。
可以建立7个链表 ,分别来管理大小为210、 29、 28、 27、 26、 25、 24 块的空闲区,每块大小为16个字节。假定内存一开始有一个210的块和一个26的块,其它为空。实现内存的分配不回收。每次分配和回收后,都要显示程序运行结果。
每次分配和回收后,都要显示。-Free zone management by partners algorithm, and to increase the allocated area table. Can create 7 list, respectively, to manage the size of 210, 29, 28, 27, 26, 25, 24 of the free area, the size of each block of 16 bytes. Assume that there is a memory of a block and a 26 210 block, others are empty. Not achieve the allocation of memory recovery. Distribution and recovery time after the run results to be displayed. After each allocation and recovery should show.相关搜索: Buddy_system
可以建立7个链表 ,分别来管理大小为210、 29、 28、 27、 26、 25、 24 块的空闲区,每块大小为16个字节。假定内存一开始有一个210的块和一个26的块,其它为空。实现内存的分配不回收。每次分配和回收后,都要显示程序运行结果。
每次分配和回收后,都要显示。-Free zone management by partners algorithm, and to increase the allocated area table. Can create 7 list, respectively, to manage the size of 210, 29, 28, 27, 26, 25, 24 of the free area, the size of each block of 16 bytes. Assume that there is a memory of a block and a 26 210 block, others are empty. Not achieve the allocation of memory recovery. Distribution and recovery time after the run results to be displayed. After each allocation and recovery should show.相关搜索: Buddy_system
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Buddy_System.cpp