文件名称:Simulate_Allocate_Memory_Implement_by_C
介绍说明--下载内容均来自于网络,请自行研究使用
模拟内存分配的c语言实现
六、 实验目的
了解用户程序分配内存以及回收所用内存的过程,加深对操作系统存储管理机制的理解。
七、 实验内容
采用首次适应法、最佳适应法或最差适应法,编写一内存分配和回收模拟程序。
(提示:“内存空闲区”数组的设置原理类似于实验一。动态地随机产生新的“内存分配”或“内存回收”请求,再按照你选定的分配算法修改这个数组。由于这个实验的重点在于内存分配,所以不考虑与某内存区相关的进程情况。)
-simulation memory allocation in C Language 6, the experiment was to understand user program memory allocation and recovery of memory used by the process, enhance the operating system memory management mechanisms and understanding. 7, the first experiment using content to adapt, adapt best or the worst adaptation law, the preparation of a memory allocation and recovery simulation program. (Tip : "memory free zone" set up an array of principles similar to the experimental one. Dynamic random to create a new "memory allocation" or "memory recovery" request, then you have chosen in accordance with the allocation algorithm to change the array. As the focus of this experiment is memory allocation, there is no test taking into account with a certain memory areas rela
六、 实验目的
了解用户程序分配内存以及回收所用内存的过程,加深对操作系统存储管理机制的理解。
七、 实验内容
采用首次适应法、最佳适应法或最差适应法,编写一内存分配和回收模拟程序。
(提示:“内存空闲区”数组的设置原理类似于实验一。动态地随机产生新的“内存分配”或“内存回收”请求,再按照你选定的分配算法修改这个数组。由于这个实验的重点在于内存分配,所以不考虑与某内存区相关的进程情况。)
-simulation memory allocation in C Language 6, the experiment was to understand user program memory allocation and recovery of memory used by the process, enhance the operating system memory management mechanisms and understanding. 7, the first experiment using content to adapt, adapt best or the worst adaptation law, the preparation of a memory allocation and recovery simulation program. (Tip : "memory free zone" set up an array of principles similar to the experimental one. Dynamic random to create a new "memory allocation" or "memory recovery" request, then you have chosen in accordance with the allocation algorithm to change the array. As the focus of this experiment is memory allocation, there is no test taking into account with a certain memory areas rela
(系统自动生成,下载前可以参看下载内容)
下载文件列表
压缩包 : 21840270simulate_allocate_memory_implement_by_c.rar 列表 Simulate_Allocate_Memory_Implement_by_C\header.h Simulate_Allocate_Memory_Implement_by_C\main.c Simulate_Allocate_Memory_Implement_by_C\DischargeSpace.c Simulate_Allocate_Memory_Implement_by_C\ApplySpace.c Simulate_Allocate_Memory_Implement_by_C\initial.c Simulate_Allocate_Memory_Implement_by_C\adjust.c Simulate_Allocate_Memory_Implement_by_C\checkspacefordischarge.c Simulate_Allocate_Memory_Implement_by_C\checkspaceforapply.c Simulate_Allocate_Memory_Implement_by_C