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