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