Could I clarify my out.txt results? Because I not very sure about those results are right or not.
in.txt
0 0 0 0 0 1 1 0 0 0 1 1 2
out.txt
99,1,2,3
4,5,6,7
0,99,99,99
99,99,99,99
RAM Contents:
2,0,12;2,0,12;0,1,7;0,1,7;0,2,8;0,2,8;0,3,9;0,3,9;1,0,5;1,0,5;1,1,6;1,1,6;1,2,10;1,2,10;1,3,11;1,3,11;
Another one is
in.txt
0 0 0 0 0 1 1 0 0 0 1 1 2 3 3 2 1 2
output.txt
99,1,2,3
5,99,6,7
99,99,0,99
99,4,99,99
RAM Contents:
2,2,17;2,2,17;0,1,7;0,1,7;0,2,8;0,2,8;0,3,9;0,3,9;3,1,14;3,1,14;1,0,16;1,0,16;1,2,10;1,2,10;1,3,11;1,3,11;
Thanks! Also one more quetion, in my out.txt should it show the "RAM Contents:" title in the text? Because now I just put all of those inside the out.txt
Hey, I wanted to findout how the timesteps in the output are greater than 7?
Because when a new frame is loaded onto memory. It resets the time to 0 again, it is mentioned in the specification.
> Hey, I wanted to findout how the timesteps in the output are greater than 7?
> Because when a new frame is loaded onto memory. It resets the time to 0 again, it is mentioned in the specification.
Could you state exactly which part of the specification you are referring to? Or what it said exactly? I can't seem to find it. The spec states:
"The last accessed time of a page will be the time step when you brought the page to RAM. For example, after reading this file, the first (or 0th page of process 0 will be brought to RAM), the last accessed time of this page will be 0, as the simulation starts now and time is 0. Time will increase by 1 for each entry in the file."
> Thanks! Also one more quetion, in my out.txt should it show the "RAM Contents:" title in the text? Because now I just put all of those inside the out.txt
The spec doesn't specify the exact format. You would need to ask Amitava to be complete sure.