I'm having a bit of trouble understanding how average wait time is calculated with round robin.
Using the example below
http://i54.tinypic.com/2rhrd49.png
I simply do not know how the wait times of P1 =16 + 12 + 8 + 4 = 40?
What is the formula?
This is for Operating Systems concepts.