登录
首页 » Visual C++ » LRU

LRU

于 2011-07-06 发布 文件大小:1916KB
0 210
下载积分: 1 下载次数: 38

代码说明:

  利用LRU算法仿真请求页面系统 1、设计内容:用高级语言编写和调试一个内存分配程序,加深对内存分配算法的理解。 2、设计要求: 1) 实现请求分页存储管理方式的页面置换算法:近期最久未使用算法(LRU) 2) 内存物理块数固定为3个,对多个作业采用可变分配全局置换的策略分配物理块 3) 作业数量与作业大小(0-9页)可在界面进行设置 4) 所有作业按RR算法进行调度,时间片长度为1秒 5) 可为每个作业随机产生引用的页面串,也可以人工输入引用的页面串,页面串长度50---100,要求必须包括作业所有的页面,可作为样例数据保存 6) 可读取样例数据(要求存放在外部文件中)进行作业数量、作业大小、页面串长度的初始化 7) 要求采用可视化界面,模拟内存分配和使用情况图,可在运行过程中随时暂停,查看当前内存物理块使用情况。 8) 每次全部作业运行结束后,要求打印出访问命中率 (Request page using LRU algorithm simulation system)

文件列表:

LRU
...\Debug
...\.....\Dialog1.obj,14664,2011-06-28
...\.....\Dialog2.obj,11915,2011-06-28
...\.....\LRU.exe,118849,2011-06-28
...\.....\LRU.ilk,485932,2011-06-28
...\.....\LRU.obj,24158,2011-06-26
...\.....\LRU.pch,5502316,2011-06-22
...\.....\LRU.pdb,418816,2011-06-28
...\.....\LRU.res,4676,2011-06-26
...\.....\LRUDlg.obj,47500,2011-06-28
...\.....\StdAfx.obj,105816,2011-06-22
...\.....\vc60.idb,238592,2011-07-02
...\.....\vc60.pdb,405504,2011-06-28
...\.....\作业串.txt,28,2011-06-26
...\.....\参数文件.txt,8,2011-06-26
...\Dialog1.cpp,1310,2011-06-28
...\Dialog1.h,1181,2011-06-24
...\Dialog2.cpp,1454,2011-06-28
...\Dialog2.h,1199,2011-06-24
...\LRU.APS,24552,2011-07-02
...\LRU.clw,3731,2011-07-02
...\LRU.cpp,2278,2011-06-26
...\LRU.dsp,4354,2011-06-22
...\LRU.dsw,514,2011-06-22
...\LRU.h,1717,2011-06-26
...\LRU.ncb,140288,2011-07-02
...\LRU.opt,48640,2011-07-02
...\LRU.plg,240,2011-07-02
...\LRU.rc,9264,2011-06-26
...\LRUDlg.cpp,9105,2011-06-28
...\LRUDlg.h,1757,2011-06-26
...\ReadMe.txt,3525,2011-06-22
...\res

...\...\LRU.rc2,395,2011-06-22
...\resource.h,1829,2011-06-26
...\StdAfx.cpp,205,2011-06-22
...\StdAfx.h,1054,2011-06-22
...\作业串.txt,24,2011-07-02
...\参数文件.txt,6,2011-07-02

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • fptree
    FP-growth算法的改进C++程序,具有较好的扩展性和应用性,本程序改成用行读取,然后在内存中解析。更有效的方式是采用块读取方式(本人在以前项目中验证过,速度大为提高。)(FP-growth algorithm C++ Procedures, have good scalability and application, the procedure changed to use line to read, and then resolve in memory. More effective approach is the use of block-read mode (I tested before the project, speed greatly improved.))
    2008-02-23 11:36:19下载
    积分:1
  • a.c
    dos 工具 用老版本的gcc编译,否则会出错(dos tools with older versions of THING)
    2016-07-11 08:01:26下载
    积分:1
  • gong_steel_dialog
    UG开发代码,开发型材的代码,UG对话框的源文件,可以参考(UG)
    2009-09-28 09:09:21下载
    积分:1
  • Filesystem
    磁盘文件系统:建立基于磁盘存储设备的UNIX文件系统,在windows系统下模拟UNIX文件管理系统,可用命令行进行基本的文件操作。(Disk file system: the UNIX file system based disk storage devices in the windows system simulation UNIX file management system, basic file operations available command line.)
    2013-04-25 14:32:48下载
    积分:1
  • ss
    说明:  请求页式虚存管理是常用的虚拟存储管理方案之一。通过请求页式虚存管理中对页面置换算法的模拟,有助于理解虚拟存储技术的特点,并加深对请求页式虚存管理的页面调度算法的理解。(Page requests virtual memory management is commonly used in the virtual storage management, one of the options. Page through the request of the management of virtual memory page replacement algorithm for simulation, helping to understand the characteristics of virtual storage technology, and better understanding of the request for virtual memory management Page page scheduling algorithm understanding.)
    2008-06-20 21:20:07下载
    积分:1
  • avoid-deadlock
    操作系统实验-死锁避免算法,word文档,详细,全,可执行,自己写的,希望快点能在贵网站下载。。。(Operating System Experiment- Deadlock avoidance algorithm, word documents, detailed, full, enforceable, wrote it myself, hope quickly in your website. . .)
    2013-10-28 19:05:59下载
    积分:1
  • reply_1_646228
    银行家算法,希望大家喜欢(bankers algorithm, hope you like)
    2004-11-10 19:41:05下载
    积分:1
  • ddos
    非常强大的DDOS嘎嘎,速度下载把,版权帝们,(Very strong DDOS quack)
    2014-01-30 19:18:33下载
    积分:1
  • simple-file
    简单的文件系统试验源代码,可用于操作系统的大型实验~~(Simple test source code of the file system, the operating system can be used for large-scale experiments to ~)
    2013-01-06 14:34:35下载
    积分:1
  • diaodu
    这是一个进程调度问题~~~~还是有很多的问题哦(This is a process of scheduling problem ~ ~ ~ ~ still has many problems Oh)
    2007-10-22 19:11:43下载
    积分:1
  • 696518资源总数
  • 106005会员总数
  • 36今日下载