luxroot / term_os

OS term project for 2019 spring semester

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OS Term project for 2019-1

CPU scheduler for these algorithms

  • FCFS
  • Preemptive / Non-preemptive SJF
  • Preemptive / Non-preemptive Priority
  • Round robin
  • Preemptive / Non-preemptive HRRN

Dependencies

  • GCC
  • Make
  • CMake

You can install these packages using apt

sudo apt install gcc make cmake -y

Usage

You can execute my program after compiling it

Compile

cmake CMakeLists.txt
make

Execution

usage : ./term [number of processes] [[time quantum=3]] [[arrival weight]=10] [[printing lines=30]]

Note that Time Quantum, Arrival weight and Printing lines are optional argument

About

OS term project for 2019 spring semester


Languages

Language:C 96.5%Language:C++ 3.2%Language:CMake 0.3%