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
- Host: GitHub
- URL: https://github.com/divshekhar/os_process_schedulers
- Owner: divshekhar
- License: mit
- Created: 2022-01-09T03:41:04.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-01-26T06:13:04.000Z (over 3 years ago)
- Last Synced: 2025-04-11T05:41:34.265Z (6 months ago)
- Topics: fcfs-process-scheduling, os, priority-scheduling, round-robin-scheduler, scheduling-algorithms, sjf-process-scheduling, srtf-process-scheduling
- Language: C++
- Homepage:
- Size: 142 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# OSPS
Operating System Process Schedulers
![]()
     
## Quick Start
![]()
### Solution
![]()
## 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|