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