-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoutput.txt
More file actions
138 lines (134 loc) · 4.23 KB
/
Copy pathoutput.txt
File metadata and controls
138 lines (134 loc) · 4.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
FCFS:
Running task = [T1] [4] [20] for 20 units.
Time is now: 20
Running task = [T2] [3] [25] for 25 units.
Time is now: 45
Running task = [T3] [3] [25] for 25 units.
Time is now: 70
Running task = [T4] [5] [15] for 15 units.
Time is now: 85
Running task = [T5] [5] [20] for 20 units.
Time is now: 105
Running task = [T6] [1] [10] for 10 units.
Time is now: 115
Running task = [T7] [3] [30] for 30 units.
Time is now: 145
Running task = [T8] [10] [25] for 25 units.
Time is now: 170
CPU Utilization: 96.05%
SJF:
Running task = [T6] [1] [10] for 10 units.
Time is now: 10
Running task = [T4] [5] [15] for 15 units.
Time is now: 25
Running task = [T1] [4] [20] for 20 units.
Time is now: 45
Running task = [T5] [5] [20] for 20 units.
Time is now: 65
Running task = [T2] [3] [25] for 25 units.
Time is now: 90
Running task = [T3] [3] [25] for 25 units.
Time is now: 115
Running task = [T8] [10] [25] for 25 units.
Time is now: 140
Running task = [T7] [3] [30] for 30 units.
Time is now: 170
CPU Utilization: 96.05%
Priority:
Running task = [T8] [10] [25] for 25 units.
Time is now: 25
Running task = [T4] [5] [15] for 15 units.
Time is now: 40
Running task = [T5] [5] [20] for 20 units.
Time is now: 60
Running task = [T1] [4] [20] for 20 units.
Time is now: 80
Running task = [T2] [3] [25] for 25 units.
Time is now: 105
Running task = [T3] [3] [25] for 25 units.
Time is now: 130
Running task = [T7] [3] [30] for 30 units.
Time is now: 160
Running task = [T6] [1] [10] for 10 units.
Time is now: 170
CPU Utilization: 96.05%
RR:
Running task = [T1] [4] [10] for 10 units.
Time is now: 10
Running task = [T2] [3] [10] for 10 units.
Time is now: 20
Running task = [T3] [3] [10] for 10 units.
Time is now: 30
Running task = [T4] [5] [10] for 10 units.
Time is now: 40
Running task = [T5] [5] [10] for 10 units.
Time is now: 50
Running task = [T6] [1] [10] for 10 units.
Time is now: 60
Running task = [T7] [3] [10] for 10 units.
Time is now: 70
Running task = [T8] [10] [10] for 10 units.
Time is now: 80
Running task = [T1] [4] [10] for 10 units.
Time is now: 90
Running task = [T2] [3] [10] for 10 units.
Time is now: 100
Running task = [T3] [3] [10] for 10 units.
Time is now: 110
Running task = [T4] [5] [5] for 5 units.
Time is now: 115
Running task = [T5] [5] [10] for 10 units.
Time is now: 125
Running task = [T7] [3] [10] for 10 units.
Time is now: 135
Running task = [T8] [10] [10] for 10 units.
Time is now: 145
Running task = [T2] [3] [5] for 5 units.
Time is now: 150
Running task = [T3] [3] [5] for 5 units.
Time is now: 155
Running task = [T7] [3] [10] for 10 units.
Time is now: 165
Running task = [T8] [10] [5] for 5 units.
Time is now: 170
CPU Utilization: 90.43%
Priority RR:
Running task = [T8] [10] [15] for 10 units.
Time is now: 10
Running task = [T8] [10] [5] for 10 units.
Time is now: 20
Running task = [T8] [10] [0] for 5 units.
Time is now: 25
Running task = [T4] [5] [5] for 10 units.
Time is now: 35
Running task = [T5] [5] [10] for 10 units.
Time is now: 45
Running task = [T4] [5] [0] for 5 units.
Time is now: 50
Running task = [T5] [5] [0] for 10 units.
Time is now: 60
Running task = [T1] [4] [10] for 10 units.
Time is now: 70
Running task = [T1] [4] [0] for 10 units.
Time is now: 80
Running task = [T2] [3] [15] for 10 units.
Time is now: 90
Running task = [T3] [3] [15] for 10 units.
Time is now: 100
Running task = [T7] [3] [20] for 10 units.
Time is now: 110
Running task = [T2] [3] [5] for 10 units.
Time is now: 120
Running task = [T3] [3] [5] for 10 units.
Time is now: 130
Running task = [T7] [3] [10] for 10 units.
Time is now: 140
Running task = [T2] [3] [0] for 5 units.
Time is now: 145
Running task = [T3] [3] [0] for 5 units.
Time is now: 150
Running task = [T7] [3] [0] for 10 units.
Time is now: 160
Running task = [T6] [1] [0] for 10 units.
Time is now: 170
CPU Utilization: 90.43%