summaryrefslogtreecommitdiffstats
path: root/schedsim/shell/schedsim_smppriority_affinity/scenarios/cpus2_affinity_case1.expected
diff options
context:
space:
mode:
Diffstat (limited to 'schedsim/shell/schedsim_smppriority_affinity/scenarios/cpus2_affinity_case1.expected')
-rw-r--r--schedsim/shell/schedsim_smppriority_affinity/scenarios/cpus2_affinity_case1.expected42
1 files changed, 13 insertions, 29 deletions
diff --git a/schedsim/shell/schedsim_smppriority_affinity/scenarios/cpus2_affinity_case1.expected b/schedsim/shell/schedsim_smppriority_affinity/scenarios/cpus2_affinity_case1.expected
index 643e7ff..125c7b4 100644
--- a/schedsim/shell/schedsim_smppriority_affinity/scenarios/cpus2_affinity_case1.expected
+++ b/schedsim/shell/schedsim_smppriority_affinity/scenarios/cpus2_affinity_case1.expected
@@ -1,48 +1,32 @@
Script File : scenarios/cpus2_affinity_case1.scen
verbose : 1
==> 1: #
-==> 2: #
-==> 3: #
-==> 4: rtems_init 2
+==> 2: # Force Cores such that the first created task
+==> 3: # is on CPU 0 and the second is on CPU 1.
+==> 4: #
+==> 5: rtems_init 2
CPU 0: Thread Heir 0x09010001 priority=255
CPU 0: Thread Executing 0x09010001 priority=255
CPU 1: Thread Heir 0x09010002 priority=255
CPU 1: Thread Executing 0x09010002 priority=255
-==> 5: task_create smp1 3
+==> 6: task_create smp1 3 -a 1
Creating task with: Preemption: yes Timeslicing: no
Task (smp1) created: id=0x0a010001, priority=3
+Task (0x0a010001) Set affinity=0x00000001
Task (smp1) starting: id=0x0a010001, priority=3
- CPU 1: Thread Heir 0x0a010001 priority=3
- CPU 1: Thread Executing 0x0a010001 priority=3
-==> 6: # GOAL: 0x09010001, 0x0a010001
-==> 7: # GOAL: on CPUs 0-1 respectively
-==> 8: cpus
-=== CPU Status
- EXECUTING / HEIR / SWITCH NEEDED
- CPU 0: 0x09010001 @255 / 0x09010001 @255 false
- CPU 1: 0x0a010001 @ 3 / 0x0a010001 @ 3 false
-=== End of Ready Set of Threads
-==> 9:
-==> 10: task_create smp2 2 -a 2
+ CPU 0: Thread Heir 0x0a010001 priority=3
+ CPU 0: Thread Executing 0x0a010001 priority=3
+==> 7: task_create smp2 2 -a 2
Creating task with: Preemption: yes Timeslicing: no
Task (smp2) created: id=0x0a010002, priority=2
Task (0x0a010002) Set affinity=0x00000002
Task (smp2) starting: id=0x0a010002, priority=2
CPU 1: Thread Heir 0x0a010002 priority=2
CPU 1: Thread Executing 0x0a010002 priority=2
-==> 11: # GOAL: want 0x09010001, 0x0a010002 as heir and executings
-==> 12: # GOAL: on CPUs 0 -1 respectively
-==> 13: cpus
-=== CPU Status
- EXECUTING / HEIR / SWITCH NEEDED
- CPU 0: 0x09010001 @255 / 0x09010001 @255 false
- CPU 1: 0x0a010002 @ 2 / 0x0a010002 @ 2 false
-=== End of Ready Set of Threads
-==> 14:
-==> 15: dispatch
-==> 16: # GOAL: want 0x0a010001 - 0x0a010002 as heir and executings
-==> 17: # GOAL: on CPUs 0 -1 respectively
-==> 18: cpus
+==> 8:
+==> 9: # GOAL: want 0x0a010001 - 0x0a010002 as heir and executings
+==> 10: # GOAL: on CPUs 0 -1 respectively
+==> 11: cpus smp1 smp2
=== CPU Status
EXECUTING / HEIR / SWITCH NEEDED
CPU 0: 0x0a010001 @ 3 / 0x0a010001 @ 3 false