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:
681 bytes
|
Rev | Line | |
---|
[807b593] | 1 | # |
---|
| 2 | # Ensure lowest priority is preempted |
---|
| 3 | # |
---|
| 4 | rtems_init 4 |
---|
| 5 | task_create smp1 7 |
---|
| 6 | task_create smp2 8 |
---|
| 7 | task_create smp3 5 |
---|
| 8 | task_create smp4 6 |
---|
| 9 | task_create smp5 9 |
---|
| 10 | |
---|
| 11 | # GOAL: want 0x0a010001 - 0x0a010004 as heir and executings |
---|
| 12 | # GOAL: on CPUs 3-0 respectively |
---|
[f965428] | 13 | cpus smp4 smp3 smp2 smp1 |
---|
[807b593] | 14 | |
---|
| 15 | # Tasks are created and distributed across CPUs |
---|
| 16 | task_set_affinity smp5 0x01 |
---|
| 17 | # GOAL: want 0x0a010001 - 0x0a010004 as heir and executings |
---|
| 18 | # GOAL: on CPUs 3-0 respectively |
---|
[f965428] | 19 | # PRI: 6 5 8 7 |
---|
| 20 | cpus smp4 smp3 smp2 smp1 |
---|
[807b593] | 21 | |
---|
| 22 | task_priority smp5 5 |
---|
| 23 | # GOAL: want 0x0a010005, 0x0a010003, 0x0a010004, 0x0a010001 |
---|
| 24 | # GOAL: to be heir AND executing on CPU 0-3 respectively |
---|
[f965428] | 25 | # PRI: 5 5 6 7 |
---|
| 26 | cpus smp5 smp3 smp4 smp1 |
---|
Note: See
TracBrowser
for help on using the repository browser.