Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 2.11 KB

README.md

File metadata and controls

27 lines (19 loc) · 2.11 KB

CPU Scheduling

License: MIT Issues Forks Stars Watchers Last commit Workflow Workflow

Description

This repository contains an implementation of three different CPU scheduling algorithms: FIFS, Round Robin, and EDF. These algorithms are commonly used in operating systems to manage the allocation of CPU time to different processes.

  • FIFS (First In First Served) is a simple scheduling algorithm that assigns CPU time to processes in the order they arrive. The first process that arrives is given priority over all subsequent processes until it completes or is blocked.

  • Round Robin is another scheduling algorithm that assigns a fixed time slice to each process in turn. Once a process has used up its time slice, it is moved to the back of the queue and the next process is given a turn.

  • EDF (Earliest Deadline First) is a real-time scheduling algorithm that prioritizes processes based on their deadlines. The process with the earliest deadline is given priority over all other processes until it completes or misses its deadline.