summaryrefslogtreecommitdiffstats
path: root/schedsim/shell/schedsim_smppriority_affinity/scenarios/cpus4_affinity_case1.scen
diff options
context:
space:
mode:
authorJennifer Averett <jennifer.averett@oarcorp.com>2014-05-21 09:40:49 -0500
committerJennifer Averett <jennifer.averett@oarcorp.com>2014-05-23 09:49:42 -0500
commitf965428ac73adf305190cafa9d484134089dd1bf (patch)
tree26b23cc036712072308b726ccf0b6708c7a0d631 /schedsim/shell/schedsim_smppriority_affinity/scenarios/cpus4_affinity_case1.scen
parentshared: Fix bug in cpu checking of dump all cpus method. (diff)
downloadrtems-schedsim-f965428ac73adf305190cafa9d484134089dd1bf.tar.bz2
schedsim_smppriority_affinity: Cleanup scenarios.
Add check of expected threads to cpu commands. Add more documentation and set fix the expected files.
Diffstat (limited to 'schedsim/shell/schedsim_smppriority_affinity/scenarios/cpus4_affinity_case1.scen')
-rw-r--r--schedsim/shell/schedsim_smppriority_affinity/scenarios/cpus4_affinity_case1.scen42
1 files changed, 0 insertions, 42 deletions
diff --git a/schedsim/shell/schedsim_smppriority_affinity/scenarios/cpus4_affinity_case1.scen b/schedsim/shell/schedsim_smppriority_affinity/scenarios/cpus4_affinity_case1.scen
deleted file mode 100644
index 5f32400..0000000
--- a/schedsim/shell/schedsim_smppriority_affinity/scenarios/cpus4_affinity_case1.scen
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-#
-#
-rtems_init 4
-task_create smp1 4 -a 0x0e
-task_create smp2 4 -a 0x0e
-task_create smp3 4 -a 0x03
-task_create smp4 4 -a 0x03
-
-# EXECUTING: {smp1 smp2 smp3 smp4}
-# READY: {IDLE IDLE IDLE IDLE}
-# GOAL: want 0x0a010004 - 0x0a010001 as heir and executings
-# GOAL: on CPUs 0 -3 respectively
-cpus smp4 smp3 smp2 smp1
-
-task_set_affinity smp1 0x03
-# EXECUTING: {smp2 smp3 smp4 IDLE}
-# READY: {smp1 IDLE IDLE IDLE}
-# GOAL: want 0x0a010004, 0x0a010003, 0x0a010002,0x09010001
-# GOAL: as heir and executings on CPUs 0-3 respectively
-cpus smp4 smp3 smp2 IDLE
-
-task_set_affinity smp2 0x03
-# EXECUTING: {smp3 smp4 IDLE IDLE}
-# READY: {smp1 smp2 IDLE IDLE}
-# GOAL: want 0x0a010004, 0x0a010003, 0x00910002,0x09010001
-# GOAL: as heir and executings on CPUs 0-3 respectively
-cpus smp4 smp3 IDLE IDLE
-
-task_set_affinity smp3 0x0e
-# EXECUTING: {smp4 smp2 smp3 IDLE}
-# READY: {smp1 smp2 IDLE IDLE}
-# GOAL: want 0x0a010004, 0x0a010002, 0x0a010003,0x09010001
-# GOAL: as heir and executings on CPUs 0-3 respectively
-cpus smp4 smp2 smp3 IDLE
-
-task_set_affinity smp4 0x0e
-# EXECUTING: {smp4 smp2 smp3 smp1}
-# READY: {IDLE IDLE IDLE IDLE}
-# GOAL: want 0x0a010001, 0x0a010002, 0x0a010003,0x0a010004
-# GOAL: as heir and executings on CPUs 0-3 respectively
-cpus smp1 smp2 smp3 smp4