657 B
657 B
Round Robin scheduling (C++ and C)
Companion code for Round Robin Scheduling in C and C++. The full explanation, dry run and viva questions live in that post.
scripts/run-all.sh # builds rr.cpp, rr.c and the legacy program, regenerates output/
rr.cpp/rr.c— same algorithm, same output; input isn, thenarrival burstper process, then the quantumlegacy/old_rr_tick_loop.cpp— the earlier tick-loop version, kept as published (correct only when every arrival is 0)input/— sample workloads,output/— captured results quoted in the post