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

Last change on this file since f965428 was f965428, checked in by Jennifer Averett <jennifer.averett@…>, on 05/21/14 at 14:40:49

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