Skip to content

divshekhar/os_process_schedulers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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