source: rtems-schedsim/schedsim/shell/schedsim_smppriority_affinity/scenarios/cpus2_affinity_case1.expected @ 968d2b2

Last change on this file since 968d2b2 was 968d2b2, checked in by Joel Sherrill <joel.sherrill@…>, on 05/26/14 at 18:15:13

Unify printing of heir and executing

  • Property mode set to 100644
File size: 1.4 KB
Line 
1Script File               : scenarios/cpus2_affinity_case1.scen
2verbose                   : 1
3==> 1: #
4==> 2: # Force Cores such that the first created task
5==> 3: # is on CPU 0 and the second is on CPU 1.
6==> 4: #
7==> 5: rtems_init 2
8  CPU 0: Thread Heir: 0x09010001 priority=255
9  CPU 0: Thread Executing: 0x09010001 priority=255
10  CPU 1: Thread Heir: 0x09010002 priority=255
11  CPU 1: Thread Executing: 0x09010002 priority=255
12==> 6: task_create smp1 3 -a 1
13Creating task with:  Preemption: yes Timeslicing: no
14Task (smp1) created: id=0x0a010001, priority=3
15Task (0x0a010001) Set affinity=0x00000001
16Task (smp1) starting: id=0x0a010001, priority=3
17  CPU 0: Thread Heir: 0x0a010001 priority=3
18  CPU 0: Thread Executing: 0x0a010001 priority=3
19==> 7: task_create smp2 2 -a 2
20Creating task with:  Preemption: yes Timeslicing: no
21Task (smp2) created: id=0x0a010002, priority=2
22Task (0x0a010002) Set affinity=0x00000002
23Task (smp2) starting: id=0x0a010002, priority=2
24  CPU 1: Thread Heir: 0x0a010002 priority=2
25  CPU 1: Thread Executing: 0x0a010002 priority=2
26==> 8:
27==> 9: # GOAL: want 0x0a010001 - 0x0a010002 as heir and executings
28==> 10: # GOAL:   on CPUs 0 -1 respectively
29==> 11: cpus smp1 smp2
30=== CPU Status
31          EXECUTING      /   HEIR             / SWITCH NEEDED
32  CPU 0: 0x0a010001 @  3 / 0x0a010001 @  3          false
33  CPU 1: 0x0a010002 @  2 / 0x0a010002 @  2          false
34=== End of Ready Set of Threads
Note: See TracBrowser for help on using the repository browser.