Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Table1
- """
- Tick,ready list,current thread,Timer Interrupt triggered,Thread completion,Context switch
- 40,child1 child2 child3,main,timer interrupt scheduled at 80,n/a,child1
- 50,child2 child3 main,child1,n/a,thread 1 completed,child2
- 60,child3 main,child2,n/a,thread 2 completed,child3
- 70,main,child3,n/a,thread 3 completed,main
- 80,empty,main,timer interrupt scheduled at 120,n/a,n/a
- 120,child4 child5 child6,main,timer interrupt scheduled at 160,n/a,child4
- 130,child5 child6 main,child4,n/a,thread 4 completed,child5
- 140,child6 main,child5,n/a,thread 5 completed,child6
- 150,main,child6,n/a,thread 6 completed,main
- 160,empty,main,timer interrupt scheduled at 200,n/a,n/a
- 200,child7 child8 child9,main,timer interrupt scheduled at 240,n/a,child7
- 210,child8 child9 main,child7,n/a,thread 7 completed,child8
- 220,child9 main,child8,n/a,thread 8 completed,child9
- 230,main,child9,n/a,thread 9 completed,main
- 240,empty,main,timer interrupt scheduled at 280,n/a,n/a
- 250,empty,main,n/a,thread 0 completed,n/a
- """
- Table2
- """
- Tick,ready list,current thread,Timer Interrupt triggered,Thread completion,Context switch
- 40,child1 child2 child3,main,timer interrupt scheduled at 80,n/a,child1
- 50,child2 child3 main,child1,timer interrupt reset to 90,thread 1 completed,child2
- 60,child3 main,child2,timer interrupt reset to 100,thread 2 completed,child3
- 70,main,child3,timer interrupt reset to 110,thread 3 completed,main
- 110,child4 child5 child6,main,timer interrupt scheduled at 150,n/a,child4
- 120,child5 child6 main,child4,timer interrupt reset to 160,thread 4 completed,child5
- 130,child6 main,child5,timer interrupt reset to 170,thread 5 completed,child6
- 140,main,child6,timer interrupt reset to 180,thread 6 completed,main
- 180,child7 child8 child9,main,timer interrupt scheduled at 220,n/a,child7
- 190,child8 child9 main,child7,timer interrupt reset to 230,thread 7 completed,child8
- 200,child9 main,child8,timer interrupt reset to 240,thread 8 completed,child9
- 210,main,child9,timer interrupt reset to 250,thread 9 completed,main
- 220,empty,main,timer interrupt reset to 260,thread 0 completed,n/a
- """
Advertisement
Add Comment
Please, Sign In to add comment