搜索资源列表
java 实现Lru算法
- java 实现Lru算法
cache_replacement
- Cache 替换算法,结合LRU和LFU的一个替换算法-Cache replacement algorithm, combined with LRU and LFU replacement algorithm
Fifopagereplacementalgorithm
- 页面置换算法 包括fifo 先进现出,最近最早未使用,lru算法-Fifo page replacement algorithm, including advanced show, the first unused recently, lru algorithm
test5
- 内存页式调度算法,分别有fifo、unr、和、lru三种算法-Scheduling algorithm for memory page
lru
- lru算法操作系统实验lru算法实验源代码轻松完成实验-lru algorithm lru algorithm experiment experimental operating system source code to easily complete the experiment
A
- FIFO页面置换算法 LRU页面置换算法 模拟-FIFO page replacement algorithm LRU page replacement algorithm for simulation of
LRU
- 1、产生一个需要访问的指令地址流,它是一系列需要访问的指令的地址。为不失一般性,你可以适当地(用人工指定地方法或用随机数产生器)生成这个序列,使得 50%的指令是顺序执行的。25%的指令均匀地散布在前地址部分,25%的地址是均匀地散布在后地址部分。 2、指定合适的页面尺寸(例如以 1K或2K为1页); 3、指定内存页表的最大长度,并对页表进行初始化; 4、每访问一个地址时,首先要计算该地址所在的页的页号,然后查页表,判断该页是否在主存——如果该页已在主存,则打印页表情况
ex2
- FIFO LRU OPT算法的C语言相关调用算法-FIFO LRU OPT algorithm is called C-language-related algorithms
gx
- LRU算法实现,简单的小程序,方便初学者使用-LRU algorithm, a simple small program, easy for beginners to use
page
- 操作系统 页面置换算法之 FIFO,同时也附带写失败了的,LRU算法-Operating system page replacement algorithm of the FIFO, but also with the failed write, LRU algorithm
os
- 采用页式分配存储方案,通过分别计算不同算法的命中率来比较算法的优劣,同时也考虑页面大小及内存实际容量对命中率的影响; 实现OPT 算法 (最优置换算法) 、LRU 算法 (Least Recently) 、 FIFO 算法 (First IN First Out)的模拟; -By page type allocation of storage solutions, were calculated by the hit rate of different algorithms to com
LRU
- 操作系统中的LRU页面置换算法,用堆栈的方法实现,可以运行-Operating system LRU page replacement algorithm, the method used to achieve the stack, you can run. . . . .
LRU
- 该代码实现的主要功能是实现模拟LRU页面置换算法-The code to achieve the main function is to achieve analog LRU page replacement algorithm
FIFO-LRU-OPT
- opt lru fifo 置换算法实现 c++实现 这个是写的报告 里面包含的全部的代码 能够运行-opt lru fifo page-replacement
PageReplacement
- 用c语言实现的页面置换算法,具体包括最佳替换算法,随机替换算法,FIFO算法,LRU算法和Clock算法。引用串的生成是尽量模拟真实的程序局部性而设计的。-a C program implements page replacement algorithm:include optimal algorithm, random algorithm, FIFO algorithm, LRU algorithm and Clock algorithm. The generation of referenc
LRU
- 页面调度时的置换算法,LRU最久未使用算法-Dispatched when the page replacement algorithm, LRU most-recently-used algorithm ...
MemoryManagement
- java 模拟CPU系统调页,每个页面可存放10条指令,分配给一个作业的内存块为4。模拟一个作业的执行过程,该作业有320条指令,即它的地址空间为32页,采用FIFO、LRU算法,并计算缺页率-java simulation CPU system paging, each page can hold 10 instructions, the job is assigned to a memory block 4. Simulated execution of a job, the job has
sy_buffer
- LRU算法源码,给出50000个页面的调度,计算时间以及命中率-LRU code
page
- 模拟操作系统采用OPT、FIFO和LRU算法进行页面置换的过程。 设程序中地址范围为0到32767,采用随机数生成256个指令地址,满足50 的地址是顺序执行,25 向前跳,25 向后跳。为满足上述条件,可采取下列方法: 设d0 10000,第 n个指令地址为dn,第 n+1 个指令地址为dn+1 ,n的取值范围为0 到255。每次生成一个 1 到1024范围内的随机数a,如果a落在1 到512 范围内,则dn+1 dn+1。如果a落在513 到768范围内,则设置dn+1 为1 到dn
LRU
- 简单实现LRU页面置换算法,可输入页面个数,自己输入页面优先级,最后显示页面置换过程-Simple implementation of LRU page replacement algorithm, you can enter the number of pages, their input page priority, the last page replacement process