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

clock页面置换算法

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

  • 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
  • avoid-deadlock
    操作系统实验-死锁避免算法,word文档,详细,全,可执行,自己写的,希望快点能在贵网站下载。。。(Operating System Experiment- Deadlock avoidance algorithm, word documents, detailed, full, enforceable, wrote it myself, hope quickly in your website. . .)
    2013-10-28 19:05:59下载
    积分:1
  • Simwumpus
    经典问题魔兽世界(wumpus world)的程序,还比较简单,只能在dos下文字表示,没有图示(classic World of Warcraft (chat world) procedures, but also relatively simple, only under the dos text, there is no icon)
    2020-11-15 13:19:41下载
    积分:1
  • 4
    说明:  这是一个操作系统中关于调度问题中的先来先服务调度算法。(This is an operating system on the scheduling of a first-come first-served scheduling.)
    2011-06-19 22:42:58下载
    积分: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
  • system
    操作系统作业源代码,方便学习操作系统课程的同学使用 (this is the codes for students who learn computer system.)
    2013-12-30 21:07:39下载
    积分:1
  • reply_1_646228
    银行家算法,希望大家喜欢(bankers algorithm, hope you like)
    2004-11-10 19:41:05下载
    积分: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
  • 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
  • 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
  • 696518资源总数
  • 106155会员总数
  • 8今日下载