forked from Yahya-Ashraf-Mohamed/OS_Scheduler
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resolving Round Robin Errors & Cleaning Repo
- Loading branch information
1 parent
424ed11
commit ff2016b
Showing
18 changed files
with
65 additions
and
1,199 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,8 @@ | ||
At time 2 process 4 started arr 17 total 20 remain 20 wait -15 | ||
At time 12 process 4 stopped arr 17 total 20 remain 10 wait -15 | ||
At time 12 process 1 started arr 2 total 10 remain 10 wait 10 | ||
At time 21 process 1 finished arr 2 total 10 remain 0 wait 10 TA 19 WTA 1.90 | ||
At time 21 process 2 started arr 5 total 4 remain 4 wait 16 | ||
At time 25 process 2 finished arr 5 total 4 remain 0 wait 16 TA 20 WTA 5.00 | ||
At time 25 process 3 started arr 7 total 3 remain 3 wait 18 | ||
At time 28 process 3 finished arr 7 total 3 remain 0 wait 18 TA 21 WTA 7.00 | ||
At time 28 process 4 resumed arr 17 total 20 remain 10 wait 1 | ||
At time 38 process 4 finished arr 17 total 20 remain 0 wait 1 TA 21 WTA 1.05 | ||
At time 38 process 4 started arr 17 total 20 remain 20 wait 21 | ||
At time 57 process 4 finished arr 17 total 20 remain 0 wait 21 TA 40 WTA 2.00 | ||
At time 2 process 1 started arr 2 total 10 remain 10 wait 0 | ||
At time 12 process 1 finished arr 2 total 10 remain 0 wait 0 TA 10 WTA 1.00 | ||
At time 12 process 2 started arr 5 total 4 remain 4 wait 7 | ||
At time 16 process 2 finished arr 5 total 4 remain 0 wait 7 TA 11 WTA 2.75 | ||
At time 16 process 3 started arr 7 total 3 remain 3 wait 9 | ||
At time 19 process 3 finished arr 7 total 3 remain 0 wait 9 TA 12 WTA 4.00 | ||
At time 19 process 4 started arr 17 total 20 remain 20 wait 2 | ||
At time 39 process 4 finished arr 17 total 20 remain 0 wait 2 TA 22 WTA 1.10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Process-Scheduler | ||
This project is a CPU scheduler which used the following scheduling algorithms using C. | ||
======================================================================================== | ||
1. Preemptive Highest Priority First (PHPF). | ||
2. Shortest Remaining time Next (SRTN). | ||
3. Short Job First (SJF). | ||
4. Round Robin (RR). | ||
|
||
## Authors | ||
* Yahya Mohamed | ||
* Mariam Moktar | ||
* Muhammed Essam | ||
* Yassmen Abosaif | ||
|
||
## generating the files & building | ||
```bash | ||
make all | ||
./test_generator.out | ||
``` | ||
|
||
## running | ||
```bash | ||
make run | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.