summaryrefslogtreecommitdiff
path: root/schedsim/shell/schedsim_smpsimple/scenarios/cpus1_resume_on_primary.expected
blob: 9b17afdd0498c5716ca1c72b2d99ee647ac49093 (plain)
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
Script File               : cpus1_resume_on_primary.scen
verbose                   : 1
==> 1: #
==> 2: #  Check suspending self, then resuming on primary CPU
==> 3: #
==> 4: rtems_init 1
  CPU 0: Thread Heir: 0x09010001 priority=255
  CPU 0: Thread Executing: 0x09010001 priority=255
==> 5: task_create smp1 5
Creating task with:  Preemption: yes Timeslicing: no
Task (smp1) created: id=0x0a010001, priority=5
Task (smp1) starting: id=0x0a010001, priority=5
  CPU 0: Thread Heir: 0x0a010001 priority=5
  CPU 0: Thread Executing: 0x0a010001 priority=5
==> 6: # GOAL: 0x0a010001 is heir and executing on CPU 0
==> 7: cpus smp1
=== CPU Status
          EXECUTING      /   HEIR             / SWITCH NEEDED
  CPU 0: 0x0a010001 @  5 / 0x0a010001 @  5          false
=== End of Ready Set of Threads
==> 8: # suspend running task
==> 9: task_suspend smp1
Suspending task (0x0a010001)
  CPU 0: Thread Heir: 0x09010001 priority=255
  CPU 0: Thread Executing: 0x09010001 priority=255
==> 10: # GOAL: 0x09010001 is heir and executing on CPU 0
==> 11: cpus IDLE
=== CPU Status
          EXECUTING      /   HEIR             / SWITCH NEEDED
  CPU 0: 0x09010001 @255 / 0x09010001 @255          false
=== End of Ready Set of Threads
==> 12: # GOAL: 0x09010001 is heir and executing on CPU 0
==> 13: cpus IDLE
=== CPU Status
          EXECUTING      /   HEIR             / SWITCH NEEDED
  CPU 0: 0x09010001 @255 / 0x09010001 @255          false
=== End of Ready Set of Threads
==> 14: # resume suspended task
==> 15: task_resume smp1
Resuming task (0x0a010001)
  CPU 0: Thread Heir: 0x0a010001 priority=5
  CPU 0: Thread Executing: 0x0a010001 priority=5
==> 16: # GOAL: 0x0a010001 is heir and executing on CPU 0
==> 17: cpus smp1
=== CPU Status
          EXECUTING      /   HEIR             / SWITCH NEEDED
  CPU 0: 0x0a010001 @  5 / 0x0a010001 @  5          false
=== End of Ready Set of Threads
==> 18: # GOAL: 0x0a010001 is heir and executing on CPU 0
==> 19: cpus smp1
=== CPU Status
          EXECUTING      /   HEIR             / SWITCH NEEDED
  CPU 0: 0x0a010001 @  5 / 0x0a010001 @  5          false
=== End of Ready Set of Threads