summaryrefslogtreecommitdiffstats
path: root/schedsim/shell/schedsim_smppriority_affinity/scenarios/cpus4_affinity_case2.scen
blob: 6150daa9970c55146e2189ea9d209ee9854ead81 (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
#
#  
#
rtems_init 4
task_create smp1 4 
task_create smp2 4
task_create smp3 4
task_create smp4 4
task_create smp5 4

# GOAL: want 0x0a010004 - 0x0a010001 as heir and executings
# GOAL:   on CPUs 0 -3 respectively
cpus

task_set_affinity smp5 0x03
# GOAL: want 0x0a010004, 0x0a010005, 0x0a010002,0x0a010001
# GOAL:   as heir and executings on CPUs 0-3 respectively
cpus

task_set_affinity smp2 0x01
# GOAL: want 0x0a010002, 0x0a010005, 0x0a010003,0x0a010001
# GOAL:   as heir and executings on CPUs 0-3 respectively
cpus