Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - replacement page
Search - replacement page - List
本程序解决的是:模拟类似计算机主、缓存的存储结构,当用户请求某个页面时,若某个页面已在缓存中,则直接从缓存中去取,不会产生失误(即未在缓存中命中),否则,就到主存中去取,代价变大。 本程序采用随机标记算法,即在在线标记算法的基础上,对于替换页面时,采用随机从未标记的缓存项中选出一项进行替换。 代码、文档详尽-Addressed in this program are: analog computer-like main, cache storage structure, when the user requests a page, a page in the cache directly from the cache to fetch, does not produce errors (that is, not in the cache in the hit), otherwise, to the main memory to fetch a consideration of larger. This program uses a random marking algorithm, online marking algorithm based on random never mark the cache entry selected a replacement for the replacement page. Code, documentation detailed
Date : 2025-12-16 Size : 55kb User : 黄华仔

页面置换算法,完成几种常见的页面置换算法-Page replacement algorithm, the completion of several common page replacement algorithm
Date : 2025-12-16 Size : 2kb User : wanglong

编写程序,设置不同的页面数,使用不同的页面替换策略算法进行模拟页面替换。先进先出,最近最久未使用页面置换算法等,并计算缺页率。-Programming, set a different number of pages, use a different page replacement algorithm simulation page replacement strategy. FIFO, the most recent time using the page replacement algorithm, and calculate the missing page rates.
Date : 2025-12-16 Size : 2kb User : 蒋树林

lfu + lru page replacement policy
Date : 2025-12-16 Size : 2.29mb User : Ikeaboy
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.