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

Last change on this file since f965428 was f965428, checked in by Jennifer Averett <jennifer.averett@…>, on 05/21/14 at 14:40:49

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: 564 bytes
Line 
1#
2#  Exercise priority and affinity.
3#  priorities such that finding an heir requires scanning the
4#  ready set of threads.
5#
6rtems_init 4
7task_create smp1 10
8task_create smp2 10
9task_create smp3 10
10task_create smp4 12
11task_create smp5 10
12# GOAL: Cores 0-3 should be 0x0a01000[5321] respectively
13cpus smp5 smp3 smp2 smp1
14
15# GOAL: No change - pri is too low to run
16task_create pri1 -a 0x2 11
17cpus smp5 smp3 smp2 smp1
18
19# GOAL: pri1 should preempt smp3 on core 1
20# GOAL: Cores 0-3 should be 0x0a01000[5621] respectively
21task_priority pri1 9
22cpus smp5 pri1 smp2 smp1
Note: See TracBrowser for help on using the repository browser.