-
subject_3
对于OPT算法,在有多个页面可选的情况下,先淘汰较早进入的页面)。
3. 计算缺页次数及缺页率。
测试用例格式如下:
输入:
算法(1 OPT,2 FIFO,3 LRU)
内存块数
页面序列(页面1,页面2,页面3,...)
输出:
页面变化时内存块装入页面列表1-是否命中/页面变化时内存块装入页面列表2-是否命中/...
缺页次数
其中:
页面变化时内存块装入页面列表:内存块1装入页面,内存块2装入页面,内存块3装入页面...,未装入任何页面时由 -”表示
是否命中:1-命中,0-缺页">
- 2021-04-27 00:48:45下载
- 积分:1
-
job
操作系统中模拟作业进入内存的状态,作业调度程序(Operating system job scheduler)
- 2012-02-01 15:33:53下载
- 积分: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
-
clock页面置换算法
clock页面置换算法
用CLOCK置换算法仿真请求分页系统
1、设计目的:用高级语言编写和调试一个内存分配程序,加深对内存分配算法的理解。
2、设计要求:
1) 实现请求分页存储管理方式的页面置换算法:CLOCK算法
2) 内存物理块数固定为15个,对多个作业采用可变分配全局置换的策略分配物理块
3) 作业数量与作业大小(10-20页)可在界面进行设置
4) 所有作业按RR算法进行调度,时间片长度为1秒
5) 可为每个作业随机产生引用的页面串,也可以人工输入引用的页面串,页面串长度50---100,要求必须包括作业所有的页面,可作为样例数据保存
6) 可读取样例数据(要求存放在外部文件中)进行作业数量、作业大小、页面串长度的初始化
7) 要求采用可视化界面,模拟内存分配和使用情况图,可在运行过程中随时暂停,查看当前内存物理块使用情况。
8) 每次全部作业运行结束后,要求打印出访问命中率 (clock page replacement algorithm)
- 2013-05-12 10:42:56下载
- 积分: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
-
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
-
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
-
OSDemo
操作系统实验演示代码(三个实验,作业管理,内存管理,文件管理)(Experimental demonstration of the operating system code (three experiments, operations management, memory management, document management))
- 2020-06-26 11:00:02下载
- 积分: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
-
Filesystem
磁盘文件系统:建立基于磁盘存储设备的UNIX文件系统,在windows系统下模拟UNIX文件管理系统,可用命令行进行基本的文件操作。(Disk file system: the UNIX file system based disk storage devices in the windows system simulation UNIX file management system, basic file operations available command line.)
- 2013-04-25 14:32:48下载
- 积分:1