Last change
on this file since 4be3859 was
3ad6235,
checked in by Jennifer Averett <jennifer.averett@…>, on 05/13/14 at 14:30:12
|
schedsim_smpsimple: Clean up scenarios to match changes.
Dispatch commands were removed since a dispatch of all cpu's was
added to the dispatch wrapper. Scenarios wich only use preemptable
tasks were modified to account for changes in scheduling and
changes in expected output format.
|
-
Property mode set to
100644
|
File size:
938 bytes
|
Line | |
---|
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 |
---|
10 | # GOAL: on CPUs 3 - 0 respectively |
---|
11 | cpus |
---|
12 | |
---|
13 | task_create smp5 5 |
---|
14 | clock_tick 1 |
---|
15 | # GOAL: Tasks 0x0a010001, 0x0a010002, 0x0a010003, and 0x0a010005 are |
---|
16 | # GOAL: heir and executing on CPUs 3 - 0 respectively |
---|
17 | cpus |
---|
18 | |
---|
19 | task_create smp6 5 |
---|
20 | clock_tick 1 |
---|
21 | # GOAL: Tasks 0x0a010001, 0x0a010002, 0x0a010006, and 0x0a010005 are |
---|
22 | # GOAL: heir and executing on CPUs 3 - 0 respectively |
---|
23 | cpus |
---|
24 | |
---|
25 | task_create smp7 5 |
---|
26 | clock_tick 1 |
---|
27 | # GOAL: Tasks 0x0a010001, 0x0a010007, 0x0a010006, and 0x0a010005 are |
---|
28 | # GOAL: heir and executing on CPUs 3 - 0 respectively |
---|
29 | cpus |
---|
30 | |
---|
31 | # We should pick task smp5 (0x0a010005) on CPU 0 |
---|
32 | task_create smp8 4 |
---|
33 | # GOAL: Tasks 0x0a010001, 0x0a010007, 0x0a010006, and 0x0a010008 are |
---|
34 | # GOAL: heir and executing on CPUs 3 - 0 respectively |
---|
35 | cpus |
---|
Note: See
TracBrowser
for help on using the repository browser.