There are three jobs, P1, P2, and P3, and I'm using round robin algorithm for scheduling these jobs. The time-slice(quantum) is 3, and the CPU burst time for each job is 7, 5, 10.
So it would be working like this:
0~3: P1
3~6: P2
6~9: P3
9~12: P1
12~14: P2(finished)
And what I want to know is what happens from 14. I'm sure that P3 is going to be scheduled at 14~15, but does the scheduler switch to P1 at 15? Or it starts to count 3 from 14 again and switch to P1 at 17?