搜索资源列表
Linux内存管理模拟器
- Linux下使用c语言实现的内存管理模拟器 假设有台计算机物理内存大小为4MB,每个内存页大小为4k。采用分页机制,使用二级页表,第一级为页目录,共有1024项,每个页目录项指向一个页表,每个页表项指向一个实际的物理页面,每个页表共有1024个页表项。假设页目录和页表不占用内存空间。 系统中还有一个交换设备,采用分块管理机制,每块大小为4K,共1024个。有一系列内存访问指令,系统根据内存访问指令的内存虚地址访问内存。如果页目录项为空,则分配一个页表,并将相关值存入页目录项,如果页表项为空,
fifo
- C++写的操作系统原理及实现,模拟页面置换算法FIFO的源码
opt
- C++写的操作系统原理及实现,模拟页面置换算法OPT的源码
操作系统中改进型clock页面置换算法的演示算法
- 操作系统中改进型clock页面置换算法的演示算法,Improved version of the operating system clock page replacement algorithm demonstration algorithm
one
- FIFO页面置换算法,用C语言写的,可以缺页率和缺页次数,同时也可以看到内存分配状态!-FIFO page replacement algorithm, written using C language, and can page fault rate and the number of missing pages, but also can see the memory allocation status!
OperatingSystemMemoryManagement
- (1) 本实验要求使用C语言编程模拟一个拥有若干个虚页的进程在给定的若干个实页中运行、并在缺页中断发生时分别使用FIFO和LRU算法进行页面置换的情形。 (2) 虚页的个数可以事先给定(例如10个),对这些虚页访问的页地址流(其长度可以事先给定,例如20次虚页访问)可以由程序随机产生,也可以事先保存在文件中。 (3) 要求程序运行时屏幕能显示出置换过程中的状态信息并输出访问结束时的页面命中率。 -(1) This experiment requires the use of C la
yemianzhuanhuansuanfa
- 使用C语言编程模拟一个拥有若干个虚页的进程在给定的若干个实页中运行、并在缺页中断发生时分别使用FIFO和LRU算法进行页面置换的情形。其中虚页的个数可以事先给定(例如10个),对这些虚页访问的页地址流(其长度可以事先给定,例如20次虚页访问)可以由程序随机产生,也可以事先保存在文件中。要求程序运行时屏幕能显示出置换过程中的状态信息并输出访问结束时的页面命中率。程序应允许通过为该进程分配不同的实页数,来比较两种置换算法的稳定性。-Simulated using the C programming
FIFO
- 操作系统中的先进先出(FIFO)页面置换算法的C++源代码-Operating in the FIFO (FIFO) Page Replacement Algorithm for C++ source code
three
- FIFO页面置换算法,用c语言写的!同时输入内存块数和页面号数-FIFO page replacement algorithm, using c language written in! At the same time enter the number of memory blocks, and page numbers
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!
two
- FIFO页面置换算法,用C++写的,可以缺页率,同时也可以看到内存分配状态!-FIFO page replacement algorithm, written in C++, you can page fault rate, but also can see the memory allocation status!
four
- FIFO页面置换算法,用C语言写的,产生随机序列,可以算出缺页次数,同时也可以看到内存分配状态!-FIFO page replacement algorithm, written using C language to generate random sequence, you can calculate the number of missing pages, but also can see the memory allocation status!
用C语言实现页面置换算法的模拟实验
- Linux环境下,用C语言实现页面置换算法的模拟实验,并比较不同算法的置换效率。-Linux environment using C language page replacement algorithm simulation and compare different displacement efficiency of the algorithm.
page-replacement-algorithm
- 使用c++语言设计一个基于MFC的程序,模拟页式存储管理中FIFO、LRU、LFU、OPT四页面置换算法运行的过程。-Use c++ language to design a process to run the algorithm based on the MFC, Analog page memory management FIFO, LRU, LFU, OPT four-page replacement.