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

Last change on this file since 9f3c8eb was 9f3c8eb, checked in by Jennifer Averett <jennifer.averett@…>, on 05/16/14 at 19:53:51

Add scenarios for setting affinity before start of task.

  • Property mode set to 100644
File size: 1.8 KB
Line 
1Script File               : scenarios/cpus2_affinity_case2.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 4 -a 2
27Creating task with:  Preemption: yes Timeslicing: no
28Task (smp2) created: id=0x0a010002, priority=4
29Task (0x0a010002) Set affinity=0x00000002
30Task (smp2) starting: id=0x0a010002, priority=4
31==> 11: # GOAL: 0x09010001, 0x0a010001
32==> 12: # GOAL:   on CPUs 0 -1 respectively
33==> 13: cpus
34=== CPU Status
35          EXECUTING      /   HEIR             / SWITCH NEEDED
36  CPU 0: 0x09010001 @255 / 0x09010001 @255          false
37  CPU 1: 0x0a010001 @  3 / 0x0a010001 @  3          false
38=== End of Ready Set of Threads
39==> 14:
40==> 15: dispatch
41==> 16: # GOAL: 0x09010001, 0x0a010001
42==> 17: # GOAL:   on CPUs 0 -1 respectively
43==> 18: cpus
44=== CPU Status
45          EXECUTING      /   HEIR             / SWITCH NEEDED
46  CPU 0: 0x09010001 @255 / 0x09010001 @255          false
47  CPU 1: 0x0a010001 @  3 / 0x0a010001 @  3          false
48=== End of Ready Set of Threads
Note: See TracBrowser for help on using the repository browser.