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:
564 bytes
|
Line | |
---|
1 | # |
---|
2 | # Exercise priority and affinity. |
---|
3 | # priorities such that finding an heir requires scanning the |
---|
4 | # ready set of threads. |
---|
5 | # |
---|
6 | rtems_init 4 |
---|
7 | task_create smp1 10 |
---|
8 | task_create smp2 10 |
---|
9 | task_create smp3 10 |
---|
10 | task_create smp4 12 |
---|
11 | task_create smp5 10 |
---|
12 | # GOAL: Cores 0-3 should be 0x0a01000[5321] respectively |
---|
13 | cpus smp5 smp3 smp2 smp1 |
---|
14 | |
---|
15 | # GOAL: No change - pri is too low to run |
---|
16 | task_create pri1 -a 0x2 11 |
---|
17 | cpus smp5 smp3 smp2 smp1 |
---|
18 | |
---|
19 | # GOAL: pri1 should preempt smp3 on core 1 |
---|
20 | # GOAL: Cores 0-3 should be 0x0a01000[5621] respectively |
---|
21 | task_priority pri1 9 |
---|
22 | cpus smp5 pri1 smp2 smp1 |
---|
Note: See
TracBrowser
for help on using the repository browser.