source: rtems-schedsim/schedsim/shell/schedsim_smppriority_affinity/scenarios/cpus4_priority_case2.scen @ 807b593

Last change on this file since 807b593 was 807b593, checked in by Jennifer Averett <jennifer.averett@…>, on May 20, 2014 at 5:50:18 PM

shedsim_smppriority_affinity: Add scenarios.

  • Property mode set to 100644
File size: 551 bytes
Line 
1#
2#  Ensure lowest priority is preempted
3#
4rtems_init 4
5task_create smp1 7
6task_create smp2 8
7task_create smp3 5
8task_create smp4 6
9task_create smp5 9
10# GOAL: want 0x0a010001 - 0x0a010004 as heir and executings
11# GOAL:   on CPUs 3-0 respectively
12cpus
13
14# Tasks are created and distributed across CPUs
15task_set_affinity smp5 0x02
16# GOAL: want 0x0a010001 - 0x0a010004 as heir and executings
17# GOAL:   on CPUs 3-0 respectively
18cpus
19
20task_priority smp5 6
21# GOAL: want 0x0a010001 - 0x0a010004 as heir and executings
22# GOAL:   on CPUs 3-0 respectively
23cpus
Note: See TracBrowser for help on using the repository browser.