Uploaded by Mohd Shahril

cpu scheduler

advertisement
waiting time (WT) = Start time - arrival time
p0 0-0 = 0
p1 5-1 = 4
p3 8-2 =6
p3 16-3 -13
AWT = 5.75
average waiting time (AWT) = waiting time / number of process
p0 = 3-0 = 3
p1 = 0-0 = 0
p2 = 14-2 = 12
p3 = 8-5 = 3
3+0+12+5/4 = 5
p1 = 
Download