blob: 643e7ffb80c8c7676df37cbdf9e09feb1da6c78f (
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
Script File : scenarios/cpus2_affinity_case1.scen
verbose : 1
==> 1: #
==> 2: #
==> 3: #
==> 4: 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
Creating task with: Preemption: yes Timeslicing: no
Task (smp1) created: id=0x0a010001, priority=3
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
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
=== 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
|