Skip to content

ahmedwaleedmalik/CPU-Process-Scheduling-Simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CPU-Process-Scheduling-Simulator

C++ program to simulate various cpu scheduling algorithms

OWNER: Ahmed Waleed Malik

EMAIL: ahmedwaleedmalik@gmail.com

A piece of code written in C++ langauge, which simulates CPU scheduling in an operating system. The following scheduling algorithms are implemented:

1) First-Come, First-Served (FCFS)
2) Shortest-Job-First (SJF), with no preemption
3) Preemptive Shortest-Job-First (SJF), with preemption
4) Round-Robin (RR), with configurable time slice
5) Preemptive Priority

Sample XML configuration files have been attached which contain all information regarding the processes upon which the scheduling is to be simulated and properties of scheduling policy (timeslice etc.)

About

C++ program to simulate various cpu scheduling algorithms

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages