-
模拟一个页式虚拟存储系统,用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
-
《操作系统》实验指南
《操作系统》实验指南-"operating systems" experiment guide
- 2022-07-20 03:25:02下载
- 积分:1
-
真正的
实模式操作系统的设计与实现-Real-mode operating system design and implementation. . . . . . . . . . . . . . . . . . .
- 2022-01-22 05:20:17下载
- 积分:1
-
Many want to use their own and the sequence to control their own computer, here...
很多的都想用自已的和序控制自己的电脑,这里有一些常用函数,希望对大家有用-Many want to use their own and the sequence to control their own computer, here are some commonly used functions, in the hope that useful to everybody
- 2022-09-12 02:30:03下载
- 积分:1
-
内存管理,虚拟内存的分配和回收
内存管理,虚拟内存的分配和回收-memory management, virtual memory allocation and recovery
- 2022-01-30 14:12:19下载
- 积分:1
-
Win32串口编程
Win32串口编程教程及源代码Win32串口编程教程及源代码Win32串口编程教程及源代码Win32串口编程教程及源代码Win32串口编程教程及源代码Win32串口编程教程及源代码Win32串口编程教程及源代码Win32串口编程教程及源代码Win32串口编程教程及源代码Win32串口编程教程及源代码Win32串口编程教程及源代码Win32串口编程教程及源代码
- 2022-08-13 10:14:04下载
- 积分:1
-
国外的
国外的-C++ 200多个源码-foreign-C more than 200 FOSS
- 2022-03-22 14:31:17下载
- 积分:1
-
这是一款我开发的Windows CE / ARM汇编语言开发工具。您可以使用ARM汇编语言开发基于Windows CE的应用程序。可以为手机、PDA、导航仪开发...
这是一款我开发的Windows CE / ARM汇编语言开发工具。您可以使用ARM汇编语言开发基于Windows CE的应用程序。可以为手机、PDA、导航仪开发应用程序。-This is, I developed a Windows CE/ARM assembly language development tools. You can use the ARM assembly language to develop Windows CE-based applications. For the cell phone, PDA, navigator developed applications.
- 2022-09-09 16:55:03下载
- 积分:1
-
WinCE5.0部分核心源码
WinCE5.0部分核心源码-part of the core source WinCE5.0
- 2022-02-04 11:37:00下载
- 积分:1
-
采用静态优先数的方法,编写一进程调度程序模拟程序,进程状态为就绪、运行、阻塞三种。模拟程序只对你所设置的“虚拟PCB”进行相应的调度模拟操作,即每发生“调度”时...
采用静态优先数的方法,编写一进程调度程序模拟程序,进程状态为就绪、运行、阻塞三种。模拟程序只对你所设置的“虚拟PCB”进行相应的调度模拟操作,即每发生“调度”时,显示出当前“PCB名字”、优先数、运行时间等,而不需要对系统中真正的PCB等数据进行修改-priority number using the static method, the preparation process of scheduling a process simulation program, the process in place for the state, running, blocking three. Simulation program only right you have set up a "virtual PCB" accordingly scheduling simulation operation, that is, each occurrence "Dispatch" shows that the current "PCB name" priority number, running time, without the need for a real system, such as PCB data changes
- 2023-02-24 21:55:02下载
- 积分:1