source: rtems-schedsim/schedsim/shell/schedsim_smppriority_affinity/scenarios/cpus4_affinity_migrate_case1.scen @ f965428

Last change on this file since f965428 was f965428, checked in by Jennifer Averett <jennifer.averett@…>, on May 21, 2014 at 2:40:49 PM

schedsim_smppriority_affinity: Cleanup scenarios.

Add check of expected threads to cpu commands. Add more documentation and set fix
the expected files.

  • Property mode set to 100644
File size: 727 bytes
2# Create 5 tasks of the same priority.  Then
3# change the affinity and the priority of the
4# task that is on the ready queue.
6rtems_init 4
7task_create smp1 4
8task_create smp2 4
9task_create smp3 4
10task_create smp4 4
11task_create smp5 4
13# GOAL: want 0x0a010004 - 0x0a010001 as heir and executings
14# GOAL:   on CPUs 0 -3 respectively
15cpus smp4 smp3 smp2 smp1
17task_set_affinity smp5 0x03
18task_priority smp5 3
20# GOAL: want 0x0a010005, 0x0a010003, 0x0a010002,0x0a010001
21# GOAL:   as heir and executings on CPUs 0-3 respectively
22cpus smp5 smp3 smp2 smp1
24task_set_affinity smp4 0x01
25# GOAL: want 0x0a010002, 0x0a010005, 0x0a010003,0x0a010001
26# GOAL:   as heir and executings on CPUs 0-3 respectively
27cpus smp5 smp3 smp2 smp1
Note: See TracBrowser for help on using the repository browser.