An open API service indexing awesome lists of open source software.

https://github.com/divshekhar/os_process_schedulers

Operating System Process Schedulers Solver
https://github.com/divshekhar/os_process_schedulers

fcfs-process-scheduling os priority-scheduling round-robin-scheduler scheduling-algorithms sjf-process-scheduling srtf-process-scheduling

Last synced: 3 months ago
JSON representation

Operating System Process Schedulers Solver

Awesome Lists containing this project

README

          

# OSPS

Operating System Process Schedulers



![GitHub](https://img.shields.io/github/license/divshekhar/os_process_schedulers?style=plastic) ![GitHub top language](https://img.shields.io/github/languages/top/divshekhar/os_process_schedulers?style=plastic) ![GitHub repo size](https://img.shields.io/github/repo-size/divshekhar/os_process_schedulers?style=plastic) ![GitHub issues](https://img.shields.io/github/issues/divshekhar/os_process_schedulers?style=plastic) ![GitHub last commit](https://img.shields.io/github/last-commit/divshekhar/os_process_schedulers) ![GitHub forks](https://img.shields.io/github/forks/divshekhar/os_process_schedulers?style=social)

## Quick Start


Homescreen

### Solution


Homescreen

## Build

### Without Make

Use this script to build the executable file.

```bash
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:

```bash
./bin/osps.exe
```

### Using Make

Build the executable file using:

```bash
make build
```

Run the executable file using:

```bash
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|