/process_scheduler

Simple Process Scheduler Simulator in C++

Primary LanguageC++

= Process Scheduler Simulator =

Simple process scheduler simulator for simple algorithms which use interesting c++11/14 features.

= Dependencies =

* c++14 compiler
* boost program options

= How to use =

$ ./ProcessSchedulerSimulator -h
Parameters: 
Options:
   -h [ --help ]                   Print help message
   -t [ --simulation_seconds ] arg Simulation time (seconds)
   -a [ --algorithm ] arg          Algorithm to use in simulation (fcfs, rr, pq, sjk)

= Execution example =

$ ./ProcessSchedulerSimulator -t 10 -a fcfs
FCFS
**************************************
************* RESULTS ****************
**************************************
Algorithm: FCFS
Total Processes: 6459
Total CPU Time: 66979.9
Total Work Units: 32029
CPU Time per work unit: 2.09123
CPU Time per process: 10.37
**************************************
Executing stuff for 10 seconds