文件名称:2_Memory
- 所属分类:
- 系统编程
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 1.96mb
- 下载次数:
- 0次
- 提 供 者:
- a***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
内存管理实验程序。
要求 :
使用 Windows XP的 API 函数,编写一个包含两个线程的进程,一个线程用于模拟内存
分配活动,一个线程用于跟踪第一个线程的内存行为,而且要求两个线程之间通过信号量实
现同步。模拟内存活动的线程可以从一个文件中读出要进行的内存操作,每个内存操作包括
如下内容:
1、时间:操作等待时间。
2、块数:分配内存的粒度。
3、操作:包括保留(reserve)一个区域、提交(commit)一个区域、释放(release)一个区域、回收(decommit)一个区域和加锁(lock)与解锁(unlock)一个区域,可以将这些操作编号存放于文件。-Experimental procedures for memory management.
Requirements:
Windows XP to use the API function to prepare a process contains two threads, a thread used to simulate the memory
Distribution activities, a thread for tracking the first acts of the thread of memory, but also between the two threads through the semaphore is
Are synchronized. Thread memory simulation activities can be read from a file to the memory operation, each memory operation, including
The following:
1, time: time to wait for the operation.
2, block number: the size distribution of memory.
3, steps: including the reservation (reserve) a region, the author (commit) to a single region, the release (release) a regional, recycling (decommit) a regional and locking (lock) and unlock (unlock) a region, can be operation code stored in the document.
要求 :
使用 Windows XP的 API 函数,编写一个包含两个线程的进程,一个线程用于模拟内存
分配活动,一个线程用于跟踪第一个线程的内存行为,而且要求两个线程之间通过信号量实
现同步。模拟内存活动的线程可以从一个文件中读出要进行的内存操作,每个内存操作包括
如下内容:
1、时间:操作等待时间。
2、块数:分配内存的粒度。
3、操作:包括保留(reserve)一个区域、提交(commit)一个区域、释放(release)一个区域、回收(decommit)一个区域和加锁(lock)与解锁(unlock)一个区域,可以将这些操作编号存放于文件。-Experimental procedures for memory management.
Requirements:
Windows XP to use the API function to prepare a process contains two threads, a thread used to simulate the memory
Distribution activities, a thread for tracking the first acts of the thread of memory, but also between the two threads through the semaphore is
Are synchronized. Thread memory simulation activities can be read from a file to the memory operation, each memory operation, including
The following:
1, time: time to wait for the operation.
2, block number: the size distribution of memory.
3, steps: including the reservation (reserve) a region, the author (commit) to a single region, the release (release) a regional, recycling (decommit) a regional and locking (lock) and unlock (unlock) a region, can be operation code stored in the document.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
2_Memory
........\2_Memory.dsp
........\2_Memory.dsw
........\2_Memory.ncb
........\2_Memory.opt
........\2_Memory.plg
........\Debug
........\.....\2_Memory.bsc
........\.....\2_Memory.exe
........\.....\2_Memory.ilk
........\.....\2_Memory.pch
........\.....\2_Memory.pdb
........\.....\main.obj
........\.....\main.sbr
........\.....\opfile
........\.....\out.txt
........\.....\vc60.idb
........\.....\vc60.pdb
........\main.cpp
........\opfile
........\out.txt
........\2_Memory.dsp
........\2_Memory.dsw
........\2_Memory.ncb
........\2_Memory.opt
........\2_Memory.plg
........\Debug
........\.....\2_Memory.bsc
........\.....\2_Memory.exe
........\.....\2_Memory.ilk
........\.....\2_Memory.pch
........\.....\2_Memory.pdb
........\.....\main.obj
........\.....\main.sbr
........\.....\opfile
........\.....\out.txt
........\.....\vc60.idb
........\.....\vc60.pdb
........\main.cpp
........\opfile
........\out.txt