Description: 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.
To Search:
File list (Check if you may need any files):
存储管理实验报告.doc