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 = 4
|
||||
|
||||
PID AT BT CT TAT WT
|
||||
P1 0 24 30 30 6
|
||||
P2 0 3 7 7 4
|
||||
P3 0 3 10 10 7
|
||||
|
||||
Average waiting time : 5.67
|
||||
Average turnaround time : 15.67
|
||||
|
||||
Gantt chart:
|
||||
| P1 | P2 | P3 | P1 |
|
||||
0 4 7 10 30
|
||||
Reference in New Issue
Block a user