文件名称:2_Memory
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:1.96mb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
内存管理实验程序。
要求 :
使用 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/2_Memory.dsw
2_Memory/2_Memory.ncb
2_Memory/2_Memory.opt
2_Memory/2_Memory.plg
2_Memory/Debug/2_Memory.bsc
2_Memory/Debug/2_Memory.exe
2_Memory/Debug/2_Memory.ilk
2_Memory/Debug/2_Memory.pch
2_Memory/Debug/2_Memory.pdb
2_Memory/Debug/main.obj
2_Memory/Debug/main.sbr
2_Memory/Debug/opfile
2_Memory/Debug/out.txt
2_Memory/Debug/vc60.idb
2_Memory/Debug/vc60.pdb
2_Memory/main.cpp
2_Memory/opfile
2_Memory/out.txt
2_Memory/Debug
2_Memory
2_Memory/2_Memory.dsw
2_Memory/2_Memory.ncb
2_Memory/2_Memory.opt
2_Memory/2_Memory.plg
2_Memory/Debug/2_Memory.bsc
2_Memory/Debug/2_Memory.exe
2_Memory/Debug/2_Memory.ilk
2_Memory/Debug/2_Memory.pch
2_Memory/Debug/2_Memory.pdb
2_Memory/Debug/main.obj
2_Memory/Debug/main.sbr
2_Memory/Debug/opfile
2_Memory/Debug/out.txt
2_Memory/Debug/vc60.idb
2_Memory/Debug/vc60.pdb
2_Memory/main.cpp
2_Memory/opfile
2_Memory/out.txt
2_Memory/Debug
2_Memory
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.