登录
首页 » Visual C++ » clock页面置换算法

clock页面置换算法

于 2013-05-12 发布 文件大小:3812KB
0 238
下载积分: 1 下载次数: 15

代码说明:

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

文件列表:

Clock
.....\Clock.aps,23464,2012-10-21
.....\Clock.clw,3126,2013-05-02
.....\Clock.cpp,2242,2012-07-07
.....\Clock.dsp,4384,2012-07-05
.....\Clock.dsw,518,2012-07-04
.....\Clock.h,1564,2012-07-07
.....\Clock.ncb,99328,2013-05-02
.....\Clock.opt,66048,2013-05-02
.....\Clock.plg,947,2012-10-21
.....\Clock.rc,8137,2012-07-09
.....\ClockDlg.cpp,13936,2012-07-09
.....\ClockDlg.h,2003,2012-07-09
.....\Debug
.....\.....\Clock.bsc,5366784,2012-10-21
.....\.....\Clock.exe,122970,2012-10-21
.....\.....\Clock.ilk,366228,2012-10-21
.....\.....\Clock.obj,25076,2012-07-09
.....\.....\Clock.pch,7074816,2012-07-05
.....\.....\Clock.pdb,459776,2012-10-21
.....\.....\Clock.res,4132,2012-07-09
.....\.....\Clock.sbr,0,2012-07-09
.....\.....\ClockDlg.obj,62937,2012-10-21
.....\.....\ClockDlg.sbr,0,2012-10-21
.....\.....\example.txt,0,2012-10-21
.....\.....\Input.obj,12258,2012-07-08
.....\.....\Input.sbr,0,2012-07-08
.....\.....\Page.obj,4232,2012-07-07
.....\.....\Page.sbr,0,2012-07-07
.....\.....\StdAfx.obj,105875,2012-07-05
.....\.....\StdAfx.sbr,1375043,2012-07-05
.....\.....\vc60.idb,263168,2012-10-21
.....\.....\vc60.pdb,487424,2012-10-21
.....\example.txt,7,2012-07-09
.....\Input.cpp,1289,2012-07-08
.....\Input.h,1202,2012-07-08
.....\Page.cpp,523,2012-07-04
.....\Page.h,532,2012-07-07
.....\ReadMe.txt,495,2012-07-08
.....\res

.....\...\Clock.rc2,397,2012-07-04
.....\resource.h,1786,2012-07-08
.....\StdAfx.cpp,207,2012-07-04
.....\StdAfx.h,1054,2012-07-04

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

发表评论

0 个回复

  • 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
  • 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
  • Cpp1
    模拟操作系统进程调度:运行状态,就绪状态和完成状态。包含有first() prisch() insert1(q) creat(gg) prish() roundsch() 函数的引用。(Simulate the operating system process scheduling: running, ready states, and completion status. Contains the first () prisch () insert1 (q) creat (gg) prish () roundsch () function reference.)
    2011-11-19 08:13:15下载
    积分: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
  • 可变分区
    说明:  可变分区,一个很重要的操作系统原代码,很详细的拉,个人下载参考参考。(Variable Division, a very important source operating system, a very detailed and pulling personal information. Download.)
    2006-01-10 20:58:02下载
    积分:1
  • LRU
    利用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)
    2011-07-06 17:33:06下载
    积分:1
  • caozuoxitong
    大三操作系统的报告,完全包干,给需要的人(Third report of the operating system completely lump sum to those who need it)
    2008-12-26 10:20:54下载
    积分:1
  • hpa48
    HPA就是host protect area(HPA is the host protect area)
    2007-09-17 09:10:12下载
    积分: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
  • a.c
    dos 工具 用老版本的gcc编译,否则会出错(dos tools with older versions of THING)
    2016-07-11 08:01:26下载
    积分:1
  • 696518资源总数
  • 106268会员总数
  • 10今日下载