source: rtems-schedsim/schedsim/shell/schedsim_smppriority_affinity/scenarios/cpus4_affinity_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: 521 bytes
Line 
1#
2
3#
4rtems_init 4
5task_create smp1 4
6task_create smp2 4
7task_create smp3 4
8task_create smp4 4
9task_create smp5 4
10
11# GOAL: want 0x0a010004 - 0x0a010001 as heir and executings
12# GOAL:   on CPUs 0 -3 respectively
13cpus
14
15task_set_affinity smp5 0x03
16# GOAL: want 0x0a010004, 0x0a010005, 0x0a010002,0x0a010001
17# GOAL:   as heir and executings on CPUs 0-3 respectively
18cpus
19
20task_set_affinity smp2 0x01
21# GOAL: want 0x0a010002, 0x0a010005, 0x0a010003,0x0a010001
22# GOAL:   as heir and executings on CPUs 0-3 respectively
23cpus
Note: See TracBrowser for help on using the repository browser.