Last change
on this file since f965428 was
f965428,
checked in by Jennifer Averett <jennifer.averett@…>, on 05/21/14 at 14:40:49
|
schedsim_smppriority_affinity: Cleanup scenarios.
Add check of expected threads to cpu commands. Add more documentation and set fix
the expected files.
|
-
Property mode set to
100644
|
File size:
727 bytes
|
Line | |
---|
1 | # |
---|
2 | # Create 5 tasks of the same priority. Then |
---|
3 | # change the affinity and the priority of the |
---|
4 | # task that is on the ready queue. |
---|
5 | # |
---|
6 | rtems_init 4 |
---|
7 | task_create smp1 4 |
---|
8 | task_create smp2 4 |
---|
9 | task_create smp3 4 |
---|
10 | task_create smp4 4 |
---|
11 | task_create smp5 4 |
---|
12 | |
---|
13 | # GOAL: want 0x0a010004 - 0x0a010001 as heir and executings |
---|
14 | # GOAL: on CPUs 0 -3 respectively |
---|
15 | cpus smp4 smp3 smp2 smp1 |
---|
16 | |
---|
17 | task_set_affinity smp5 0x03 |
---|
18 | task_priority smp5 3 |
---|
19 | |
---|
20 | # GOAL: want 0x0a010005, 0x0a010003, 0x0a010002,0x0a010001 |
---|
21 | # GOAL: as heir and executings on CPUs 0-3 respectively |
---|
22 | cpus smp5 smp3 smp2 smp1 |
---|
23 | |
---|
24 | task_set_affinity smp4 0x01 |
---|
25 | # GOAL: want 0x0a010002, 0x0a010005, 0x0a010003,0x0a010001 |
---|
26 | # GOAL: as heir and executings on CPUs 0-3 respectively |
---|
27 | cpus smp5 smp3 smp2 smp1 |
---|
Note: See
TracBrowser
for help on using the repository browser.