登录
首页 » Visual C++ » LRU

LRU

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

  • program
    作业调度程序,模拟操作系统的作业调度过程,协调和控制各个作业对cpu的使用控制(Job scheduling program to simulate the process of the operating system job scheduling, coordinating and controlling the use of control operations on cpu)
    2011-05-19 17:32:58下载
    积分:1
  • writerandreader
    计科操作系统课程“读者写者”问题的经典解决。(Branch of the operating system programs, " wrote the reader" as a problem to solve classic.)
    2009-05-13 15:29:02下载
    积分:1
  • LinuxGroupMan
    说明:  Unix 成组链接法 模拟UNIX系统的空闲块成组链接法,实现磁盘存储空间的管理(Unix Group Links UNIX System Simulation of spare pieces Group link, disk storage space to achieve the management)
    2020-12-12 19:59:15下载
    积分:1
  • yinhangjiasuanfa
    这是我做的操作系统里面的银行家算法的源程序,发上来供大家参考。(caozuoxitongyinhangjiasuanfa)
    2009-05-22 23:40:08下载
    积分:1
  • distributionofstoragemanagementandrecovery
    模拟段式存储管理的分配与回收,能够输入给定的内存大小,进程的个数,每个进程的段数及段大小;当某进程提出申请空间的大小后,显示能否满足申请,以及为该进程分配资源后有关内存空间使用的情况。 (Analog-stage distribution of storage management and recovery, be able to enter a given memory size, number of processes, each process segment number and segment size when a space the size of the application process, the show can meet the application, as well as the The process, after the allocation of resources relating to the use of memory space.)
    2020-09-17 16:37:55下载
    积分:1
  • hujianbo
    我的银行家算法,大家来看看。 若要密码 265913(I bankers algorithm, we take a look at. To password 265913)
    2007-01-05 16:48:04下载
    积分:1
  • OSDemo
    操作系统实验演示代码(三个实验,作业管理,内存管理,文件管理)(Experimental demonstration of the operating system code (three experiments, operations management, memory management, document management))
    2020-06-26 11:00:02下载
    积分:1
  • clock页面置换算法
    clock页面置换算法 用CLOCK置换算法仿真请求分页系统 1、设计目的:用高级语言编写和调试一个内存分配程序,加深对内存分配算法的理解。 2、设计要求: 1) 实现请求分页存储管理方式的页面置换算法:CLOCK算法 2) 内存物理块数固定为15个,对多个作业采用可变分配全局置换的策略分配物理块 3) 作业数量与作业大小(10-20页)可在界面进行设置 4) 所有作业按RR算法进行调度,时间片长度为1秒 5) 可为每个作业随机产生引用的页面串,也可以人工输入引用的页面串,页面串长度50---100,要求必须包括作业所有的页面,可作为样例数据保存 6) 可读取样例数据(要求存放在外部文件中)进行作业数量、作业大小、页面串长度的初始化 7) 要求采用可视化界面,模拟内存分配和使用情况图,可在运行过程中随时暂停,查看当前内存物理块使用情况。 8) 每次全部作业运行结束后,要求打印出访问命中率 (clock page replacement algorithm)
    2013-05-12 10:42:56下载
    积分: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
  • 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
  • 696518资源总数
  • 105714会员总数
  • 27今日下载