source: rtems-schedsim/schedsim/shell/schedsim_smppriority_affinity/scenarios/cpus4_affinity_case2.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: 3.6 KB
Line 
1Script File               : scenarios/cpus4_affinity_case2.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
16Creating task with:  Preemption: yes Timeslicing: no
17Task (smp1) created: id=0x0a010001, priority=4
18Task (smp1) starting: id=0x0a010001, priority=4
19  CPU 3: Thread Heir 0x0a010001 priority=4
20  CPU 3: Thread Executing 0x0a010001 priority=4
21==> 6: task_create smp2 4
22Creating task with:  Preemption: yes Timeslicing: no
23Task (smp2) created: id=0x0a010002, priority=4
24Task (smp2) starting: id=0x0a010002, priority=4
25  CPU 2: Thread Heir 0x0a010002 priority=4
26  CPU 2: Thread Executing 0x0a010002 priority=4
27==> 7: task_create smp3 4
28Creating task with:  Preemption: yes Timeslicing: no
29Task (smp3) created: id=0x0a010003, priority=4
30Task (smp3) starting: id=0x0a010003, priority=4
31  CPU 1: Thread Heir 0x0a010003 priority=4
32  CPU 1: Thread Executing 0x0a010003 priority=4
33==> 8: task_create smp4 4
34Creating task with:  Preemption: yes Timeslicing: no
35Task (smp4) created: id=0x0a010004, priority=4
36Task (smp4) starting: id=0x0a010004, priority=4
37  CPU 0: Thread Heir 0x0a010004 priority=4
38  CPU 0: Thread Executing 0x0a010004 priority=4
39==> 9: task_create smp5 4
40Creating task with:  Preemption: yes Timeslicing: no
41Task (smp5) created: id=0x0a010005, priority=4
42Task (smp5) starting: id=0x0a010005, priority=4
43==> 10:
44==> 11: # GOAL: want 0x0a010004 - 0x0a010001 as heir and executings
45==> 12: # GOAL:   on CPUs 0 -3 respectively
46==> 13: 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==> 14:
55==> 15: task_set_affinity smp5 0x03
56Task (0x0a010005) Set affinity=0x00000003
57  CPU 1: Thread Heir 0x0a010005 priority=4
58  CPU 1: Thread Executing 0x0a010005 priority=4
59==> 16: # GOAL: want 0x0a010004, 0x0a010005, 0x0a010002,0x0a010001
60==> 17: # GOAL:   as heir and executings on CPUs 0-3 respectively
61==> 18: cpus
62=== CPU Status
63          EXECUTING      /   HEIR             / SWITCH NEEDED
64  CPU 0: 0x0a010004 @  4 / 0x0a010004 @  4          false
65  CPU 1: 0x0a010005 @  4 / 0x0a010005 @  4          false
66  CPU 2: 0x0a010002 @  4 / 0x0a010002 @  4          false
67  CPU 3: 0x0a010001 @  4 / 0x0a010001 @  4          false
68=== End of Ready Set of Threads
69==> 19:
70==> 20: task_set_affinity smp2 0x01
71Task (0x0a010002) Set affinity=0x00000001
72  CPU 0: Thread Heir 0x0a010002 priority=4
73  CPU 0: Thread Executing 0x0a010002 priority=4
74  CPU 2: Thread Heir 0x0a010003 priority=4
75  CPU 2: Thread Executing 0x0a010003 priority=4
76===> 21: # GOAL: want 0x0a010002, 0x0a010005, 0x0a010003,0x0a010001
77==> 22: # GOAL:   as heir and executings on CPUs 0-3 respectively
78==> 23: cpus
79=== CPU Status
80          EXECUTING      /   HEIR             / SWITCH NEEDED
81  CPU 0: 0x0a010002 @  4 / 0x0a010002 @  4          false
82  CPU 1: 0x0a010005 @  4 / 0x0a010005 @  4          false
83  CPU 2: 0x0a010003 @  4 / 0x0a010003 @  4          false
84  CPU 3: 0x0a010001 @  4 / 0x0a010001 @  4          false
85=== End of Ready Set of Threads
Note: See TracBrowser for help on using the repository browser.