-
模拟一个页式虚拟存储系统,用FIFO和LRU置换算法,计算所发生的缺页次数。
1、模拟一个页式虚拟存储系统,用FIFO和LRU置换算法,计算所发生的缺页次数。每个进程在内存占有3页数据区,刚开始时数据区为空。有以下访问数据页序列:5 0 1 0 2 0 1 4 0 2 5 1 2 3 5 (测试数据)请分别模拟2、实现过程:1) 内存分配:给进程分配一定的物理块数,由用户输入物理块数,用数组元素模拟物理块。2) 由文件读入页面访问序列,用数组保存。3) 将要访问的页面依次调入内存,分配到物理块中,形成页框表。其表项号即物理块号(数组元素下标),将页号放入数组相应位置。 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
- 2022-02-07 13:05:33下载
- 积分:1
-
ThreadX的中文文档,提供了ThreadX实时内核的详细信息.
ThreadX的中文文档,提供了ThreadX实时内核的详细信息.-ThreadX the Chinese documents, provided the ThreadX real-time kernel details.
- 2023-02-25 04:25:04下载
- 积分:1
-
C algorithm to achieve bankers
用C实现银行家算法-C algorithm to achieve bankers
- 2023-07-07 16:00:03下载
- 积分:1
-
操作系统读者写者问题源程序代码
操作系统读者写者问题源程序代码-readers to write the operating system source code problem
- 2022-01-26 07:39:45下载
- 积分:1
-
IwTCP/IP network protocol stack in the operating system porting code ucos
IwTCP/IP网络协议栈在ucos操作系统上的移植代码-IwTCP/IP network protocol stack in the operating system porting code ucos
- 2022-02-02 22:21:48下载
- 积分:1
-
每个程序员都应该知道关于内存的
如果你知道内存结构,每个程序员都应该了解内存描述的程序员,这样才能编写出好的程序。
- 2022-05-21 19:39:45下载
- 积分:1
-
这是帮别人做的程序,模拟操作系统中进程控制块(包括多道系统中动态优先级进程调度和动态内存分配),用tc2.0做的,带有图形界面和简陋的控制台。现在把源代码贴出来
这是帮别人做的程序,模拟操作系统中进程控制块(包括多道系统中动态优先级进程调度和动态内存分配),用tc2.0做的,带有图形界面和简陋的控制台。现在把源代码贴出来。-This to help procedure that others make, simulation operating system process control piece (whether including many dishes of system dynamic PRI process dispatcher and dynamic memory assign), use tc2. 0 ones that make, there are figure interfaces and simple and crude control cabinets. Stick the source code out now
- 2022-03-24 11:11:29下载
- 积分:1
-
在Linux Red Hat下用C++设计并实现一个多用户多级目录结构的文件系统。...
在Linux Red Hat下用C++设计并实现一个多用户多级目录结构的文件系统。-In the Linux Red Hat using C++ Designed and implemented a multi-user multi-level directory structure of the file system.
- 2022-03-22 08:01:13下载
- 积分:1
-
一个简单的学习线程创建程序
一个简单的学习线程创建程序-a simple learning procedure to create threads
- 2022-04-01 03:05:57下载
- 积分:1
-
TFTP协议的源代码,包括协议本身和命令行解释两部分内容
TFTP协议的源代码,包括协议本身和命令行解释两部分内容-TFTP protocol source code, including the agreement itself and the command line to explain the contents of two parts
- 2022-02-21 06:58:22下载
- 积分:1