source: rtems-schedsim/schedsim/shell/schedsim_smpsimple/scenarios/cpus1_priority.expected @ 246b81f

Last change on this file since 246b81f was 3ad6235, checked in by Jennifer Averett <jennifer.averett@…>, on 05/13/14 at 14:30:12

schedsim_smpsimple: Clean up scenarios to match changes.

Dispatch commands were removed since a dispatch of all cpu's was
added to the dispatch wrapper. Scenarios wich only use preemptable
tasks were modified to account for changes in scheduling and
changes in expected output format.

  • Property mode set to 100644
File size: 2.4 KB
RevLine 
[f40778b]1Script File               : scenarios/cpus1_priority.scen
2verbose                   : 1
3==> 1: #
4==> 2: #  Check increasing and decrease priority self with no change
5==> 3: #
6==> 4: rtems_init 1
[3ad6235]7  CPU 0: Thread Heir 0x09010001 priority=255
8  CPU 0: Thread Executing 0x09010001 priority=255
[f40778b]9==> 5: task_create smp1 5
10Creating task with:  Preemption: yes Timeslicing: no
11Task (smp1) created: id=0x0a010001, priority=5
12Task (smp1) starting: id=0x0a010001, priority=5
[3ad6235]13  CPU 0: Thread Heir 0x0a010001 priority=5
14  CPU 0: Thread Executing 0x0a010001 priority=5
[f40778b]15==> 6: task_create smp2 8
16Creating task with:  Preemption: yes Timeslicing: no
17Task (smp2) created: id=0x0a010002, priority=8
18Task (smp2) starting: id=0x0a010002, priority=8
19==> 7: dispatch
20==> 8: # GOAL: 0x0a010001 is heir and executing on CPU 0
21==> 9: cpus
22=== CPU Status
[3ad6235]23          EXECUTING      /   HEIR             / SWITCH NEEDED
24  CPU 0: 0x0a010001 @  5 / 0x0a010001 @  5          false
[f40778b]25=== End of Ready Set of Threads
26==> 10:
27==> 11: task_priority smp1 4
28Task (0x0a010001) Change Priority from 5 to 4
[3ad6235]29==> 12: # GOAL: 0x0a010001 is still heir and executing on CPU 0
30==> 13: cpus
[f40778b]31=== CPU Status
[3ad6235]32          EXECUTING      /   HEIR             / SWITCH NEEDED
33  CPU 0: 0x0a010001 @  4 / 0x0a010001 @  4          false
[f40778b]34=== End of Ready Set of Threads
[3ad6235]35==> 14:
36==> 15: task_priority smp1 7
[f40778b]37Task (0x0a010001) Change Priority from 4 to 7
[3ad6235]38==> 16: # GOAL: 0x0a010001 is still heir and executing on CPU 0
39==> 17: cpus
[f40778b]40=== CPU Status
[3ad6235]41          EXECUTING      /   HEIR             / SWITCH NEEDED
42  CPU 0: 0x0a010001 @  7 / 0x0a010001 @  7          false
[f40778b]43=== End of Ready Set of Threads
[3ad6235]44==> 18:
45==> 19: task_priority smp1 8
46  CPU 0: Thread Heir 0x0a010002 priority=8
47  CPU 0: Thread Executing 0x0a010002 priority=8
[f40778b]48Task (0x0a010001) Change Priority from 7 to 8
[3ad6235]49==> 20: # GOAL: 0x0a010002 is now heir and executing on CPU 0
50==> 21: cpus
[f40778b]51=== CPU Status
[3ad6235]52          EXECUTING      /   HEIR             / SWITCH NEEDED
53  CPU 0: 0x0a010002 @  8 / 0x0a010002 @  8          false
[f40778b]54=== End of Ready Set of Threads
[3ad6235]55==> 22:
56==> 23: task_priority smp1 5
57  CPU 0: Thread Heir 0x0a010001 priority=5
58  CPU 0: Thread Executing 0x0a010001 priority=5
[f40778b]59Task (0x0a010001) Change Priority from 8 to 5
[3ad6235]60==> 24: # GOAL: 0x0a010001 is now heir and executing on CPU 0
61==> 25: cpus
[f40778b]62=== CPU Status
[3ad6235]63          EXECUTING      /   HEIR             / SWITCH NEEDED
64  CPU 0: 0x0a010001 @  5 / 0x0a010001 @  5          false
[f40778b]65=== End of Ready Set of Threads
Note: See TracBrowser for help on using the repository browser.