登录
首页 » Visual C++ » LRU

LRU

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

  • Bankers-algorithm-simulation
    银行家算法模拟,适用于计算机操作系统课程设计的银行家算法的实现。(Bankers algorithm simulation for realization of computer courses on operating system design bankers algorithm.)
    2015-12-14 13:34:41下载
    积分: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
  • 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
  • chulijidiaodu
    处理及调度源代码,用C++来编程,模拟处理机调度,实验报告(Processing and scheduling source code, using C++, programming, analog processor scheduling, lab reports)
    2011-06-13 00:42:10下载
    积分:1
  • file-management-experiment
    操作系统文件管理实验:利用交互式命令实现树型目录结构和文件管理,同时利用位示图表示外存的分配情况,新建文件时分配必要的空间,模拟文件分配表记录文件在外存上的存储方式。了解系统对文件的操作。 在文件中保存目录内容,创建文件或子目录可以用命令行命令:MD、CD、RD、MK(创建文件)、DEL(删除文件)和DIR(Operating system file management experiment: the use of interactive command tree directory structure and file management, while taking advantage of the bit map indicates the distribution of the external memory, and allocate the necessary space when a new file is created, the simulation file allocation table log file is stored in the external memory way. Understanding of the system operation on the file. Save the contents of a directory in the file, create a file or subdirectory can use the command-line command: MD, CD, RD, MK (create a file), DEL (delete files) and DIR)
    2020-12-12 20:49:17下载
    积分:1
  • 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
  • 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
  • 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
  • Storage_Simulator0001
    在采用多道程序设计的系统中,往往有若干个进程同时处于就绪状态。当就绪进程个数大于处理机数时,就必须依照某种策略来决定哪些进程优先占用处理机。本实验模拟在单处理机情况下的处理机调度,帮助学生加深了解处理机调度的工作。 二、实验类型 设计型。 三、预习内容 预习课本处理机调度有关内容,包括进程占用处理机的策略方法。 四、实验要求与提示 设计进程调度算法,进程数不定;包含几种调度算法,并加以实现;输出进程的调度过程——进程的状态、链表等。要求使用优先权法和轮转法模拟进程调度过程。 【提示】:简化假设 1) 进程为计算型的(无I/O) 2) 进程状态:ready、running、finish 3) 进程需要的CPU时间以时间片为单位确定 【提示】:算法描述 1) 优先权法——动态优先权,当前运行进程用完时间片后,其优先权减去一个常数。 2) 轮转法 (err)
    2008-06-12 19:04:46下载
    积分:1
  • ddos
    非常强大的DDOS嘎嘎,速度下载把,版权帝们,(Very strong DDOS quack)
    2014-01-30 19:18:33下载
    积分:1
  • 696522资源总数
  • 104040会员总数
  • 35今日下载