the average wait time will be the sum of each processes time on the ready queue divided by the total number of processes.
That is the process has information it wants to process but is waiting for another process on the run queue.
So if you have 5 processes that want to run then every time quantum you will gain 4 quantoms of wait time (then in the end divide by the number of processes).
|