Skip to content

My contributions to the CPU Scheduler for Operating Systems class

Notifications You must be signed in to change notification settings

floft/cpu-scheduler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CPU Scheduler Simulation

Running

To generate all the process files:

python3 GenerateFiles.py

To run the simulation (will take a while):

python3 simulation.py processes.50_10_5_5 results5
python3 simulation.py processes.50_10_5_500 results500

To show plots of the simulation results (argument is directory of all the CSV files), run the following then look in the newly-created plots_{results5,results500} directories:

python3 AnalyzeOutput.py results5
python3 AnalyzeOutput.py results500

Installing Python and libraries on Windows

Download and install Python 3 from Anaconda. Then run the following command in the terminal to install the one library that isn't installed by default:

conda install seaborn

About

My contributions to the CPU Scheduler for Operating Systems class

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages