source: rtems-schedsim/schedsim/shell/schedsim_smppriority_affinity/scenarios/cpus2_affinity_case1.expected @ 9f3c8eb

Last change on this file since 9f3c8eb was 9f3c8eb, checked in by Jennifer Averett <jennifer.averett@…>, on May 16, 2014 at 7:53:51 PM

Add scenarios for setting affinity before start of task.

  • Property mode set to 100644
File size: 1.9 KB
Line 
1Script File               : scenarios/cpus2_affinity_case1.scen
2verbose                   : 1
3==> 1: #
4==> 2: # 
5==> 3: #
6==> 4: rtems_init 2
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==> 5: task_create smp1 3
12Creating task with:  Preemption: yes Timeslicing: no
13Task (smp1) created: id=0x0a010001, priority=3
14Task (smp1) starting: id=0x0a010001, priority=3
15  CPU 1: Thread Heir 0x0a010001 priority=3
16  CPU 1: Thread Executing 0x0a010001 priority=3
17==> 6: # GOAL: 0x09010001, 0x0a010001
18==> 7: # GOAL:   on CPUs 0-1 respectively
19==> 8: cpus
20=== CPU Status
21          EXECUTING      /   HEIR             / SWITCH NEEDED
22  CPU 0: 0x09010001 @255 / 0x09010001 @255          false
23  CPU 1: 0x0a010001 @  3 / 0x0a010001 @  3          false
24=== End of Ready Set of Threads
25==> 9:
26==> 10: task_create smp2 2 -a 2
27Creating task with:  Preemption: yes Timeslicing: no
28Task (smp2) created: id=0x0a010002, priority=2
29Task (0x0a010002) Set affinity=0x00000002
30Task (smp2) starting: id=0x0a010002, priority=2
31  CPU 1: Thread Heir 0x0a010002 priority=2
32  CPU 1: Thread Executing 0x0a010002 priority=2
33==> 11: # GOAL: want 0x09010001, 0x0a010002 as heir and executings
34==> 12: # GOAL:   on CPUs 0 -1 respectively
35==> 13: cpus
36=== CPU Status
37          EXECUTING      /   HEIR             / SWITCH NEEDED
38  CPU 0: 0x09010001 @255 / 0x09010001 @255          false
39  CPU 1: 0x0a010002 @  2 / 0x0a010002 @  2          false
40=== End of Ready Set of Threads
41==> 14:
42==> 15: dispatch
43==> 16: # GOAL: want 0x0a010001 - 0x0a010002 as heir and executings
44==> 17: # GOAL:   on CPUs 0 -1 respectively
45==> 18: cpus
46=== CPU Status
47          EXECUTING      /   HEIR             / SWITCH NEEDED
48  CPU 0: 0x0a010001 @  3 / 0x0a010001 @  3          false
49  CPU 1: 0x0a010002 @  2 / 0x0a010002 @  2          false
50=== End of Ready Set of Threads
Note: See TracBrowser for help on using the repository browser.