Add os/round-robin: Round Robin scheduler in C++ and C with Gantt chart, quantum sweep and captured output
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
Round Robin, time quantum = 3
|
||||
|
||||
PID AT BT CT TAT WT
|
||||
P1 0 4 4 4 0
|
||||
P2 10 3 13 3 0
|
||||
P3 11 2 15 4 2
|
||||
|
||||
Average waiting time : 0.67
|
||||
Average turnaround time : 3.67
|
||||
|
||||
Gantt chart:
|
||||
| P1 | idle | P2 | P3 |
|
||||
0 4 10 13 15
|
||||
Reference in New Issue
Block a user