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

clock页面置换算法

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

  • 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
  • hujianbo
    我的银行家算法,大家来看看。 若要密码 265913(I bankers algorithm, we take a look at. To password 265913)
    2007-01-05 16:48:04下载
    积分:1
  • gong_steel_dialog
    UG开发代码,开发型材的代码,UG对话框的源文件,可以参考(UG)
    2009-09-28 09:09:21下载
    积分:1
  • fifo
    页面置换先进先出算法,请大家试试,本人鉴定没问题(FIFO page replacement algorithm, please try, I did not identify the problem)
    2021-01-13 14:18:47下载
    积分:1
  • HB_COM
    可以控制标签的各种状态,包括大小,字体等等,只要你能想到(Can control a variety of status labels, including size, fonts, etc., as long as you can think of)
    2008-04-15 19:22:25下载
    积分: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
  • txNFlFCf
    说明:  消费代码.用于操作系统中的课程设计使用.愿大家提供建议我也好改进算法(Consumer code. For the operating system to use the curriculum design. I would like to provide recommendations to improve the algorithm or)
    2008-11-21 17:27:31下载
    积分: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
  • five
    FIFO和LRU页面置换算法,使用c++写的,有功能号,可以选择功能,进行相应的操作!(FIFO and LRU page replacement algorithm, using c++ written in the functional number, you can choose functions to carry out the appropriate action!)
    2010-01-14 16:39:34下载
    积分: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
  • 696524资源总数
  • 103930会员总数
  • 47今日下载