文件名称:memory
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:1.17kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
内存管理实验
1. 实验目的:
用高级语言编写和调试一个内存管理程序,以加深对内存的分配、回收以及空闲块管理的理解。
2. 实验内容:
编写一个模拟程序,完成内存可变分区分配的模拟,要求采用最佳适应法、最坏适应法、首次适应法或下次适应法之一。
实验具体包括:首先确定分配内存块管理的数据结构、空闲块的数据结构,然后完成内存分配、内存回收、空闲块管理等程序代码 最后编写模拟分配和回收过程的主函数,上机实验并取得结果数据。
-Memory management in Experiment 1. Experimental purposes: the preparation of high-level language with a memory management and debugging procedures in order to deepen their understanding of memory allocation, recovery and understanding of the management of free blocks. 2. Experimental Content: to prepare a simulation program, the completion of the memory variable geographical distribution of simulation, to adopt the best adapted to law, the worst adaptation law, the first time to adapt to meet the law or the next one. Specific experiments include the following: first determine the distribution of the data memory block management structure, free block data structure, and then complete the memory allocation, memory recovery, free block management code the final preparation of the process of simulation of the distribution and recovery of the main function of the experiment and results data.
1. 实验目的:
用高级语言编写和调试一个内存管理程序,以加深对内存的分配、回收以及空闲块管理的理解。
2. 实验内容:
编写一个模拟程序,完成内存可变分区分配的模拟,要求采用最佳适应法、最坏适应法、首次适应法或下次适应法之一。
实验具体包括:首先确定分配内存块管理的数据结构、空闲块的数据结构,然后完成内存分配、内存回收、空闲块管理等程序代码 最后编写模拟分配和回收过程的主函数,上机实验并取得结果数据。
-Memory management in Experiment 1. Experimental purposes: the preparation of high-level language with a memory management and debugging procedures in order to deepen their understanding of memory allocation, recovery and understanding of the management of free blocks. 2. Experimental Content: to prepare a simulation program, the completion of the memory variable geographical distribution of simulation, to adopt the best adapted to law, the worst adaptation law, the first time to adapt to meet the law or the next one. Specific experiments include the following: first determine the distribution of the data memory block management structure, free block data structure, and then complete the memory allocation, memory recovery, free block management code the final preparation of the process of simulation of the distribution and recovery of the main function of the experiment and results data.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
memory.c
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.