文件名称:Online_RandMarkingAlgorithm
介绍说明--下载内容均来自于网络,请自行研究使用
本程序解决的是:模拟类似计算机主、缓存的存储结构,当用户请求某个页面时,若某个页面已在缓存中,则直接从缓存中去取,不会产生失误(即未在缓存中命中),否则,就到主存中去取,代价变大。
本程序采用随机标记算法,即在在线标记算法的基础上,对于替换页面时,采用随机从未标记的缓存项中选出一项进行替换。
代码、文档详尽-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
本程序采用随机标记算法,即在在线标记算法的基础上,对于替换页面时,采用随机从未标记的缓存项中选出一项进行替换。
代码、文档详尽-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
(系统自动生成,下载前可以参看下载内容)
下载文件列表
实验15\Online_RandMarkingAlgorithm\main.cpp
......\...........................\Online_RandMarkingAlgorithm.vcxproj
......\...........................\Online_RandMarkingAlgorithm.vcxproj.filters
......\...........................\Online_RandMarkingAlgorithm.vcxproj.user
......\实验15算法说明.docx
......\Online_RandMarkingAlgorithm
实验15