summaryrefslogtreecommitdiffstats
path: root/schedsim/shell/schedsim_smppriority_affinity/scenarios/cpus2_affinity_case1.expected
blob: 125c7b408ed62a48d4a932dcdc649062081fd7f4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Script File               : scenarios/cpus2_affinity_case1.scen
verbose                   : 1
==> 1: #
==> 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
==> 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 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
==> 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
  CPU 1: 0x0a010002 @  2 / 0x0a010002 @  2          false
=== End of Ready Set of Threads