登录
首页 » Visual C++ » LRU

LRU

于 2011-07-06 发布 文件大小:1916KB
0 247
下载积分: 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 个回复

  • OS_EXP3
    操作系统实验三(银行家算法),西安电子科技大学出版社, 实验代码, 及数据文件(Operating system experiment, Xi an University of Electronic Science and Technology Publishing House, the experimental code, and data files)
    2013-04-01 10:22:53下载
    积分:1
  • 用login二级目录的文件
    这个程序是模拟采用二级目录结构的磁盘文件系统中的文件操作,它可以实现对文件的一些基本管理,如:读、写、删除文件等。通过这个程序可掌握文件子系统的原理,加深对二级目录结构的文件系统中用户管理、文件管理、目录管理的理解,并用程序实现对文件子系统的模拟。(the procedure is simulated using two disk directory structure of the file system file manipulation, it can be achieved on some basic document management, such as : read, write, delete files. Through this procedure can grasp the principle document subsystems to enhance the structure of the two file system user management, document management, directory management, understanding, and the procedures to achieve the right documents subsystem simulation.)
    2020-12-12 20:29:16下载
    积分:1
  • FCFS
    系统调度中先进先出FCFS算法代码 操作系统课设可用(FIFO system FCFS scheduling algorithm code class-based operating system available)
    2015-11-30 20:53:48下载
    积分:1
  • jinchengdiaodu
    加深进程概念的理解;掌握选择进程调度算法的准则;掌握进程调度算法。 (Deepen the process of understanding of the concept master scheduling criteria selection process algorithm master process scheduling algorithm.)
    2013-12-10 13:42:14下载
    积分:1
  • operatingsystem
    操作系统页面置换 调度 寻道程序 简短使用(Page seek replacement operating system scheduling procedures)
    2009-05-17 08:09:54下载
    积分:1
  • five
    FIFO和LRU页面置换算法,使用c++写的,有功能号,可以选择功能,进行相应的操作!(FIFO and LRU page replacement algorithm, using c++ written in the functional number, you can choose functions to carry out the appropriate action!)
    2010-01-14 16:39:34下载
    积分:1
  • 4
    说明:  这是一个操作系统中关于调度问题中的先来先服务调度算法。(This is an operating system on the scheduling of a first-come first-served scheduling.)
    2011-06-19 22:42:58下载
    积分:1
  • OS
    说明:  包含操作系统全部试验以及实验报告,稍微修改下就可以了(Contains the operating system all the tests and lab reports, a slight modification can be the next)
    2010-05-26 11:29:03下载
    积分:1
  • Page-replacement
    页面置换算法的模拟实现及命中率对比.通过模拟实现几种基本页面置换的算法,了解虚拟存储技术的特点(Simulation of page replacement algorithm, and the hit rate compared to several basic page replacement algorithm through simulation to understand the characteristics of virtual storage technology)
    2012-03-29 14:59:46下载
    积分:1
  • process_attemper
    1、 :编写并调试一个模拟的进程调度程序,采用“最高优先数优先”调度算法对进程进行调度。 “最高优先数优先调度算法的基本思想是把CPU分配给就绪队列中优先数最高的进程。尝试静态优先数与动态优先数两种方法: a) 静态优先数是指优先数在整个进程运行期间不再改变。优先数可以在数据输入时指定,也可以根据到达顺序、运行时间确定。 b) 动态优先数是指进程的优先数在创建进程时可以给定一个初始值,并且可以按一定原则修改优先数。例如进程获得一次CPU后就将其优先数减少1。或者进程等待的时间超过某一时限时增加其优先数的值。 2、 编写并调试一个模拟的进程调度程序,模拟实现多级反馈队列调度算法。 3、 编写并调试一个模拟的进程调度程序,模拟实现最低松弛度优先算法。 4、 程序与报告要求: a) 对上述要求1、2、3,至少要完成一项,鼓励尝试多种算法。 b) 输出结果要尽量详细清晰,能够反映调度后队列变化,PCB内部变化。 c) 可以选择在Windows或Linux环境下编写、运行程序 d) 鼓励使用不同的开发工具在不同平台环境上进行开发比较。 e) 在实验报告中,一方面可以对实验结果进行分析,一方面可以对各种算法进行比较,分析它们的优劣,说明各种算法适用于哪些情况下的调度。 (1 : Prepare a simulation and debugging process scheduling procedures, "Priority number of the highest priority" to the process of scheduling algorithms for scheduling. "Highest priority priority scheduling algorithm for the basic idea is to place the CPU allocated to the priority queue highest process. Taste Examination several static and dynamic priority priority number two methods : a) static priority number is priority number in operation during the entire process will not change. priority number in the designated input data, can be reached under the order, running time determine. b) dynamic priority number refers to several priorities for the process of the creation process can be given an initial value, and according to the principle of amending certain priority number.)
    2007-07-04 12:57:51下载
    积分:1
  • 696516资源总数
  • 106633会员总数
  • 4今日下载