-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSampleRunWithMemory.txt
More file actions
613 lines (490 loc) · 24.5 KB
/
SampleRunWithMemory.txt
File metadata and controls
613 lines (490 loc) · 24.5 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
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
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
Simulator Program
=================
Simulator Run
-------------
0.000000, OS: Simulator start
0.000000, OS: Process 0 set to READY state from NEW state
0.000000, OS: Process 1 set to READY state from NEW state
0.000000, OS: Process 2 set to READY state from NEW state
0.000000, OS: Process 3 set to READY state from NEW state
0.000000, OS: Process 4 set to READY state from NEW state
--------------------------------------------------
After memory initialization
0 [ Open, P#: x, 0-0 ] 11099
--------------------------------------------------
0.000000, OS: Process 0 selected with 5880 ms remaining
0.000000, OS: Process 0 set from READY to RUNNING
0.000000, Process: 0, serial input operation start
0.000000, OS: Process 0 blocked for input operation
0.000000, OS: Process 0 set from RUNNING to BLOCKED
0.000000, OS: Process 1 selected with 4670 ms remaining
0.000000, OS: Process 1 set from READY to RUNNING
0.000000, Process: 1, serial input operation start
0.000000, OS: Process 1 blocked for input operation
0.000000, OS: Process 1 set from RUNNING to BLOCKED
0.000000, OS: Process 2 selected with 5530 ms remaining
0.000000, OS: Process 2 set from READY to RUNNING
0.000000, Process: 2, hard drive input operation start
0.000000, OS: Process 2 blocked for input operation
0.000000, OS: Process 2 set from RUNNING to BLOCKED
0.000000, OS: Process 3 selected with 6600 ms remaining
0.000000, OS: Process 3 set from READY to RUNNING
0.000000, Process: 3, hard drive input operation start
0.000000, OS: Process 3 blocked for input operation
0.000000, OS: Process 3 set from RUNNING to BLOCKED
0.000000, OS: Process 4 selected with 3060 ms remaining
0.000000, OS: Process 4 set from READY to RUNNING
0.000000, Process: 4, serial input operation start
0.000000, OS: Process 4 blocked for input operation
0.000000, OS: Process 4 set from RUNNING to BLOCKED
0.000000, OS: CPU idle, all active processes blocked
0.366134, OS: CPU interrupt, end idle
0.366134, OS: Interrupted by process 2, hard drive input operation
0.366134, OS: Process 2 set from BLOCKED to READY
0.366134, OS: Process 2 selected with 5170 ms remaining
0.366134, OS: Process 2 set from READY to RUNNING
0.366134, Process: 2, video signal output operation start
0.366134, OS: Process 2 blocked for output operation
0.366134, OS: Process 2 set from RUNNING to BLOCKED
0.366134, OS: CPU idle, all active processes blocked
0.406364, OS: CPU interrupt, end idle
0.406364, OS: Interrupted by process 1, serial input operation
0.406364, OS: Process 1 set from BLOCKED to READY
0.406364, OS: Process 1 selected with 4270 ms remaining
0.406364, OS: Process 1 set from READY to RUNNING
0.406364, Process: 1, cpu process operation start
0.426473, Process: 1, cpu process operation end
0.426473, OS: Interrupted by process 3, hard drive input operation
0.426473, OS: Process 3 set from BLOCKED to READY
0.426473, Process: 1, cpu process operation start
0.457531, OS: Process 1 quantum time out, cpu process operation end
0.457531, Process: 1, cpu process operation start
0.468457, Process: 1, cpu process operation end
0.468457, Process: 1, cpu process operation start
0.489401, Process: 1, cpu process operation end
0.489401, OS: Interrupted by process 4, serial input operation
0.489401, OS: Process 4 set from BLOCKED to READY
0.489401, Process: 1, cpu process operation start
0.520515, OS: Process 1 quantum time out, cpu process operation end
0.520515, Process: 1, cpu process operation start
0.553427, Process: 1, cpu process operation end
0.553427, Process: 1, monitor output operation start
0.553427, OS: Process 1 blocked for output operation
0.553427, OS: Process 1 set from RUNNING to BLOCKED
0.553427, OS: Process 3 selected with 6180 ms remaining
0.553427, OS: Process 3 set from READY to RUNNING
0.553427, Process: 3, sound signal output operation start
0.553427, OS: Process 3 blocked for output operation
0.553427, OS: Process 3 set from RUNNING to BLOCKED
0.553427, OS: Process 4 selected with 2580 ms remaining
0.553427, OS: Process 4 set from READY to RUNNING
0.553427, Process: 4, video signal output operation start
0.553427, OS: Process 4 blocked for output operation
0.553427, OS: Process 4 set from RUNNING to BLOCKED
0.553427, OS: CPU idle, all active processes blocked
0.564398, OS: CPU interrupt, end idle
0.564398, OS: Interrupted by process 0, serial input operation
0.564398, OS: Process 0 set from BLOCKED to READY
0.564398, OS: Process 0 selected with 5320 ms remaining
0.564398, OS: Process 0 set from READY to RUNNING
0.564398, Process: 0, video signal output operation start
0.564398, OS: Process 0 blocked for output operation
0.564398, OS: Process 0 set from RUNNING to BLOCKED
0.564398, OS: CPU idle, all active processes blocked
1.161739, OS: CPU interrupt, end idle
1.161739, OS: Interrupted by process 3, sound signal output operation
1.161739, OS: Process 3 set from BLOCKED to READY
1.161739, OS: Process 3 selected with 5580 ms remaining
1.161739, OS: Process 3 set from READY to RUNNING
1.161739, Process: 3, cpu process operation start
1.192188, OS: Process 3 quantum time out, cpu process operation end
1.192188, Process: 3, cpu process operation start
1.222642, OS: Process 3 quantum time out, cpu process operation end
1.222642, Process: 3, cpu process operation start
1.232815, Process: 3, cpu process operation end
1.232815, Process: 3, mem allocate request (2500, 3000)
--------------------------------------------------
After allocate success
0 [ Used, P#: 3, 2500-5499 ] 2999
3000 [ Open, P#: x, 0-0 ] 11099
--------------------------------------------------
1.232815, Process: 3, successful mem allocate request
1.232815, Process: 3, keyboard input operation start
1.232815, OS: Process 3 blocked for input operation
1.232815, OS: Process 3 set from RUNNING to BLOCKED
1.232815, OS: CPU idle, all active processes blocked
1.354996, OS: CPU interrupt, end idle
1.354996, OS: Interrupted by process 2, video signal output operation
1.354996, OS: Process 2 set from BLOCKED to READY
1.354996, OS: Process 2 selected with 4190 ms remaining
1.354996, OS: Process 2 set from READY to RUNNING
1.354996, Process: 2, usb output operation start
1.354996, OS: Process 2 blocked for output operation
1.354996, OS: Process 2 set from RUNNING to BLOCKED
1.354996, OS: CPU idle, all active processes blocked
1.396410, OS: CPU interrupt, end idle
1.396416, OS: Interrupted by process 4, video signal output operation
1.396416, OS: Process 4 set from BLOCKED to READY
1.396416, OS: Process 4 selected with 1740 ms remaining
1.396416, OS: Process 4 set from READY to RUNNING
1.396416, Process: 4, mem allocate request (3000, 3000)
--------------------------------------------------
After allocate success
0 [ Used, P#: 3, 2500-5499 ] 2999
3000 [ Used, P#: 4, 3000-5999 ] 5999
6000 [ Open, P#: x, 0-0 ] 11099
--------------------------------------------------
1.396416, Process: 4, successful mem allocate request
1.396416, Process: 4, cpu process operation start
1.406561, Process: 4, cpu process operation end
1.406561, OS: Interrupted by process 0, video signal output operation
1.406561, OS: Process 0 set from BLOCKED to READY
1.406589, OS: Process 0 selected with 4480 ms remaining
1.406589, OS: Process 0 set from READY to RUNNING
1.406589, Process: 0, sound signal input operation start
1.406589, OS: Process 0 blocked for input operation
1.406589, OS: Process 0 set from RUNNING to BLOCKED
1.406589, OS: Process 4 selected with 1730 ms remaining
1.406589, OS: Process 4 set from READY to RUNNING
1.406589, Process: 4, cpu process operation start
1.437037, OS: Process 4 quantum time out, cpu process operation end
1.437063, Process: 4, cpu process operation start
1.447191, Process: 4, cpu process operation end
1.447197, Process: 4, usb input operation start
1.447197, OS: Process 4 blocked for input operation
1.447197, OS: Process 4 set from RUNNING to BLOCKED
1.447197, OS: CPU idle, all active processes blocked
1.638807, OS: CPU interrupt, end idle
1.638832, OS: Interrupted by process 2, usb output operation
1.638832, OS: Process 2 set from BLOCKED to READY
1.638832, OS: Process 2 selected with 3910 ms remaining
1.638832, OS: Process 2 set from READY to RUNNING
1.638832, Process: 2, monitor output operation start
1.638832, OS: Process 2 blocked for output operation
1.638832, OS: Process 2 set from RUNNING to BLOCKED
1.638832, OS: CPU idle, all active processes blocked
1.648919, OS: CPU interrupt, end idle
1.648925, OS: Interrupted by process 4, usb input operation
1.648925, OS: Process 4 set from BLOCKED to READY
1.648925, OS: Process 4 selected with 1490 ms remaining
1.648925, OS: Process 4 set from READY to RUNNING
1.648925, Process: 4, cpu process operation start
1.679118, OS: Process 4 quantum time out, cpu process operation end
1.679128, Process: 4, cpu process operation start
1.709220, OS: Process 4 quantum time out, cpu process operation end
1.709220, Process: 4, cpu process operation start
1.730046, Process: 4, cpu process operation end
1.730046, Process: 4, cpu process operation start
1.761119, OS: Process 4 quantum time out, cpu process operation end
1.761119, Process: 4, cpu process operation start
1.791383, OS: Process 4 quantum time out, cpu process operation end
1.791383, Process: 4, cpu process operation start
1.821854, Process: 4, cpu process operation end
1.821854, Process: 4, mem access request (3500, 2000)
--------------------------------------------------
After access success
0 [ Used, P#: 3, 2500-5499 ] 2999
3000 [ Used, P#: 4, 3000-5999 ] 5999
6000 [ Open, P#: x, 0-0 ] 11099
--------------------------------------------------
1.821854, Process: 4, successful mem access request
1.821854, Process: 4, cpu process operation start
1.852275, OS: Process 4 quantum time out, cpu process operation end
1.852275, Process: 4, cpu process operation start
1.883339, Process: 4, cpu process operation end
1.883339, Process: 4, hard drive output operation start
1.883339, OS: Process 4 blocked for output operation
1.883339, OS: Process 4 set from RUNNING to BLOCKED
1.883339, OS: CPU idle, all active processes blocked
1.954443, OS: CPU interrupt, end idle
1.954443, OS: Interrupted by process 1, monitor output operation
1.954443, OS: Process 1 set from BLOCKED to READY
1.954443, OS: Process 1 selected with 2730 ms remaining
1.954443, OS: Process 1 set from READY to RUNNING
1.954443, Process: 1, cpu process operation start
1.984691, OS: Process 1 quantum time out, cpu process operation end
1.984691, Process: 1, cpu process operation start
2.015102, Process: 1, cpu process operation end
2.015102, Process: 1, cpu process operation start
2.048013, OS: Process 1 quantum time out, cpu process operation end
2.048013, Process: 1, cpu process operation start
2.078412, OS: Process 1 quantum time out, cpu process operation end
2.078412, Process: 1, cpu process operation start
2.108611, Process: 1, cpu process operation end
2.108611, Process: 1, mem allocate request (1000, 3000)
--------------------------------------------------
After allocate success
0 [ Used, P#: 3, 2500-5499 ] 2999
3000 [ Used, P#: 4, 3000-5999 ] 5999
6000 [ Used, P#: 1, 1000-3999 ] 8999
9000 [ Open, P#: x, 0-0 ] 11099
--------------------------------------------------
2.108611, Process: 1, successful mem allocate request
2.108611, Process: 1, sound signal output operation start
2.108611, OS: Process 1 blocked for output operation
2.108695, OS: Process 1 set from RUNNING to BLOCKED
2.108705, OS: CPU idle, all active processes blocked
2.209179, OS: CPU interrupt, end idle
2.209179, OS: Interrupted by process 0, sound signal input operation
2.209179, OS: Process 0 set from BLOCKED to READY
2.209179, OS: Process 0 selected with 3680 ms remaining
2.209179, OS: Process 0 set from READY to RUNNING
2.209179, Process: 0, hard drive output operation start
2.209179, OS: Process 0 blocked for output operation
2.209179, OS: Process 0 set from RUNNING to BLOCKED
2.209179, OS: CPU idle, all active processes blocked
2.249775, OS: CPU interrupt, end idle
2.249775, OS: Interrupted by process 4, hard drive output operation
2.249775, OS: Process 4 set from BLOCKED to READY
2.249775, OS: Process 4 selected with 900 ms remaining
2.249775, OS: Process 4 set from READY to RUNNING
2.249775, Process: 4, hard drive output operation start
2.249775, OS: Process 4 blocked for output operation
2.249775, OS: Process 4 set from RUNNING to BLOCKED
2.249775, OS: CPU idle, all active processes blocked
2.514090, OS: CPU interrupt, end idle
2.514090, OS: Interrupted by process 0, hard drive output operation
2.514090, OS: Process 0 set from BLOCKED to READY
2.514090, OS: Process 0 selected with 3380 ms remaining
2.514090, OS: Process 0 set from READY to RUNNING
2.514090, Process: 0, mem allocate request (4000, 2000)
--------------------------------------------------
After allocate success
0 [ Used, P#: 3, 2500-5499 ] 2999
3000 [ Used, P#: 4, 3000-5999 ] 5999
6000 [ Used, P#: 1, 1000-3999 ] 8999
9000 [ Used, P#: 0, 4000-5999 ] 10999
11000 [ Open, P#: x, 0-0 ] 11099
--------------------------------------------------
2.514090, Process: 0, successful mem allocate request
2.514090, Process: 0, keyboard input operation start
2.514090, OS: Process 0 blocked for input operation
2.514090, OS: Process 0 set from RUNNING to BLOCKED
2.514090, OS: CPU idle, all active processes blocked
2.737790, OS: CPU interrupt, end idle
2.737790, OS: Interrupted by process 4, hard drive output operation
2.737790, OS: Process 4 set from BLOCKED to READY
2.737790, OS: Process 4 selected with 420 ms remaining
2.737790, OS: Process 4 set from READY to RUNNING
2.737790, Process: 4, hard drive output operation start
2.737790, OS: Process 4 blocked for output operation
2.737790, OS: Process 4 set from RUNNING to BLOCKED
2.737790, OS: CPU idle, all active processes blocked
2.838872, OS: CPU interrupt, end idle
2.838872, OS: Interrupted by process 3, keyboard input operation
2.838872, OS: Process 3 set from BLOCKED to READY
2.838872, OS: Process 3 selected with 3910 ms remaining
2.838872, OS: Process 3 set from READY to RUNNING
2.838872, Process: 3, hard drive input operation start
2.838872, OS: Process 3 blocked for input operation
2.838872, OS: Process 3 set from RUNNING to BLOCKED
2.838872, OS: CPU idle, all active processes blocked
3.010591, OS: CPU interrupt, end idle
3.010591, OS: Interrupted by process 1, sound signal output operation
3.010591, OS: Process 1 set from BLOCKED to READY
3.010591, OS: Process 1 selected with 1680 ms remaining
3.010591, OS: Process 1 set from READY to RUNNING
3.010591, Process: 1, hard drive output operation start
3.010591, OS: Process 1 blocked for output operation
3.010591, OS: Process 1 set from RUNNING to BLOCKED
3.010591, OS: CPU idle, all active processes blocked
3.040690, OS: CPU interrupt, end idle
3.040690, OS: Interrupted by process 2, monitor output operation
3.040690, OS: Process 2 set from BLOCKED to READY
3.040690, OS: Process 2 selected with 2510 ms remaining
3.040690, OS: Process 2 set from READY to RUNNING
3.040690, Process: 2, cpu process operation start
3.070846, OS: Process 2 quantum time out, cpu process operation end
3.070846, Process: 2, cpu process operation start
3.101897, OS: Process 2 quantum time out, cpu process operation end
3.101903, Process: 2, cpu process operation start
3.111969, Process: 2, cpu process operation end
3.111969, Process: 2, mem allocate request (1500, 2000)
--------------------------------------------------
After allocate failure
0 [ Used, P#: x, 0-0 ] 2999
3000 [ Used, P#: 4, 3000-5999 ] 5999
6000 [ Used, P#: 1, 1000-3999 ] 8999
9000 [ Used, P#: 0, 4000-5999 ] 10999
11000 [ Open, P#: x, 0-0 ] 11099
--------------------------------------------------
3.112006, Process: 2, failed mem allocate request
3.112006, OS: Segmentation fault, Process 2 ended
--------------------------------------------------
After clear process 2 success
0 [ Used, P#: x, 0-0 ] 2999
3000 [ Used, P#: 4, 3000-5999 ] 5999
6000 [ Used, P#: 1, 1000-3999 ] 8999
9000 [ Used, P#: 0, 4000-5999 ] 10999
11000 [ Open, P#: x, 0-0 ] 11099
--------------------------------------------------
3.112006, OS: Process 2 set to EXIT
3.112006, OS: CPU idle, all active processes blocked
3.162803, OS: CPU interrupt, end idle
3.162809, OS: Interrupted by process 4, hard drive output operation
3.162809, OS: Process 4 set from BLOCKED to READY
3.162809, OS: Process 4 selected with 0 ms remaining
3.162809, OS: Process 4 set from READY to RUNNING
3.162809, OS: Process 4 ended
--------------------------------------------------
After clear process 4 success
0 [ Used, P#: x, 0-0 ] 2999
3000 [ Open, P#: x, 0-0 ] 5999
6000 [ Used, P#: 1, 1000-3999 ] 8999
9000 [ Used, P#: 0, 4000-5999 ] 10999
11000 [ Open, P#: x, 0-0 ] 11099
--------------------------------------------------
3.162809, OS: Process 4 set to EXIT
3.162809, OS: CPU idle, all active processes blocked
3.315251, OS: CPU interrupt, end idle
3.315257, OS: Interrupted by process 1, hard drive output operation
3.315257, OS: Process 1 set from BLOCKED to READY
3.315257, OS: Process 1 selected with 1380 ms remaining
3.315257, OS: Process 1 set from READY to RUNNING
3.315257, Process: 1, video signal input operation start
3.315257, OS: Process 1 blocked for input operation
3.315257, OS: Process 1 set from RUNNING to BLOCKED
3.315257, OS: CPU idle, all active processes blocked
3.446934, OS: CPU interrupt, end idle
3.446943, OS: Interrupted by process 3, hard drive input operation
3.446943, OS: Process 3 set from BLOCKED to READY
3.446943, OS: Process 3 selected with 3310 ms remaining
3.446943, OS: Process 3 set from READY to RUNNING
3.446943, Process: 3, video signal output operation start
3.446943, OS: Process 3 blocked for output operation
3.446943, OS: Process 3 set from RUNNING to BLOCKED
3.446943, OS: CPU idle, all active processes blocked
4.119193, OS: CPU interrupt, end idle
4.119206, OS: Interrupted by process 0, keyboard input operation
4.119206, OS: Process 0 set from BLOCKED to READY
4.119206, OS: Process 0 selected with 1780 ms remaining
4.119206, OS: Process 0 set from READY to RUNNING
4.119206, Process: 0, serial input operation start
4.119206, OS: Process 0 blocked for input operation
4.119206, OS: Process 0 set from RUNNING to BLOCKED
4.119206, OS: CPU idle, all active processes blocked
4.304423, OS: CPU interrupt, end idle
4.304423, OS: Interrupted by process 1, video signal input operation
4.304423, OS: Process 1 set from BLOCKED to READY
4.304423, OS: Process 1 selected with 400 ms remaining
4.304423, OS: Process 1 set from READY to RUNNING
4.304423, Process: 1, serial output operation start
4.304423, OS: Process 1 blocked for output operation
4.304423, OS: Process 1 set from RUNNING to BLOCKED
4.304423, OS: CPU idle, all active processes blocked
4.680413, OS: CPU interrupt, end idle
4.680413, OS: Interrupted by process 0, serial input operation
4.680413, OS: Process 0 set from BLOCKED to READY
4.680413, OS: Process 0 selected with 1220 ms remaining
4.680413, OS: Process 0 set from READY to RUNNING
4.680413, Process: 0, cpu process operation start
4.710877, Process: 0, cpu process operation end
4.710877, OS: Interrupted by process 3, video signal output operation
4.710877, OS: Process 3 set from BLOCKED to READY
4.710877, OS: Interrupted by process 1, serial output operation
4.710877, OS: Process 1 set from BLOCKED to READY
4.710877, Process: 0, cpu process operation start
4.741256, OS: Process 0 quantum time out, cpu process operation end
4.741291, Process: 0, cpu process operation start
4.772451, OS: Process 0 quantum time out, cpu process operation end
4.772451, Process: 0, cpu process operation start
4.782579, Process: 0, cpu process operation end
4.782579, Process: 0, cpu process operation start
4.813012, OS: Process 0 quantum time out, cpu process operation end
4.813012, Process: 0, cpu process operation start
4.843446, OS: Process 0 quantum time out, cpu process operation end
4.843446, Process: 0, cpu process operation start
4.863724, Process: 0, cpu process operation end
4.863724, Process: 0, cpu process operation start
4.894040, OS: Process 0 quantum time out, cpu process operation end
4.894040, Process: 0, cpu process operation start
4.924278, Process: 0, cpu process operation end
4.924278, Process: 0, video signal output operation start
4.924278, OS: Process 0 blocked for output operation
4.924278, OS: Process 0 set from RUNNING to BLOCKED
4.924278, OS: Process 1 selected with 0 ms remaining
4.924278, OS: Process 1 set from READY to RUNNING
4.924278, Process: 1, mem access request (2000, 1000)
--------------------------------------------------
After access success
0 [ Open, P#: x, 0-0 ] 2999
3000 [ Used, P#: 2, 1000-3999 ] 5999
6000 [ Used, P#: x, 0-0 ] 8999
9000 [ Used, P#: 0, 4000-5999 ] 10999
11000 [ Open, P#: x, 0-0 ] 11099
--------------------------------------------------
4.924278, Process: 1, successful mem access request
4.924278, OS: Process 1 ended
--------------------------------------------------
After clear process 1 success
0 [ Used, P#: x, 0-0 ] 2999
3000 [ Open, P#: x, 0-0 ] 8999
9000 [ Used, P#: 0, 4000-5999 ] 10999
11000 [ Open, P#: x, 0-0 ] 11099
--------------------------------------------------
4.924278, OS: Process 1 set to EXIT
4.924278, OS: Process 3 selected with 2050 ms remaining
4.924278, OS: Process 3 set from READY to RUNNING
4.924278, Process: 3, mem access request (2600, 1500)
--------------------------------------------------
After access success
0 [ Used, P#: x, 0-0 ] 8999
9000 [ Used, P#: 0, 4000-5999 ] 10999
11000 [ Open, P#: x, 0-0 ] 11099
--------------------------------------------------
4.924278, Process: 3, successful mem access request
4.924278, Process: 3, serial input operation start
4.924278, OS: Process 3 blocked for input operation
4.924278, OS: Process 3 set from RUNNING to BLOCKED
4.924278, OS: CPU idle, all active processes blocked
5.487058, OS: CPU interrupt, end idle
5.487058, OS: Interrupted by process 3, serial input operation
5.487058, OS: Process 3 set from BLOCKED to READY
5.487058, OS: Process 3 selected with 1490 ms remaining
5.487058, OS: Process 3 set from READY to RUNNING
5.487058, Process: 3, sound signal output operation start
5.487058, OS: Process 3 blocked for output operation
5.487058, OS: Process 3 set from RUNNING to BLOCKED
5.487058, OS: CPU idle, all active processes blocked
5.913791, OS: CPU interrupt, end idle
5.913791, OS: Interrupted by process 0, video signal output operation
5.913791, OS: Process 0 set from BLOCKED to READY
5.913791, OS: Process 0 selected with 0 ms remaining
5.913791, OS: Process 0 set from READY to RUNNING
5.913791, OS: Process 0 ended
--------------------------------------------------
After clear process 0 success
0 [ Used, P#: x, 0-0 ] 11099
--------------------------------------------------
5.913791, OS: Process 0 set to EXIT
5.913791, OS: CPU idle, all active processes blocked
5.994929, OS: CPU interrupt, end idle
5.994929, OS: Interrupted by process 3, sound signal output operation
5.994929, OS: Process 3 set from BLOCKED to READY
5.994929, OS: Process 3 selected with 990 ms remaining
5.994929, OS: Process 3 set from READY to RUNNING
5.994929, Process: 3, cpu process operation start
6.025370, OS: Process 3 quantum time out, cpu process operation end
6.025370, Process: 3, cpu process operation start
6.055826, OS: Process 3 quantum time out, cpu process operation end
6.055826, Process: 3, cpu process operation start
6.086263, Process: 3, cpu process operation end
6.086263, Process: 3, mem allocate request (2500, 1000)
--------------------------------------------------
After allocate overlap failure
0 [ Used, P#: x, 0-0 ] 11099
--------------------------------------------------
6.086263, Process: 3, failed mem allocate request
6.086263, OS: Segmentation fault, Process 3 ended
--------------------------------------------------
After clear process 3 success
0 [ Open, P#: x, 0-0 ] 11099
--------------------------------------------------
6.086263, OS: Process 3 set to EXIT
6.086263, OS: System stop
--------------------------------------------------
After clear all process success
No memory configured
--------------------------------------------------
6.086263, OS: Simulation end
Simulator Program End.