This program simulates a simple CPU scheduling algorithm that executes a set of processes with different arrival times, CPU burst times, and priorities. It sorts the processes by their arrival time and priority using a merge sort algorithm and simulates their execution in a loop. The program selects the process with the highest priority at each iteration, updates its remaining time, and adds it to the PCB array. After all processes have been executed, the program calculates performance metrics and writes them to a file. The important concepts used are the CPU scheduling algorithm, the PCB array, and the merge sort algorithm.
-
Notifications
You must be signed in to change notification settings - Fork 0
EngMonerah/operating-system
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Group Members : Jouri Alanazi --Renad Alsubaie --Monerah Alsubaie --Fai alotabi
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published