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

Last change on this file since f965428 was f965428, checked in by Jennifer Averett <jennifer.averett@…>, on May 21, 2014 at 2:40:49 PM

schedsim_smppriority_affinity: Cleanup scenarios.

Add check of expected threads to cpu commands. Add more documentation and set fix
the expected files.

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