Process scheduling is the basis for multi-programmed operating systems. This program demonstrates the simulation of CPU scheduling algorithms by generating useful results.
This was a TC01 Operating System Assignment.
Featured Algorithms:
-
First Come First Serve (FCFS)
-
Preemptive Shortest Job First
-
Non-Preemptive Shortest Job First
-
Preemptive Priority
-
Non-Preemptive Priority
-
Round Robin
Basic UI
Run ProcessScedulingAlgorithm.jar.
- Select a scheduling algorithm from the drop-down list.
- Enter the Arrival Time, Burst Time and Priority (optional for some algorithms) for all the processes. You may click 'Add' or 'Remove' to change the number of processes.
- Click 'Calculate'. (for Round Robin Scheduling, a dialog box will pop up to prompt the value of Time Quantum)
- The program will generate all of the results. You may select a new algorithm and click 'Calculate' to generate a new set of results or just simply click 'Reset' to clear all the previously entered data.