Sb93

Untitled

Sep 24th, 2025
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 2.07 KB | None | 0 0
  1. Table1
  2. """
  3. Tick,ready list,current thread,Timer Interrupt triggered,Thread completion,Context switch
  4. 40,child1 child2 child3,main,timer interrupt scheduled at 80,n/a,child1
  5. 50,child2 child3 main,child1,n/a,thread 1 completed,child2
  6. 60,child3 main,child2,n/a,thread 2 completed,child3
  7. 70,main,child3,n/a,thread 3 completed,main
  8. 80,empty,main,timer interrupt scheduled at 120,n/a,n/a
  9. 120,child4 child5 child6,main,timer interrupt scheduled at 160,n/a,child4
  10. 130,child5 child6 main,child4,n/a,thread 4 completed,child5
  11. 140,child6 main,child5,n/a,thread 5 completed,child6
  12. 150,main,child6,n/a,thread 6 completed,main
  13. 160,empty,main,timer interrupt scheduled at 200,n/a,n/a
  14. 200,child7 child8 child9,main,timer interrupt scheduled at 240,n/a,child7
  15. 210,child8 child9 main,child7,n/a,thread 7 completed,child8
  16. 220,child9 main,child8,n/a,thread 8 completed,child9
  17. 230,main,child9,n/a,thread 9 completed,main
  18. 240,empty,main,timer interrupt scheduled at 280,n/a,n/a
  19. 250,empty,main,n/a,thread 0 completed,n/a
  20. """
  21.  
  22. Table2
  23. """
  24. Tick,ready list,current thread,Timer Interrupt triggered,Thread completion,Context switch
  25. 40,child1 child2 child3,main,timer interrupt scheduled at 80,n/a,child1
  26. 50,child2 child3 main,child1,timer interrupt reset to 90,thread 1 completed,child2
  27. 60,child3 main,child2,timer interrupt reset to 100,thread 2 completed,child3
  28. 70,main,child3,timer interrupt reset to 110,thread 3 completed,main
  29. 110,child4 child5 child6,main,timer interrupt scheduled at 150,n/a,child4
  30. 120,child5 child6 main,child4,timer interrupt reset to 160,thread 4 completed,child5
  31. 130,child6 main,child5,timer interrupt reset to 170,thread 5 completed,child6
  32. 140,main,child6,timer interrupt reset to 180,thread 6 completed,main
  33. 180,child7 child8 child9,main,timer interrupt scheduled at 220,n/a,child7
  34. 190,child8 child9 main,child7,timer interrupt reset to 230,thread 7 completed,child8
  35. 200,child9 main,child8,timer interrupt reset to 240,thread 8 completed,child9
  36. 210,main,child9,timer interrupt reset to 250,thread 9 completed,main
  37. 220,empty,main,timer interrupt reset to 260,thread 0 completed,n/a
  38. """
Advertisement
Add Comment
Please, Sign In to add comment