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

clock页面置换算法

于 2013-05-12 发布 文件大小:3812KB
0 195
下载积分: 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 个回复

  • 用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
  • ss
    说明:  请求页式虚存管理是常用的虚拟存储管理方案之一。通过请求页式虚存管理中对页面置换算法的模拟,有助于理解虚拟存储技术的特点,并加深对请求页式虚存管理的页面调度算法的理解。(Page requests virtual memory management is commonly used in the virtual storage management, one of the options. Page through the request of the management of virtual memory page replacement algorithm for simulation, helping to understand the characteristics of virtual storage technology, and better understanding of the request for virtual memory management Page page scheduling algorithm understanding.)
    2008-06-20 21:20:07下载
    积分: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
  • reply_1_646228
    银行家算法,希望大家喜欢(bankers algorithm, hope you like)
    2004-11-10 19:41:05下载
    积分:1
  • youxiandudiaodu
    操作系统学习中的模拟CUP如何调度外部进程的算法—优先度调用算法(Analog CUP in the operating system, learn how to schedule external process algorithm- priority call algorithm)
    2012-08-22 21:45:12下载
    积分:1
  • code
    哈夫曼编码和解码 LRU算法模拟 银行家算法模拟 页面地址重定位模拟 进程调度模拟 FIFO算法模拟(Huffman encoding and decoding algorithm simulates LRU algorithm simulation banker page address relocation simulation process scheduling simulation algorithm FIFO simulation)
    2017-02-03 09:11:55下载
    积分:1
  • hujianbo
    我的银行家算法,大家来看看。 若要密码 265913(I bankers algorithm, we take a look at. To password 265913)
    2007-01-05 16:48:04下载
    积分:1
  • MyProcess
    MFC实现的,界面有好,实现了进程调度的算法 能够模拟操作系统的进程调度 适合初学者(MFC implementation, the interface is good, a process scheduling algorithm to achieve To simulate the operating system process scheduling for beginners)
    2011-12-02 11:30:08下载
    积分:1
  • gong_steel_dialog
    UG开发代码,开发型材的代码,UG对话框的源文件,可以参考(UG)
    2009-09-28 09:09:21下载
    积分: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
  • 696518资源总数
  • 105554会员总数
  • 2今日下载