source: rtems-schedsim/schedsim/shell/schedsim_smpsimple/scenarios/cpus4_pick_older.expected

Last change on this file was 42888e1, checked in by Jennifer Averett <jennifer.averett@…>, on 06/03/14 at 12:25:24

schedsim_smpsimple: Add task verification per core to scenario.

  • Property mode set to 100644
File size: 5.3 KB
Line 
1Script File               : cpus4_pick_older.scen
2verbose                   : 1
3==> 1: #
4==> 2: #  Verify we select the oldest task at a priority
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 3
16Creating task with:  Preemption: yes Timeslicing: no
17Task (smp1) created: id=0x0a010001, priority=3
18Task (smp1) starting: id=0x0a010001, priority=3
19  CPU 3: Thread Heir: 0x0a010001 priority=3
20  CPU 3: Thread Executing: 0x0a010001 priority=3
21==> 6: task_create smp2 6
22Creating task with:  Preemption: yes Timeslicing: no
23Task (smp2) created: id=0x0a010002, priority=6
24Task (smp2) starting: id=0x0a010002, priority=6
25  CPU 2: Thread Heir: 0x0a010002 priority=6
26  CPU 2: Thread Executing: 0x0a010002 priority=6
27==> 7: task_create smp3 7
28Creating task with:  Preemption: yes Timeslicing: no
29Task (smp3) created: id=0x0a010003, priority=7
30Task (smp3) starting: id=0x0a010003, priority=7
31  CPU 1: Thread Heir: 0x0a010003 priority=7
32  CPU 1: Thread Executing: 0x0a010003 priority=7
33==> 8: task_create smp4 8
34Creating task with:  Preemption: yes Timeslicing: no
35Task (smp4) created: id=0x0a010004, priority=8
36Task (smp4) starting: id=0x0a010004, priority=8
37  CPU 0: Thread Heir: 0x0a010004 priority=8
38  CPU 0: Thread Executing: 0x0a010004 priority=8
39==> 9: # GOAL: Tasks 0x0a010001 - 0x0a010004 as heir and executing
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 @  8 / 0x0a010004 @  8          false
45  CPU 1: 0x0a010003 @  7 / 0x0a010003 @  7          false
46  CPU 2: 0x0a010002 @  6 / 0x0a010002 @  6          false
47  CPU 3: 0x0a010001 @  3 / 0x0a010001 @  3          false
48=== End of Ready Set of Threads
49==> 12:
50==> 13: task_create smp5 5
51Creating task with:  Preemption: yes Timeslicing: no
52Task (smp5) created: id=0x0a010005, priority=5
53Task (smp5) starting: id=0x0a010005, priority=5
54  CPU 0: Thread Heir: 0x0a010005 priority=5
55  CPU 0: Thread Executing: 0x0a010005 priority=5
56==> 14: clock_tick 1
57ClockTick (1) ...
58==> 15: # GOAL: Tasks 0x0a010001, 0x0a010002, 0x0a010003, and 0x0a010005 are
59==> 16: # GOAL:    heir and executing on CPUs 3 - 0 respectively
60==> 17: cpus smp5 smp3 smp2 smp1
61=== CPU Status
62          EXECUTING      /   HEIR             / SWITCH NEEDED
63  CPU 0: 0x0a010005 @  5 / 0x0a010005 @  5          false
64  CPU 1: 0x0a010003 @  7 / 0x0a010003 @  7          false
65  CPU 2: 0x0a010002 @  6 / 0x0a010002 @  6          false
66  CPU 3: 0x0a010001 @  3 / 0x0a010001 @  3          false
67=== End of Ready Set of Threads
68==> 18:
69==> 19: task_create smp6 5
70Creating task with:  Preemption: yes Timeslicing: no
71Task (smp6) created: id=0x0a010006, priority=5
72Task (smp6) starting: id=0x0a010006, priority=5
73  CPU 1: Thread Heir: 0x0a010006 priority=5
74  CPU 1: Thread Executing: 0x0a010006 priority=5
75==> 20: clock_tick 1
76ClockTick (1) ...
77==> 21: # GOAL: Tasks 0x0a010001, 0x0a010002, 0x0a010006, and 0x0a010005 are
78==> 22: # GOAL:    heir and executing on CPUs 3 - 0 respectively
79==> 23: cpus smp5 smp6 smp2 smp1
80=== CPU Status
81          EXECUTING      /   HEIR             / SWITCH NEEDED
82  CPU 0: 0x0a010005 @  5 / 0x0a010005 @  5          false
83  CPU 1: 0x0a010006 @  5 / 0x0a010006 @  5          false
84  CPU 2: 0x0a010002 @  6 / 0x0a010002 @  6          false
85  CPU 3: 0x0a010001 @  3 / 0x0a010001 @  3          false
86=== End of Ready Set of Threads
87==> 24:
88==> 25: task_create smp7 5
89Creating task with:  Preemption: yes Timeslicing: no
90Task (smp7) created: id=0x0a010007, priority=5
91Task (smp7) starting: id=0x0a010007, priority=5
92  CPU 2: Thread Heir: 0x0a010007 priority=5
93  CPU 2: Thread Executing: 0x0a010007 priority=5
94==> 26: clock_tick 1
95ClockTick (1) ...
96==> 27: # GOAL: Tasks 0x0a010001, 0x0a010007, 0x0a010006, and 0x0a010005 are
97==> 28: # GOAL:    heir and executing on CPUs 3 - 0 respectively
98==> 29: cpus smp5 smp6 smp7 smp1
99=== CPU Status
100          EXECUTING      /   HEIR             / SWITCH NEEDED
101  CPU 0: 0x0a010005 @  5 / 0x0a010005 @  5          false
102  CPU 1: 0x0a010006 @  5 / 0x0a010006 @  5          false
103  CPU 2: 0x0a010007 @  5 / 0x0a010007 @  5          false
104  CPU 3: 0x0a010001 @  3 / 0x0a010001 @  3          false
105=== End of Ready Set of Threads
106==> 30:
107==> 31: # We should pick task smp5 (0x0a010005) on CPU 0
108==> 32: task_create smp8 4
109Creating task with:  Preemption: yes Timeslicing: no
110Task (smp8) created: id=0x0a010008, priority=4
111Task (smp8) starting: id=0x0a010008, priority=4
112  CPU 2: Thread Heir: 0x0a010008 priority=4
113  CPU 2: Thread Executing: 0x0a010008 priority=4
114==> 33: # GOAL: Tasks 0x0a010001, 0x0a010008, 0x0a010006, and 0x0a010005 are
115==> 34: # GOAL:    heir and executing on CPUs 3 - 0 respectively
116==> 35: cpus smp5 smp6 smp8 smp1
117=== CPU Status
118          EXECUTING      /   HEIR             / SWITCH NEEDED
119  CPU 0: 0x0a010005 @  5 / 0x0a010005 @  5          false
120  CPU 1: 0x0a010006 @  5 / 0x0a010006 @  5          false
121  CPU 2: 0x0a010008 @  4 / 0x0a010008 @  4          false
122  CPU 3: 0x0a010001 @  3 / 0x0a010001 @  3          false
123=== End of Ready Set of Threads
Note: See TracBrowser for help on using the repository browser.