Simultor using config file simple_config.properties
Processes: x y
Trace for process x(0): [10, -200, 10, -200, 4, -100, 7, 2147483647]
Trace for process y(1): [10, -200, 10, -200, 4, -100, 7, 2147483647]
CPUs: 1
CPU implementation: class CPU
(Info) CPU 0 going idle at time 0.
(Info) Advancing time to 1
(Info) Starting Process x(0) at time 1.
Process x(0) started at time 1
(Info) CPU 0 re-thinking going idle at time 1.
(Info) CPU 0 dispatched Process x(0) [quantum=4] at time 1 for 4 ticks.
(Info) Advancing time to 2
(Info) Starting Process y(1) at time 2.
Process y(1) started at time 2
(Info) Advancing time to 5
(Info) CPU 0 undispatching  Process x(0) at time 5 after 4 ticks.
(Info) CPU 0 dispatched Process y(1) [quantum=4] at time 5 for 4 ticks.
(Info) Advancing time to 9
(Info) CPU 0 undispatching  Process y(1) at time 9 after 4 ticks.
(Info) CPU 0 dispatched Process x(0) [quantum=4] at time 9 for 4 ticks.
(Info) Advancing time to 13
(Info) CPU 0 undispatching  Process x(0) at time 13 after 4 ticks.
(Info) CPU 0 dispatched Process y(1) [quantum=4] at time 13 for 4 ticks.
(Info) Advancing time to 17
(Info) CPU 0 undispatching  Process y(1) at time 17 after 4 ticks.
(Info) CPU 0 dispatched Process x(0) [quantum=4] at time 17 for 2 ticks.
(Info) Advancing time to 19
(Info) CPU 0 undispatching  Process x(0) at time 19 after 2 ticks.
(Info) blocking Process x(0) at time 19 for 200 ticks.
(Info) CPU 0 dispatched Process y(1) [quantum=4] at time 19 for 2 ticks.
(Info) Advancing time to 21
(Info) CPU 0 undispatching  Process y(1) at time 21 after 2 ticks.
(Info) blocking Process y(1) at time 21 for 200 ticks.
(Info) CPU 0 going idle at time 21.
(Info) Advancing time to 219
(Info) Unblocking Process x(0) at time 219.
(Info) CPU 0 re-thinking going idle at time 219.
(Info) CPU 0 dispatched Process x(0) [quantum=4] at time 219 for 4 ticks.
(Info) Advancing time to 221
(Info) Unblocking Process y(1) at time 221.
(Info) Advancing time to 223
(Info) CPU 0 undispatching  Process x(0) at time 223 after 4 ticks.
(Info) CPU 0 dispatched Process y(1) [quantum=4] at time 223 for 4 ticks.
(Info) Advancing time to 227
(Info) CPU 0 undispatching  Process y(1) at time 227 after 4 ticks.
(Info) CPU 0 dispatched Process x(0) [quantum=4] at time 227 for 4 ticks.
(Info) Advancing time to 231
(Info) CPU 0 undispatching  Process x(0) at time 231 after 4 ticks.
(Info) CPU 0 dispatched Process y(1) [quantum=4] at time 231 for 4 ticks.
(Info) Advancing time to 235
(Info) CPU 0 undispatching  Process y(1) at time 235 after 4 ticks.
(Info) CPU 0 dispatched Process x(0) [quantum=4] at time 235 for 2 ticks.
(Info) Advancing time to 237
(Info) CPU 0 undispatching  Process x(0) at time 237 after 2 ticks.
(Info) blocking Process x(0) at time 237 for 200 ticks.
(Info) CPU 0 dispatched Process y(1) [quantum=4] at time 237 for 2 ticks.
(Info) Advancing time to 239
(Info) CPU 0 undispatching  Process y(1) at time 239 after 2 ticks.
(Info) blocking Process y(1) at time 239 for 200 ticks.
(Info) CPU 0 going idle at time 239.
(Info) Advancing time to 437
(Info) Unblocking Process x(0) at time 437.
(Info) CPU 0 re-thinking going idle at time 437.
(Info) CPU 0 dispatched Process x(0) [quantum=4] at time 437 for 4 ticks.
(Info) Advancing time to 439
(Info) Unblocking Process y(1) at time 439.
(Info) Advancing time to 441
(Info) CPU 0 undispatching  Process x(0) at time 441 after 4 ticks.
(Info) blocking Process x(0) at time 441 for 100 ticks.
(Info) CPU 0 dispatched Process y(1) [quantum=4] at time 441 for 4 ticks.
(Info) Advancing time to 445
(Info) CPU 0 undispatching  Process y(1) at time 445 after 4 ticks.
(Info) blocking Process y(1) at time 445 for 100 ticks.
(Info) CPU 0 going idle at time 445.
(Info) Advancing time to 541
(Info) Unblocking Process x(0) at time 541.
(Info) CPU 0 re-thinking going idle at time 541.
(Info) CPU 0 dispatched Process x(0) [quantum=4] at time 541 for 4 ticks.
(Info) Advancing time to 545
(Info) Unblocking Process y(1) at time 545.
(Info) CPU 0 undispatching  Process x(0) at time 545 after 4 ticks.
(Info) CPU 0 dispatched Process y(1) [quantum=4] at time 545 for 4 ticks.
(Info) Advancing time to 549
(Info) CPU 0 undispatching  Process y(1) at time 549 after 4 ticks.
(Info) CPU 0 dispatched Process x(0) [quantum=4] at time 549 for 3 ticks.
(Info) Advancing time to 552
(Info) CPU 0 undispatching  Process x(0) at time 552 after 3 ticks.
(Info) Process x(0) completed at time 552, used 31 ticks, and required 9 context switches for its 4 CPU bursts.
Process x(0) completed at time 552
(Info) CPU 0 dispatched Process y(1) [quantum=4] at time 552 for 3 ticks.
(Info) Advancing time to 555
(Info) CPU 0 undispatching  Process y(1) at time 555 after 3 ticks.
(Info) Process y(1) completed at time 555, used 31 ticks, and required 9 context switches for its 4 CPU bursts.
Process y(1) completed at time 555
(Info) CPU 0 going idle at time 555.
Finished at time 555
Average CPU Utilization (62 used ticks/1 cpus * 555 run-time ) == (62/555): 11.17117117117117%
Average Completion Time (1104/2 jobs): 552.0
Dispatch Efficiency (8 bursts /18 dispatches): 44.44444444444444%
