Process Arrival Time | CPU burst | I/O Operation | ... | CPU burst | Line End |
0 | 100 | 2 | ... | 200 | -1 |
5 | 6 | 4 | ... | 25 | -1 |
&vellip#vdots; | &vellip#vdots; | &vellip#vdots; | ... | &vellip#vdots; | -1 |
... Time : 13 - process 4 io started (blocked until 15, remaining = 3, burst = 2) - process 5 running (remaining = 12, burst = 10) Time : 15 - process 4 i/o completed (now ready, remaining=3, burst=2) - process 5 preempted (remaining = 10, burst = 12) - process 4 running (remaining = 3, burst = 2) ...(preemption depends on the chosen scheduling algorithm.)
0 5 -1 1 3 2 3 2 3 -1 6 10 2 60 2 30 3 70 2 10 2 10 -1 23 3 2 3 2 3 -1 24 70 2 70 2 40 3 70 2 20 2 10 -1 25 3 2 3 2 3 -1 26 80 2 80 2 50 3 70 2 40 2 10 -1 27 3 2 3 2 3 -1 28 25 2 10 -1 29 3 2 3 2 3 -1 31 3 2 3 2 3 -1 33 3 2 3 2 3 -1 35 3 2 3 2 3 -1 40 3 2 3 2 3 -1 40 3 2 3 2 3 -1 42 3 2 3 2 3 -1 43 3 2 3 2 3 -1 45 3 2 3 2 3 -1