Last change
on this file since 42888e1 was
42888e1,
checked in by Jennifer Averett <jennifer.averett@…>, on 06/03/14 at 12:25:24
|
schedsim_smpsimple: Add task verification per core to scenario.
|
-
Property mode set to
100644
|
File size:
1.0 KB
|
Rev | Line | |
---|
[f40778b] | 1 | # |
---|
| 2 | # Verify we select the oldest task at a priority |
---|
| 3 | # |
---|
| 4 | rtems_init 4 |
---|
| 5 | task_create smp1 3 |
---|
| 6 | task_create smp2 6 |
---|
| 7 | task_create smp3 7 |
---|
| 8 | task_create smp4 8 |
---|
| 9 | # GOAL: Tasks 0x0a010001 - 0x0a010004 as heir and executing |
---|
[3ad6235] | 10 | # GOAL: on CPUs 3 - 0 respectively |
---|
[42888e1] | 11 | cpus smp4 smp3 smp2 smp1 |
---|
[f40778b] | 12 | |
---|
| 13 | task_create smp5 5 |
---|
| 14 | clock_tick 1 |
---|
| 15 | # GOAL: Tasks 0x0a010001, 0x0a010002, 0x0a010003, and 0x0a010005 are |
---|
[3ad6235] | 16 | # GOAL: heir and executing on CPUs 3 - 0 respectively |
---|
[42888e1] | 17 | cpus smp5 smp3 smp2 smp1 |
---|
[f40778b] | 18 | |
---|
| 19 | task_create smp6 5 |
---|
| 20 | clock_tick 1 |
---|
| 21 | # GOAL: Tasks 0x0a010001, 0x0a010002, 0x0a010006, and 0x0a010005 are |
---|
[3ad6235] | 22 | # GOAL: heir and executing on CPUs 3 - 0 respectively |
---|
[42888e1] | 23 | cpus smp5 smp6 smp2 smp1 |
---|
[f40778b] | 24 | |
---|
| 25 | task_create smp7 5 |
---|
| 26 | clock_tick 1 |
---|
| 27 | # GOAL: Tasks 0x0a010001, 0x0a010007, 0x0a010006, and 0x0a010005 are |
---|
[3ad6235] | 28 | # GOAL: heir and executing on CPUs 3 - 0 respectively |
---|
[42888e1] | 29 | cpus smp5 smp6 smp7 smp1 |
---|
[f40778b] | 30 | |
---|
[3ad6235] | 31 | # We should pick task smp5 (0x0a010005) on CPU 0 |
---|
[f40778b] | 32 | task_create smp8 4 |
---|
[42888e1] | 33 | # GOAL: Tasks 0x0a010001, 0x0a010008, 0x0a010006, and 0x0a010005 are |
---|
[3ad6235] | 34 | # GOAL: heir and executing on CPUs 3 - 0 respectively |
---|
[42888e1] | 35 | cpus smp5 smp6 smp8 smp1 |
---|
Note: See
TracBrowser
for help on using the repository browser.