Last change
on this file since 3ad6235 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:
586 bytes
|
Line | |
---|
1 | # |
---|
2 | # Show how having a non-preemptive task can create a |
---|
3 | # priority inversion and changing the mode to preemptive |
---|
4 | # resolves it. |
---|
5 | # |
---|
6 | rtems_init 4 |
---|
7 | task_create -p smp1 5 |
---|
8 | task_create smp2 5 |
---|
9 | task_create smp3 5 |
---|
10 | task_create smp4 5 |
---|
11 | dispatch |
---|
12 | # GOAL: 0x0a010001 - 0x0a010004 are heir and executing |
---|
13 | # GOAL: on CPUs 0 - 3 respectively |
---|
14 | cpus |
---|
15 | |
---|
16 | task_create smp5 3 |
---|
17 | # GOAL: 0x0a010001, 0x0a010005, 0x0a010003, and 0x0a010004 are heir |
---|
18 | # GOAL: and executing on CPUs 0 - 3 |
---|
19 | cpus |
---|
20 | |
---|
21 | task_mode -P |
---|
22 | # GOAL: 0x0a010001, 0x0a010005, 0x0a010003, and 0x0a010004 are heir |
---|
23 | # GOAL: and executing on CPUs 0 - 3 |
---|
24 | cpus |
---|
Note: See
TracBrowser
for help on using the repository browser.