source: rtems-schedsim/schedsim/shell/schedsim_smppriority_affinity/scenarios/cpus4_affinity_case1.scen @ be883c2

Last change on this file since be883c2 was be883c2, checked in by Joel Sherrill <joel.sherrill@…>, on May 22, 2014 at 9:16:05 PM

cpus4_affinity_case1.scen: Add error checking

  • Property mode set to 100644
File size: 1.3 KB
Line 
1#
2
3#
4rtems_init 4
5task_create smp1 4 -a 0x0e
6task_create smp2 4 -a 0x0e
7task_create smp3 4 -a 0x03
8task_create smp4 4 -a 0x03
9
10# EXECUTING: {smp1 smp2 smp3 smp4}
11# READY:     {IDLE IDLE IDLE IDLE}
12# GOAL: want 0x0a010004 - 0x0a010001 as heir and executings
13# GOAL:   on CPUs 0 -3 respectively
14cpus smp4 smp3 smp2 smp1
15
16task_set_affinity smp1 0x03
17# EXECUTING: {smp2 smp3 smp4 IDLE}
18# READY:     {smp1 IDLE IDLE IDLE}
19# GOAL: want 0x0a010004, 0x0a010003, 0x0a010002,0x09010001
20# GOAL:   as heir and executings on CPUs 0-3 respectively
21cpus smp4 smp3 smp2 IDLE
22
23task_set_affinity smp2 0x03
24# EXECUTING: {smp3 smp4 IDLE IDLE}
25# READY:     {smp1 smp2 IDLE IDLE}
26# GOAL: want 0x0a010004, 0x0a010003, 0x00910002,0x09010001
27# GOAL:   as heir and executings on CPUs 0-3 respectively
28cpus smp4 smp3 IDLE IDLE
29
30task_set_affinity smp3 0x0e
31# EXECUTING: {smp4 smp2 smp3 IDLE}
32# READY:     {smp1 smp2 IDLE IDLE}
33# GOAL: want 0x0a010004, 0x0a010002, 0x0a010003,0x09010001
34# GOAL:   as heir and executings on CPUs 0-3 respectively
35cpus smp4 smp2 smp3 IDLE
36
37task_set_affinity smp4 0x0e
38# EXECUTING: {smp4 smp2 smp3 smp1}
39# READY:     {IDLE IDLE IDLE IDLE}
40# GOAL: want 0x0a010001, 0x0a010002, 0x0a010003,0x0a010004
41# GOAL:   as heir and executings on CPUs 0-3 respectively
42cpus smp1 smp2 smp3 smp4
Note: See TracBrowser for help on using the repository browser.