Avatar of Chris Jones
Chris Jones
Flag for United States of America

asked on 

simulate a cpu time program

i am working on a program for my company and have a problem i need help on this project to explain our next project. users must know something about how OS systems work to understand the program
i need a simulation program for schedulers implementing
SPN,
SRT,
HRRN,
RR(TQ= 7),
FCFS,
ePriority scheduling algorithms.

 If there is any conflict among the processes, use process numbers to resolve the conflict by giving priority to a lower numbered process. For the priority scheduling algorithm, use the priority numbers(1-10) to compare the priority. Assume that the lower the priority number is, the higher the priority is. On the document you are to turn in, you must include the charts showing relationships in terms of total times and throughtputs among the algorithms and the scheduling criteria. For the scheduling criteria, use throughput (assuming that unit=20), CPU utilization, average waiting time, turnaround time, and the number of context switches

TEST DATASET 1
Process      CPUBurst      ArrivalTime      Priority
1                        5             3                  10
2                       18            16                  3
3                         20            12                  1
4                        12            0                  3
5                         21            1                  4
6                         7                  2                  8
7                          10            22                  2
8                          8                  2                  3
9                        14            1                  10
10                       4                  3                  9
11                       4                  48                  5
12                        8             42                  2
13                        9                  20                  1
14                      16            18                  3
15                        18            38                  1
16                        17            4                  3
17                           5                  2                  2
18                        16            5                  7
C#C++Java

Avatar of undefined
Last Comment
Chris Jones

8/22/2022 - Mon