Skip to content

divshekhar/os_process_schedulers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

4bfe0ac · Jan 26, 2022

History

18 Commits
Jan 26, 2022
Jan 25, 2022
Jan 26, 2022
Jan 26, 2022
Jan 17, 2022
Jan 26, 2022
Jan 9, 2022
Jan 26, 2022
Jan 26, 2022

Repository files navigation

OSPS

Operating System Process Schedulers

GitHub GitHub top language GitHub repo size GitHub issues GitHub last commit GitHub forks

Quick Start

Homescreen

Solution

Homescreen

Build

Without Make

Use this script to build the executable file.

g++ -std=c++17 -I ./include/ src/FCFS/fcfs.cpp src/SJF/sjf.cpp src/SRTF/srtf.cpp src/RR/rr.cpp src/PS/ps.cpp src/osps.cpp -o ./bin/osps.exe

Run the executable file using:

./bin/osps.exe

Using Make

Build the executable file using:

make build

Run the executable file using:

make run

Just use make to build & run the executable file.

Use make clean to remove the executable file.


Short Form Meaning
AT Arrival Time of the process
BT Burst Time of the process
ST Start Time of the process
CT Completion Time of the process
TAT Turnaround Time of the process
WT Waiting Time of the process
RT Response Time of the process

Formulas used
TAT = CT - AT
WT = TAT - BT
RT = ST - AT