文件名称:MemoryManager
-
所属分类:
- 标签属性:
- 上传时间:2014-11-17
-
文件大小:227.52kb
-
已下载:1次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
1.通过随机数产生一个指令序列,共320条指令。指令的地址按下述原则生成:
(1)50 的指令是顺序执行的;
(2)25 的指令是均匀分布在前地址部分;
(3)25 的指令是均匀分布在后地址部分;
具体的实施方法是:
(1)在[0,319]的指令地址之间随机选取一起点m;
(2)顺序执行一条指令,即执行地址为m+1的指令;
(3)在前地址[0,m+1]中随机选取一条指令并执行,该指令的地址为m’;
(4)顺序执行一条指令,其地址为m’+1;
(5)在后地址[m’+2, 319]中随机选取一条指令并执行;
(6)重复上述步骤1~5,直到执行320次指令。-1 by the random number generating a sequence of instructions, 320 instructions. The address of the instruction according to the principle of generating:
(1) 50 instructions are d sequentially
(2) 25 instruction is uniformly distributed in the former address part
(3) 25 instruction is uniformly distributed in the address part
The concrete implementation method is:
(1) randomly selected a starting point m between [0319] instruction address
(2) in order to an instruction is d, the instruction address m+1
(3) in the first address [0, m+1] randomly selects an instruction and execution, the instruction address is m
(4) in order to an instruction, the address for the M +1
(5) after [m +2, 319] address selected randomly a command and
(6) repeat the above steps until 1~5, 320 instructions.
(1)50 的指令是顺序执行的;
(2)25 的指令是均匀分布在前地址部分;
(3)25 的指令是均匀分布在后地址部分;
具体的实施方法是:
(1)在[0,319]的指令地址之间随机选取一起点m;
(2)顺序执行一条指令,即执行地址为m+1的指令;
(3)在前地址[0,m+1]中随机选取一条指令并执行,该指令的地址为m’;
(4)顺序执行一条指令,其地址为m’+1;
(5)在后地址[m’+2, 319]中随机选取一条指令并执行;
(6)重复上述步骤1~5,直到执行320次指令。-1 by the random number generating a sequence of instructions, 320 instructions. The address of the instruction according to the principle of generating:
(1) 50 instructions are d sequentially
(2) 25 instruction is uniformly distributed in the former address part
(3) 25 instruction is uniformly distributed in the address part
The concrete implementation method is:
(1) randomly selected a starting point m between [0319] instruction address
(2) in order to an instruction is d, the instruction address m+1
(3) in the first address [0, m+1] randomly selects an instruction and execution, the instruction address is m
(4) in order to an instruction, the address for the M +1
(5) after [m +2, 319] address selected randomly a command and
(6) repeat the above steps until 1~5, 320 instructions.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
存储管理实验报告.doc
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.