You are on page 1of 1

Preemptive Priority

PID Arrival Time CPU Burst Priority Finish Time Waiting Time
P1 0 8 2 12 4
P2 2 5 4 22 15
P3 5 2 3 17 10
P4 6 4 1 10 0
P5 12 3 2 15 0
5.8 Average Waiting Time

P1 P4 P1 P5 P3 P2
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22

You might also like