View Single Post
Old 09-30-2004, 02:38 PM   #2 (permalink)
NeoSparky
Crazy
 
Assuming each process starts at the exact same time then your average waiting time is going to be

(0+1+2+3+4)/5 or 2
process 1 starts immedatily wait time is 0
process 2 starts at quantum 1, wait time is 1
process 3 starts at quantum 2, wait time is 2.
.
.
.
etc


I think that's how it worked anyway.. Been a while since I took that class.
NeoSparky is offline  
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47