登录
首页 » Visual C++ » LRU

LRU

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

  • FCFS
    系统调度中先进先出FCFS算法代码 操作系统课设可用(FIFO system FCFS scheduling algorithm code class-based operating system available)
    2015-11-30 20:53:48下载
    积分:1
  • gong_steel_dialog
    UG开发代码,开发型材的代码,UG对话框的源文件,可以参考(UG)
    2009-09-28 09:09:21下载
    积分:1
  • EOSApp
    1)设计一程序,由一个进程创建三个子进程,三个子进程一个是生产者进程,两个是消费者进程。 2)父子进程都使用父进程创建的共享存储区进行通信,由生产者进程将一个数组中的十个数值发送到由5个缓冲区组成的共享内存中。? 3)两个消费者进程轮流接收并输出这十个数值,同时将两个消费者进程读出的数值进行累加求各和。 4)考虑生产者进程生产的速度和消费者进程速度。(1) a program is designed to create three sub processes from one process, three sub processes is the producer process, and the two is the consumer process. 2) the father child process communicates with the shared storage area created by the parent process, and sends ten values in one array to the shared memory composed of 5 buffers by the producer process. L 3) the two consumer processes take turns to receive and output the ten values, and add values to each of the two consumer processes. 4) take into account the production speed of the producer process and the speed of the consumer process.)
    2020-12-23 09:19:08下载
    积分:1
  • system
    操作系统作业源代码,方便学习操作系统课程的同学使用 (this is the codes for students who learn computer system.)
    2013-12-30 21:07:39下载
    积分:1
  • Operating-System-B-test-reports
    开发一个仿真操作系统,要求具备进程调度、存储器管理、文件及设备管理等基本功能(The development of a simulation operating system, requires scheduling process, the basic functions of memory management, file and device management)
    2015-05-16 12:35:39下载
    积分:1
  • caozuoxitong
    大三操作系统的报告,完全包干,给需要的人(Third report of the operating system completely lump sum to those who need it)
    2008-12-26 10:20:54下载
    积分:1
  • caozuoxitongshiyanwendang
    操作系统的实验文档 包含设计与说明 带源码例子(Document contains the operating system design and description of experimental)
    2010-11-17 11:26:54下载
    积分:1
  • QiQiWeather
    说明:  手机天气预报系统,可以更改城市名字和显示天气,手机symbian 下使用(Mobile weather forecasting system, you can change the city names and display the weather, the use of mobile phones symbian)
    2008-09-28 15:48:33下载
    积分:1
  • subject_3
    对于OPT算法,在有多个页面可选的情况下,先淘汰较早进入的页面)。 3. 计算缺页次数及缺页率。 测试用例格式如下: 输入: 算法(1 OPT,2 FIFO,3 LRU) 内存块数 页面序列(页面1,页面2,页面3,...) 输出: 页面变化时内存块装入页面列表1-是否命中/页面变化时内存块装入页面列表2-是否命中/... 缺页次数 其中: 页面变化时内存块装入页面列表:内存块1装入页面,内存块2装入页面,内存块3装入页面...,未装入任何页面时由 -”表示 是否命中:1-命中,0-缺页">
    2021-04-27 00:48:45下载
    积分:1
  • process-and-thread-Technology
    进程和线程技术 Linux和windows进程创建 进程和线程通信 文档+实例分析(process and thread Technology Text and examples)
    2012-01-05 10:51:28下载
    积分:1
  • 696522资源总数
  • 104047会员总数
  • 21今日下载