-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRR_output_test.txt
361 lines (361 loc) · 28.5 KB
/
RR_output_test.txt
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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
time 0ms: Simulator started for RR [Q empty]
time 319ms: Process A0 arrived; added to ready queue [Q A0]
time 321ms: Process A0 started using the CPU for 1448ms burst [Q empty]
time 506ms: Process A1 arrived; added to ready queue [Q A1]
time 577ms: Time slice expired; preempting process A0 with 1192ms remaining [Q A1]
time 581ms: Process A1 started using the CPU for 971ms burst [Q A0]
time 821ms: Process A2 arrived; added to ready queue [Q A0 A2]
time 837ms: Time slice expired; preempting process A1 with 715ms remaining [Q A0 A2]
time 841ms: Process A0 started using the CPU for remaining 1192ms of 1448ms burst [Q A2 A1]
time 1097ms: Time slice expired; preempting process A0 with 936ms remaining [Q A2 A1]
time 1101ms: Process A2 started using the CPU for 408ms burst [Q A1 A0]
time 1357ms: Time slice expired; preempting process A2 with 152ms remaining [Q A1 A0]
time 1361ms: Process A1 started using the CPU for remaining 715ms of 971ms burst [Q A0 A2]
time 1617ms: Time slice expired; preempting process A1 with 459ms remaining [Q A0 A2]
time 1621ms: Process A0 started using the CPU for remaining 936ms of 1448ms burst [Q A2 A1]
time 1877ms: Time slice expired; preempting process A0 with 680ms remaining [Q A2 A1]
time 1881ms: Process A2 started using the CPU for remaining 152ms of 408ms burst [Q A1 A0]
time 2033ms: Process A2 completed a CPU burst; 14 bursts to go [Q A1 A0]
time 2033ms: Process A2 switching out of CPU; blocking on I/O until time 7547ms [Q A1 A0]
time 2037ms: Process A1 started using the CPU for remaining 459ms of 971ms burst [Q A0]
time 2293ms: Time slice expired; preempting process A1 with 203ms remaining [Q A0]
time 2297ms: Process A0 started using the CPU for remaining 680ms of 1448ms burst [Q A1]
time 2553ms: Time slice expired; preempting process A0 with 424ms remaining [Q A1]
time 2557ms: Process A1 started using the CPU for remaining 203ms of 971ms burst [Q A0]
time 2760ms: Process A1 completed a CPU burst; 4 bursts to go [Q A0]
time 2760ms: Process A1 switching out of CPU; blocking on I/O until time 3194ms [Q A0]
time 2764ms: Process A0 started using the CPU for remaining 424ms of 1448ms burst [Q empty]
time 3020ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 3188ms: Process A0 completed a CPU burst; 24 bursts to go [Q empty]
time 3188ms: Process A0 switching out of CPU; blocking on I/O until time 3798ms [Q empty]
time 3194ms: Process A1 completed I/O; added to ready queue [Q A1]
time 3196ms: Process A1 started using the CPU for 129ms burst [Q empty]
time 3325ms: Process A1 completed a CPU burst; 3 bursts to go [Q empty]
time 3325ms: Process A1 switching out of CPU; blocking on I/O until time 4591ms [Q empty]
time 3798ms: Process A0 completed I/O; added to ready queue [Q A0]
time 3800ms: Process A0 started using the CPU for 316ms burst [Q empty]
time 4056ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 4116ms: Process A0 completed a CPU burst; 23 bursts to go [Q empty]
time 4116ms: Process A0 switching out of CPU; blocking on I/O until time 4592ms [Q empty]
time 4591ms: Process A1 completed I/O; added to ready queue [Q A1]
time 4593ms: Process A1 started using the CPU for 188ms burst [Q empty]
time 4592ms: Process A0 completed I/O; added to ready queue [Q A0]
time 4781ms: Process A1 completed a CPU burst; 2 bursts to go [Q A0]
time 4781ms: Process A1 switching out of CPU; blocking on I/O until time 6279ms [Q A0]
time 4785ms: Process A0 started using the CPU for 3556ms burst [Q empty]
time 5041ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 5297ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 5553ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 5809ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 6065ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 6279ms: Process A1 completed I/O; added to ready queue [Q A1]
time 6321ms: Time slice expired; preempting process A0 with 2020ms remaining [Q A1]
time 6325ms: Process A1 started using the CPU for 302ms burst [Q A0]
time 6581ms: Time slice expired; preempting process A1 with 46ms remaining [Q A0]
time 6585ms: Process A0 started using the CPU for remaining 2020ms of 3556ms burst [Q A1]
time 6841ms: Time slice expired; preempting process A0 with 1764ms remaining [Q A1]
time 6845ms: Process A1 started using the CPU for remaining 46ms of 302ms burst [Q A0]
time 6891ms: Process A1 completed a CPU burst; 1 burst to go [Q A0]
time 6891ms: Process A1 switching out of CPU; blocking on I/O until time 8221ms [Q A0]
time 6895ms: Process A0 started using the CPU for remaining 1764ms of 3556ms burst [Q empty]
time 7151ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 7407ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 7547ms: Process A2 completed I/O; added to ready queue [Q A2]
time 7663ms: Time slice expired; preempting process A0 with 996ms remaining [Q A2]
time 7667ms: Process A2 started using the CPU for 182ms burst [Q A0]
time 7849ms: Process A2 completed a CPU burst; 13 bursts to go [Q A0]
time 7849ms: Process A2 switching out of CPU; blocking on I/O until time 11595ms [Q A0]
time 7853ms: Process A0 started using the CPU for remaining 996ms of 3556ms burst [Q empty]
time 8109ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 8221ms: Process A1 completed I/O; added to ready queue [Q A1]
time 8365ms: Time slice expired; preempting process A0 with 484ms remaining [Q A1]
time 8369ms: Process A1 started using the CPU for 73ms burst [Q A0]
time 8442ms: Process A1 terminated [Q A0]
time 8446ms: Process A0 started using the CPU for remaining 484ms of 3556ms burst [Q empty]
time 8702ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 8930ms: Process A0 completed a CPU burst; 22 bursts to go [Q empty]
time 8930ms: Process A0 switching out of CPU; blocking on I/O until time 9896ms [Q empty]
time 9896ms: Process A0 completed I/O; added to ready queue [Q A0]
time 9898ms: Process A0 started using the CPU for 2516ms burst [Q empty]
time 10154ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 10410ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 10666ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 10922ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 11178ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 11434ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 11595ms: Process A2 completed I/O; added to ready queue [Q A2]
time 11690ms: Time slice expired; preempting process A0 with 724ms remaining [Q A2]
time 11694ms: Process A2 started using the CPU for 89ms burst [Q A0]
time 11783ms: Process A2 completed a CPU burst; 12 bursts to go [Q A0]
time 11783ms: Process A2 switching out of CPU; blocking on I/O until time 11793ms [Q A0]
time 11787ms: Process A0 started using the CPU for remaining 724ms of 2516ms burst [Q empty]
time 11793ms: Process A2 completed I/O; added to ready queue [Q A2]
time 12043ms: Time slice expired; preempting process A0 with 468ms remaining [Q A2]
time 12047ms: Process A2 started using the CPU for 781ms burst [Q A0]
time 12303ms: Time slice expired; preempting process A2 with 525ms remaining [Q A0]
time 12307ms: Process A0 started using the CPU for remaining 468ms of 2516ms burst [Q A2]
time 12563ms: Time slice expired; preempting process A0 with 212ms remaining [Q A2]
time 12567ms: Process A2 started using the CPU for remaining 525ms of 781ms burst [Q A0]
time 12823ms: Time slice expired; preempting process A2 with 269ms remaining [Q A0]
time 12827ms: Process A0 started using the CPU for remaining 212ms of 2516ms burst [Q A2]
time 13039ms: Process A0 completed a CPU burst; 21 bursts to go [Q A2]
time 13039ms: Process A0 switching out of CPU; blocking on I/O until time 13055ms [Q A2]
time 13043ms: Process A2 started using the CPU for remaining 269ms of 781ms burst [Q empty]
time 13055ms: Process A0 completed I/O; added to ready queue [Q A0]
time 13299ms: Time slice expired; preempting process A2 with 13ms remaining [Q A0]
time 13303ms: Process A0 started using the CPU for 732ms burst [Q A2]
time 13559ms: Time slice expired; preempting process A0 with 476ms remaining [Q A2]
time 13563ms: Process A2 started using the CPU for remaining 13ms of 781ms burst [Q A0]
time 13576ms: Process A2 completed a CPU burst; 11 bursts to go [Q A0]
time 13576ms: Process A2 switching out of CPU; blocking on I/O until time 13834ms [Q A0]
time 13580ms: Process A0 started using the CPU for remaining 476ms of 732ms burst [Q empty]
time 13834ms: Process A2 completed I/O; added to ready queue [Q A2]
time 13836ms: Time slice expired; preempting process A0 with 220ms remaining [Q A2]
time 13840ms: Process A2 started using the CPU for 107ms burst [Q A0]
time 13947ms: Process A2 completed a CPU burst; 10 bursts to go [Q A0]
time 13947ms: Process A2 switching out of CPU; blocking on I/O until time 14605ms [Q A0]
time 13951ms: Process A0 started using the CPU for remaining 220ms of 732ms burst [Q empty]
time 14171ms: Process A0 completed a CPU burst; 20 bursts to go [Q empty]
time 14171ms: Process A0 switching out of CPU; blocking on I/O until time 14842ms [Q empty]
time 14605ms: Process A2 completed I/O; added to ready queue [Q A2]
time 14607ms: Process A2 started using the CPU for 65ms burst [Q empty]
time 14672ms: Process A2 completed a CPU burst; 9 bursts to go [Q empty]
time 14672ms: Process A2 switching out of CPU; blocking on I/O until time 20546ms [Q empty]
time 14842ms: Process A0 completed I/O; added to ready queue [Q A0]
time 14844ms: Process A0 started using the CPU for 1872ms burst [Q empty]
time 15100ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 15356ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 15612ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 15868ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 16124ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 16380ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 16636ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 16716ms: Process A0 completed a CPU burst; 19 bursts to go [Q empty]
time 16716ms: Process A0 switching out of CPU; blocking on I/O until time 16800ms [Q empty]
time 16800ms: Process A0 completed I/O; added to ready queue [Q A0]
time 16802ms: Process A0 started using the CPU for 1020ms burst [Q empty]
time 17058ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 17314ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 17570ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 17822ms: Process A0 completed a CPU burst; 18 bursts to go [Q empty]
time 17822ms: Process A0 switching out of CPU; blocking on I/O until time 18310ms [Q empty]
time 18310ms: Process A0 completed I/O; added to ready queue [Q A0]
time 18312ms: Process A0 started using the CPU for 228ms burst [Q empty]
time 18540ms: Process A0 completed a CPU burst; 17 bursts to go [Q empty]
time 18540ms: Process A0 switching out of CPU; blocking on I/O until time 18889ms [Q empty]
time 18889ms: Process A0 completed I/O; added to ready queue [Q A0]
time 18891ms: Process A0 started using the CPU for 2092ms burst [Q empty]
time 19147ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 19403ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 19659ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 19915ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 20171ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 20427ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 20546ms: Process A2 completed I/O; added to ready queue [Q A2]
time 20683ms: Time slice expired; preempting process A0 with 300ms remaining [Q A2]
time 20687ms: Process A2 started using the CPU for 69ms burst [Q A0]
time 20756ms: Process A2 completed a CPU burst; 8 bursts to go [Q A0]
time 20756ms: Process A2 switching out of CPU; blocking on I/O until time 25102ms [Q A0]
time 20760ms: Process A0 started using the CPU for remaining 300ms of 2092ms burst [Q empty]
time 21016ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 21060ms: Process A0 completed a CPU burst; 16 bursts to go [Q empty]
time 21060ms: Process A0 switching out of CPU; blocking on I/O until time 21284ms [Q empty]
time 21284ms: Process A0 completed I/O; added to ready queue [Q A0]
time 21286ms: Process A0 started using the CPU for 3380ms burst [Q empty]
time 21542ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 21798ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 22054ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 22310ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 22566ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 22822ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 23078ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 23334ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 23590ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 23846ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 24102ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 24358ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 24614ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 24666ms: Process A0 completed a CPU burst; 15 bursts to go [Q empty]
time 24666ms: Process A0 switching out of CPU; blocking on I/O until time 24727ms [Q empty]
time 24727ms: Process A0 completed I/O; added to ready queue [Q A0]
time 24729ms: Process A0 started using the CPU for 1700ms burst [Q empty]
time 24985ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 25102ms: Process A2 completed I/O; added to ready queue [Q A2]
time 25241ms: Time slice expired; preempting process A0 with 1188ms remaining [Q A2]
time 25245ms: Process A2 started using the CPU for 232ms burst [Q A0]
time 25477ms: Process A2 completed a CPU burst; 7 bursts to go [Q A0]
time 25477ms: Process A2 switching out of CPU; blocking on I/O until time 30599ms [Q A0]
time 25481ms: Process A0 started using the CPU for remaining 1188ms of 1700ms burst [Q empty]
time 25737ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 25993ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 26249ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 26505ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 26669ms: Process A0 completed a CPU burst; 14 bursts to go [Q empty]
time 26669ms: Process A0 switching out of CPU; blocking on I/O until time 26780ms [Q empty]
time 26780ms: Process A0 completed I/O; added to ready queue [Q A0]
time 26782ms: Process A0 started using the CPU for 664ms burst [Q empty]
time 27038ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 27294ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 27446ms: Process A0 completed a CPU burst; 13 bursts to go [Q empty]
time 27446ms: Process A0 switching out of CPU; blocking on I/O until time 27780ms [Q empty]
time 27780ms: Process A0 completed I/O; added to ready queue [Q A0]
time 27782ms: Process A0 started using the CPU for 916ms burst [Q empty]
time 28038ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 28294ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 28550ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 28698ms: Process A0 completed a CPU burst; 12 bursts to go [Q empty]
time 28698ms: Process A0 switching out of CPU; blocking on I/O until time 29618ms [Q empty]
time 29618ms: Process A0 completed I/O; added to ready queue [Q A0]
time 29620ms: Process A0 started using the CPU for 1988ms burst [Q empty]
time 29876ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 30132ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 30388ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 30599ms: Process A2 completed I/O; added to ready queue [Q A2]
time 30644ms: Time slice expired; preempting process A0 with 964ms remaining [Q A2]
time 30648ms: Process A2 started using the CPU for 225ms burst [Q A0]
time 30873ms: Process A2 completed a CPU burst; 6 bursts to go [Q A0]
time 30873ms: Process A2 switching out of CPU; blocking on I/O until time 35563ms [Q A0]
time 30877ms: Process A0 started using the CPU for remaining 964ms of 1988ms burst [Q empty]
time 31133ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 31389ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 31645ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 31841ms: Process A0 completed a CPU burst; 11 bursts to go [Q empty]
time 31841ms: Process A0 switching out of CPU; blocking on I/O until time 32610ms [Q empty]
time 32610ms: Process A0 completed I/O; added to ready queue [Q A0]
time 32612ms: Process A0 started using the CPU for 3948ms burst [Q empty]
time 32868ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 33124ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 33380ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 33636ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 33892ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 34148ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 34404ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 34660ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 34916ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 35172ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 35428ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 35563ms: Process A2 completed I/O; added to ready queue [Q A2]
time 35684ms: Time slice expired; preempting process A0 with 876ms remaining [Q A2]
time 35688ms: Process A2 started using the CPU for 42ms burst [Q A0]
time 35730ms: Process A2 completed a CPU burst; 5 bursts to go [Q A0]
time 35730ms: Process A2 switching out of CPU; blocking on I/O until time 43236ms [Q A0]
time 35734ms: Process A0 started using the CPU for remaining 876ms of 3948ms burst [Q empty]
time 35990ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 36246ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 36502ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 36610ms: Process A0 completed a CPU burst; 10 bursts to go [Q empty]
time 36610ms: Process A0 switching out of CPU; blocking on I/O until time 37033ms [Q empty]
time 37033ms: Process A0 completed I/O; added to ready queue [Q A0]
time 37035ms: Process A0 started using the CPU for 340ms burst [Q empty]
time 37291ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 37375ms: Process A0 completed a CPU burst; 9 bursts to go [Q empty]
time 37375ms: Process A0 switching out of CPU; blocking on I/O until time 38138ms [Q empty]
time 38138ms: Process A0 completed I/O; added to ready queue [Q A0]
time 38140ms: Process A0 started using the CPU for 2768ms burst [Q empty]
time 38396ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 38652ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 38908ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 39164ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 39420ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 39676ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 39932ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 40188ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 40444ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 40700ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 40908ms: Process A0 completed a CPU burst; 8 bursts to go [Q empty]
time 40908ms: Process A0 switching out of CPU; blocking on I/O until time 41180ms [Q empty]
time 41180ms: Process A0 completed I/O; added to ready queue [Q A0]
time 41182ms: Process A0 started using the CPU for 1540ms burst [Q empty]
time 41438ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 41694ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 41950ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 42206ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 42462ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 42718ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 42722ms: Process A0 completed a CPU burst; 7 bursts to go [Q empty]
time 42722ms: Process A0 switching out of CPU; blocking on I/O until time 42873ms [Q empty]
time 42873ms: Process A0 completed I/O; added to ready queue [Q A0]
time 42875ms: Process A0 started using the CPU for 1552ms burst [Q empty]
time 43131ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 43236ms: Process A2 completed I/O; added to ready queue [Q A2]
time 43387ms: Time slice expired; preempting process A0 with 1040ms remaining [Q A2]
time 43391ms: Process A2 started using the CPU for 335ms burst [Q A0]
time 43647ms: Time slice expired; preempting process A2 with 79ms remaining [Q A0]
time 43651ms: Process A0 started using the CPU for remaining 1040ms of 1552ms burst [Q A2]
time 43907ms: Time slice expired; preempting process A0 with 784ms remaining [Q A2]
time 43911ms: Process A2 started using the CPU for remaining 79ms of 335ms burst [Q A0]
time 43990ms: Process A2 completed a CPU burst; 4 bursts to go [Q A0]
time 43990ms: Process A2 switching out of CPU; blocking on I/O until time 48984ms [Q A0]
time 43994ms: Process A0 started using the CPU for remaining 784ms of 1552ms burst [Q empty]
time 44250ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 44506ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 44762ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 44778ms: Process A0 completed a CPU burst; 6 bursts to go [Q empty]
time 44778ms: Process A0 switching out of CPU; blocking on I/O until time 44864ms [Q empty]
time 44864ms: Process A0 completed I/O; added to ready queue [Q A0]
time 44866ms: Process A0 started using the CPU for 224ms burst [Q empty]
time 45090ms: Process A0 completed a CPU burst; 5 bursts to go [Q empty]
time 45090ms: Process A0 switching out of CPU; blocking on I/O until time 45742ms [Q empty]
time 45742ms: Process A0 completed I/O; added to ready queue [Q A0]
time 45744ms: Process A0 started using the CPU for 52ms burst [Q empty]
time 45796ms: Process A0 completed a CPU burst; 4 bursts to go [Q empty]
time 45796ms: Process A0 switching out of CPU; blocking on I/O until time 45876ms [Q empty]
time 45876ms: Process A0 completed I/O; added to ready queue [Q A0]
time 45878ms: Process A0 started using the CPU for 3548ms burst [Q empty]
time 46134ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 46390ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 46646ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 46902ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 47158ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 47414ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 47670ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 47926ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 48182ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 48438ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 48694ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 48950ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 48984ms: Process A2 completed I/O; added to ready queue [Q A2]
time 49206ms: Time slice expired; preempting process A0 with 220ms remaining [Q A2]
time 49210ms: Process A2 started using the CPU for 247ms burst [Q A0]
time 49457ms: Process A2 completed a CPU burst; 3 bursts to go [Q A0]
time 49457ms: Process A2 switching out of CPU; blocking on I/O until time 55419ms [Q A0]
time 49461ms: Process A0 started using the CPU for remaining 220ms of 3548ms burst [Q empty]
time 49681ms: Process A0 completed a CPU burst; 3 bursts to go [Q empty]
time 49681ms: Process A0 switching out of CPU; blocking on I/O until time 49824ms [Q empty]
time 49824ms: Process A0 completed I/O; added to ready queue [Q A0]
time 49826ms: Process A0 started using the CPU for 820ms burst [Q empty]
time 50082ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 50338ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 50594ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 50646ms: Process A0 completed a CPU burst; 2 bursts to go [Q empty]
time 50646ms: Process A0 switching out of CPU; blocking on I/O until time 51653ms [Q empty]
time 51653ms: Process A0 completed I/O; added to ready queue [Q A0]
time 51655ms: Process A0 started using the CPU for 920ms burst [Q empty]
time 51911ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 52167ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 52423ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 52575ms: Process A0 completed a CPU burst; 1 burst to go [Q empty]
time 52575ms: Process A0 switching out of CPU; blocking on I/O until time 53025ms [Q empty]
time 53025ms: Process A0 completed I/O; added to ready queue [Q A0]
time 53027ms: Process A0 started using the CPU for 1876ms burst [Q empty]
time 53283ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 53539ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 53795ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 54051ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 54307ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 54563ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 54819ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 54903ms: Process A0 terminated [Q empty]
time 55419ms: Process A2 completed I/O; added to ready queue [Q A2]
time 55421ms: Process A2 started using the CPU for 66ms burst [Q empty]
time 55487ms: Process A2 completed a CPU burst; 2 bursts to go [Q empty]
time 55487ms: Process A2 switching out of CPU; blocking on I/O until time 55553ms [Q empty]
time 55553ms: Process A2 completed I/O; added to ready queue [Q A2]
time 55555ms: Process A2 started using the CPU for 155ms burst [Q empty]
time 55710ms: Process A2 completed a CPU burst; 1 burst to go [Q empty]
time 55710ms: Process A2 switching out of CPU; blocking on I/O until time 61472ms [Q empty]
time 61472ms: Process A2 completed I/O; added to ready queue [Q A2]
time 61474ms: Process A2 started using the CPU for 280ms burst [Q empty]
time 61730ms: Time slice expired; no preemption because ready queue is empty [Q empty]
time 61754ms: Process A2 terminated [Q empty]
time 61756ms: Simulator ended for RR [Q empty]