source: rtems-schedsim/schedsim/shell/schedsim_smpsimple/scenarios/cpus4_suspend_on_secondary.expected @ 42888e1

Last change on this file since 42888e1 was 42888e1, checked in by Jennifer Averett <jennifer.averett@…>, on Jun 3, 2014 at 12:25:24 PM

schedsim_smpsimple: Add task verification per core to scenario.

  • Property mode set to 100644
File size: 3.1 KB
Line 
1Script File               : cpus4_suspend_on_secondary.scen
2verbose                   : 1
3==> 1: #
4==> 2: #  Check blocking self on secondary CPU
5==> 3: #
6==> 4: rtems_init 4
7  CPU 0: Thread Heir: 0x09010001 priority=255
8  CPU 0: Thread Executing: 0x09010001 priority=255
9  CPU 1: Thread Heir: 0x09010002 priority=255
10  CPU 1: Thread Executing: 0x09010002 priority=255
11  CPU 2: Thread Heir: 0x09010003 priority=255
12  CPU 2: Thread Executing: 0x09010003 priority=255
13  CPU 3: Thread Heir: 0x09010004 priority=255
14  CPU 3: Thread Executing: 0x09010004 priority=255
15==> 5: task_create smp1 8
16Creating task with:  Preemption: yes Timeslicing: no
17Task (smp1) created: id=0x0a010001, priority=8
18Task (smp1) starting: id=0x0a010001, priority=8
19  CPU 3: Thread Heir: 0x0a010001 priority=8
20  CPU 3: Thread Executing: 0x0a010001 priority=8
21==> 6: task_create smp2 7
22Creating task with:  Preemption: yes Timeslicing: no
23Task (smp2) created: id=0x0a010002, priority=7
24Task (smp2) starting: id=0x0a010002, priority=7
25  CPU 2: Thread Heir: 0x0a010002 priority=7
26  CPU 2: Thread Executing: 0x0a010002 priority=7
27==> 7: task_create smp3 6
28Creating task with:  Preemption: yes Timeslicing: no
29Task (smp3) created: id=0x0a010003, priority=6
30Task (smp3) starting: id=0x0a010003, priority=6
31  CPU 1: Thread Heir: 0x0a010003 priority=6
32  CPU 1: Thread Executing: 0x0a010003 priority=6
33==> 8: task_create smp4 5
34Creating task with:  Preemption: yes Timeslicing: no
35Task (smp4) created: id=0x0a010004, priority=5
36Task (smp4) starting: id=0x0a010004, priority=5
37  CPU 0: Thread Heir: 0x0a010004 priority=5
38  CPU 0: Thread Executing: 0x0a010004 priority=5
39==> 9: # GOAL: want 0x0a010001 - 0x0a010004 as heir and executings
40==> 10: # GOAL:   on CPUs 3-0 respectively
41==> 11: cpus smp4 smp3 smp2 smp1
42=== CPU Status
43          EXECUTING      /   HEIR             / SWITCH NEEDED
44  CPU 0: 0x0a010004 @  5 / 0x0a010004 @  5          false
45  CPU 1: 0x0a010003 @  6 / 0x0a010003 @  6          false
46  CPU 2: 0x0a010002 @  7 / 0x0a010002 @  7          false
47  CPU 3: 0x0a010001 @  8 / 0x0a010001 @  8          false
48=== End of Ready Set of Threads
49==> 12: current_cpu 2
50Changing current CPU from 0 to 2
51==> 13: task_suspend SELF
52Suspending task (0x0a010002)
53  CPU 2: Thread Heir: 0x09010001 priority=255
54  CPU 2: Thread Executing: 0x09010001 priority=255
55==> 14: # GOAL: Want IDLE 0x09010001 as heir and executing on CPU 2
56==> 15: cpus smp4 smp3 IDLE smp1
57=== CPU Status
58          EXECUTING      /   HEIR             / SWITCH NEEDED
59  CPU 0: 0x0a010004 @  5 / 0x0a010004 @  5          false
60  CPU 1: 0x0a010003 @  6 / 0x0a010003 @  6          false
61  CPU 2: 0x09010001 @255 / 0x09010001 @255          false
62  CPU 3: 0x0a010001 @  8 / 0x0a010001 @  8          false
63=== End of Ready Set of Threads
64==> 16: # GOAL: Want IDLE 0x09010001 as heir and executing on CPU 2
65==> 17: cpus smp4 smp3 IDLE smp1
66=== CPU Status
67          EXECUTING      /   HEIR             / SWITCH NEEDED
68  CPU 0: 0x0a010004 @  5 / 0x0a010004 @  5          false
69  CPU 1: 0x0a010003 @  6 / 0x0a010003 @  6          false
70  CPU 2: 0x09010001 @255 / 0x09010001 @255          false
71  CPU 3: 0x0a010001 @  8 / 0x0a010001 @  8          false
72=== End of Ready Set of Threads
Note: See TracBrowser for help on using the repository browser.