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

clock页面置换算法

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

  • jinchengdiaodu
    加深进程概念的理解;掌握选择进程调度算法的准则;掌握进程调度算法。 (Deepen the process of understanding of the concept master scheduling criteria selection process algorithm master process scheduling algorithm.)
    2013-12-10 13:42:14下载
    积分:1
  • operatingsystem
    操作系统页面置换 调度 寻道程序 简短使用(Page seek replacement operating system scheduling procedures)
    2009-05-17 08:09:54下载
    积分:1
  • ComputerSystems--AProgrammersPerspective
    从程序员的角度看计算机操作系统~ 很不错的书 大家都加油了(Computer Systems--A Programmer s Perspective)
    2010-09-17 21:30:36下载
    积分:1
  • reply_1_646228
    银行家算法,希望大家喜欢(bankers algorithm, hope you like)
    2004-11-10 19:41:05下载
    积分:1
  • fl2
    操作系统 实验二 进程同步与互斥 实现的基本的进程的同步、互斥,并用银行家算法实现与死锁预防(Second, the process of experimental operating system synchronization and mutex realize the basic process synchronization, mutual exclusion, and bankers with the deadlock prevention algorithm)
    2008-04-21 15:51:39下载
    积分: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
  • coolPACK
    制冷专业软件,非常实用,可计算制冷系统,制冷剂的物性(Refrigeration professional software is very useful, computable refrigeration system, refrigerant properties)
    2008-07-16 12:49:39下载
    积分: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
  • 用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
  • diaodu
    这是一个进程调度问题~~~~还是有很多的问题哦(This is a process of scheduling problem ~ ~ ~ ~ still has many problems Oh)
    2007-10-22 19:11:43下载
    积分:1
  • 696516资源总数
  • 106475会员总数
  • 7今日下载