Skip to content

Latest commit

 

History

History
41 lines (33 loc) · 1.55 KB

README.md

File metadata and controls

41 lines (33 loc) · 1.55 KB

CPU Scheduling Simulator

This project is about a CPU scheduling simulator that allows users to simulate and compare different scheduling algorithms.

f1

The simulator includes a GUI that allows you to manipulate and run simulations, as well as display the results.

Provided Scheduling Algorithms

This program provides those scheduling algorithms.

  • FCFS - First Come, First Served.
  • SJF - Non-Preemptive Shortest-Job First
  • SRTF - Shortest Remaining Time First
  • Non-preemptive Priority
  • Priority
  • Round Robin

Requirements

To Run

  • JRE 11 or later

To Build

Usage

To execute the CSV file of your choice, simply click on it and then click the "Run" button. This will enable you to view both the result tables and the Gantt chart.

Example of CSV File

PID Arrival Time Burst Time
1 1 24
2 2 3
3 3 3

You can add "Priority" right next to "Burst Time" in the sample, as it may include Priority values. After running the program, you can simply drag them to see more. f2