source: rtems-schedsim/schedsim/shell/schedsim_smpsimple/scenarios/cpus4_priority.scen @ f40778b

Last change on this file since f40778b was f40778b, checked in by Joel Sherrill <joel.sherrill@…>, on 05/17/11 at 19:31:12

2011-05-17 Joel Sherrill <joel.sherrill@…>

  • .cvsignore, ChangeLog?, Makefile.am, README, TODO, add_commands.c, config.c, main_current_cpu.c, main_dispatch.c, main_dump_all_cpus.c, main_dump_ready_tasks.c, printheir_executing.c, schedsim.cc, smp_stub.c, wrap_thread_dispatch.c, scenarios/.cvsignore, scenarios/cpus1_mode.expected, scenarios/cpus1_mode.scen, scenarios/cpus1_priority.expected, scenarios/cpus1_priority.scen, scenarios/cpus1_resume_on_primary.expected, scenarios/cpus1_resume_on_primary.scen, scenarios/cpus1_suspend_on_primary.expected, scenarios/cpus1_suspend_on_primary.scen, scenarios/cpus4_mode_case1.expected, scenarios/cpus4_mode_case1.scen, scenarios/cpus4_mode_case2.expected, scenarios/cpus4_mode_case2.scen, scenarios/cpus4_nonpreempt_case1.expected, scenarios/cpus4_nonpreempt_case1.scen, scenarios/cpus4_pick_older.expected, scenarios/cpus4_pick_older.scen, scenarios/cpus4_priority.expected, scenarios/cpus4_priority.scen, scenarios/cpus4_simple_nopreempt.expected, scenarios/cpus4_simple_nopreempt.scen, scenarios/cpus4_simple_preemption.expected, scenarios/cpus4_simple_preemption.scen, scenarios/cpus4_suspend_on_all.expected, scenarios/cpus4_suspend_on_all.scen, scenarios/cpus4_suspend_on_primary.expected, scenarios/cpus4_suspend_on_primary.scen, scenarios/cpus4_suspend_on_secondary.expected, scenarios/cpus4_suspend_on_secondary.scen: New files.
  • Property mode set to 100644
File size: 808 bytes
Line 
1#
2#  Check increasing and decrease priority
3#
4rtems_init 4
5task_create smp1 5
6task_create smp2 8
7task_create smp3 8
8task_create smp4 8
9task_create smp5 8
10dispatch
11# GOAL: 0x0a010001 - 0x0a010004 are heir and executing
12# GOAL:   on CPUs 0 - 3 respectively
13cpus
14
15task_priority smp1 4
16dispatch
17# GOAL: 0x0a010001 - 0x0a010004 are heir and executing
18# GOAL:   on CPUs 0 - 3 respectively (no change)
19cpus
20
21task_priority smp1 7
22dispatch
23# GOAL: 0x0a010001 - 0x0a010004 are heir and executing
24# GOAL:   on CPUs 0 - 3 respectively (no change)
25cpus
26
27task_priority smp1 8
28dispatch
29# GOAL: 0x0a010005, 0x0a010002 - 0x0a010004 are heir and executing
30# GOAL:   on CPUs 0 - 3 respectively
31cpus
32
33task_priority smp1 5
34dispatch
35# GOAL: 0x0a010001 - 0x0a010004 are heir and executing
36# GOAL:   on CPUs 0 - 3 respectively
37cpus
Note: See TracBrowser for help on using the repository browser.