source: rtems-schedsim/schedsim/shell/schedsim_smppriority_affinity/scenarios/cpus4_affinity_case1.expected @ 807b593

Last change on this file since 807b593 was 807b593, checked in by Jennifer Averett <jennifer.averett@…>, on May 20, 2014 at 5:50:18 PM

shedsim_smppriority_affinity: Add scenarios.

  • Property mode set to 100644
File size: 4.8 KB
Line 
1Script File               : scenarios/cpus4_affinity_case1.scen
2verbose                   : 1
3==> 1: #
4==> 2: # 
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 4 -a 14
16Creating task with:  Preemption: yes Timeslicing: no
17Task (smp1) created: id=0x0a010001, priority=4
18Task (0x0a010001) Set affinity=0x0000000e
19Task (smp1) starting: id=0x0a010001, priority=4
20  CPU 3: Thread Heir 0x0a010001 priority=4
21  CPU 3: Thread Executing 0x0a010001 priority=4
22==> 6: task_create smp2 4 -a 14
23Creating task with:  Preemption: yes Timeslicing: no
24Task (smp2) created: id=0x0a010002, priority=4
25Task (0x0a010002) Set affinity=0x0000000e
26Task (smp2) starting: id=0x0a010002, priority=4
27  CPU 2: Thread Heir 0x0a010002 priority=4
28  CPU 2: Thread Executing 0x0a010002 priority=4
29==> 7: task_create smp3 4 -a  3
30Creating task with:  Preemption: yes Timeslicing: no
31Task (smp3) created: id=0x0a010003, priority=4
32Task (0x0a010003) Set affinity=0x00000003
33Task (smp3) starting: id=0x0a010003, priority=4
34  CPU 1: Thread Heir 0x0a010003 priority=4
35  CPU 1: Thread Executing 0x0a010003 priority=4
36==> 8: task_create smp4 4 -a  3
37Creating task with:  Preemption: yes Timeslicing: no
38Task (smp4) created: id=0x0a010004, priority=4
39Task (0x0a010004) Set affinity=0x00000003
40Task (smp4) starting: id=0x0a010004, priority=4
41  CPU 0: Thread Heir 0x0a010004 priority=4
42  CPU 0: Thread Executing 0x0a010004 priority=4
43==> 9:
44==> 10: # GOAL: want 0x0a010004 - 0x0a010001 as heir and executings
45==> 11: # GOAL:   on CPUs 0 -3 respectively
46==> 12: cpus
47=== CPU Status
48          EXECUTING      /   HEIR             / SWITCH NEEDED
49  CPU 0: 0x0a010004 @  4 / 0x0a010004 @  4          false
50  CPU 1: 0x0a010003 @  4 / 0x0a010003 @  4          false
51  CPU 2: 0x0a010002 @  4 / 0x0a010002 @  4          false
52  CPU 3: 0x0a010001 @  4 / 0x0a010001 @  4          false
53=== End of Ready Set of Threads
54==> 13:
55==> 14: task_set_affinity smp1 0x03
56Task (0x0a010001) Set affinity=0x00000003
57  CPU 1: Thread Heir 0x0a010001 priority=4
58  CPU 1: Thread Executing 0x0a010001 priority=4
59==> 15: # GOAL: want 0x0a010004, 0x0a010001, 0x0a010002,0x09010001
60==> 16: # GOAL:   as heir and executings on CPUs 0-3 respectively
61==> 17: cpus
62=== CPU Status
63          EXECUTING      /   HEIR             / SWITCH NEEDED
64  CPU 0: 0x0a010004 @  4 / 0x0a010004 @  4          false
65  CPU 1: 0x0a010001 @  4 / 0x0a010001 @  4          false
66  CPU 2: 0x0a010002 @  4 / 0x0a010002 @  4          false
67  CPU 3: 0x09010001 @  4 / 0x09010001 @  4          false
68=== End of Ready Set of Threads
69==> 18:
70==> 19: task_set_affinity smp2 0x03
71Task (0x0a010002) Set affinity=0x00000003
72  CPU 1: Thread Heir 0x0a010002 priority=4
73  CPU 1: Thread Executing 0x0a010002 priority=4
74==> 20: # GOAL: want 0x0a010004, 0x0a010002, 0x00910002,0x09010001
75==> 21: # GOAL:   as heir and executings on CPUs 0-3 respectively
76==> 22: cpus
77=== CPU Status
78          EXECUTING      /   HEIR             / SWITCH NEEDED
79  CPU 0: 0x0a010004 @  4 / 0x0a010004 @  4          false
80  CPU 1: 0x0a010002 @  4 / 0x0a010002 @  4          false
81  CPU 2: 0x09010002 @  4 / 0x09010002 @  4          false
82  CPU 3: 0x09010001 @  4 / 0x09010001 @  4          false
83=== End of Ready Set of Threads
84==> 23:
85==> 24: task_set_affinity smp3 0x0e
86Task (0x0a010003) Set affinity=0x0000000e
87  CPU 3: Thread Heir 0x0a010003 priority=4
88  CPU 3: Thread Executing 0x0a010003 priority=4
89==> 25: # GOAL: want 0x0a010004, 0x0a010002, 0x09010002,0x0a010003
90==> 26: # GOAL:   as heir and executings on CPUs 0-3 respectively
91==> 27: cpus
92=== CPU Status
93          EXECUTING      /   HEIR             / SWITCH NEEDED
94  CPU 0: 0x0a010004 @  4 / 0x0a010004 @  4          false
95  CPU 1: 0x0a010002 @  4 / 0x0a010002 @  4          false
96  CPU 2: 0x09010002 @  4 / 0x09010002 @  4          false
97  CPU 3: 0x0a010003 @  4 / 0x0a010003 @  4          false
98=== End of Ready Set of Threads
99==> 28:
100==> 29: task_set_affinity smp4 0x0e
101Task (0x0a010004) Set affinity=0x0000000e
102  CPU 2: Thread Heir 0x0a010004 priority=4
103  CPU 2: Thread Executing 0x0a010004 priority=4
104==> 30: # GOAL: want 0x0a010004, 0x0a010002, 0x0a010004,0x0a010003
105==> 31: # GOAL:   as heir and executings on CPUs 0-3 respectively
106==> 32: cpus
107=== CPU Status
108          EXECUTING      /   HEIR             / SWITCH NEEDED
109  CPU 0: 0x0a010004 @  4 / 0x0a010004 @  4          false
110  CPU 1: 0x0a010002 @  4 / 0x0a010002 @  4          false
111  CPU 2: 0x0a010004 @  4 / 0x0a010004 @  4          false
112  CPU 3: 0x0a010003 @  4 / 0x0a010003 @  4          false
113=== End of Ready Set of Threads
Note: See TracBrowser for help on using the repository browser.