Skip to content

CPU scheduling algorithms: FIFS, Round Robin and EDF - My OS course assignment

License

Notifications You must be signed in to change notification settings

ILoveBacteria/cpu-scheduling

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

CPU scheduling algorithms: FIFS, Round Robin and EDF - My OS course assignment

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages