summaryrefslogtreecommitdiffstats
path: root/schedsim/shell/schedsim_smpsimple/scenarios/cpus4_suspend_on_all.expected
blob: ee26a634a46109df06468e5baff5b7603338352a (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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
Script File               : scenarios/cpus4_suspend_on_all.scen
verbose                   : 1
==> 1: #
==> 2: #  Check blocking self on secondary CPU
==> 3: #
==> 4: rtems_init 4
  Thread Heir: 0x09010001 priority=255
  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
  Thread Heir: 0x0a010001 priority=5
  Thread Executing: 0x0a010001 priority=5
==> 6: task_create smp2 6
Creating task with:  Preemption: yes Timeslicing: no
Task (smp2) created: id=0x0a010002, priority=6
Task (smp2) starting: id=0x0a010002, priority=6
==> 7: task_create smp3 7
Creating task with:  Preemption: yes Timeslicing: no
Task (smp3) created: id=0x0a010003, priority=7
Task (smp3) starting: id=0x0a010003, priority=7
==> 8: task_create smp4 8
Creating task with:  Preemption: yes Timeslicing: no
Task (smp4) created: id=0x0a010004, priority=8
Task (smp4) starting: id=0x0a010004, priority=8
==> 9: dispatch
=== Invoke Thread Dispatch on CPU 1
  Thread Heir: 0x0a010002 priority=6
  Thread Executing: 0x09010002 priority=255
  Thread Executing: 0x0a010002 priority=6
=== Invoke Thread Dispatch on CPU 2
  Thread Heir: 0x0a010003 priority=7
  Thread Executing: 0x09010003 priority=255
  Thread Executing: 0x0a010003 priority=7
=== Invoke Thread Dispatch on CPU 3
  Thread Heir: 0x0a010004 priority=8
  Thread Executing: 0x09010004 priority=255
  Thread Executing: 0x0a010004 priority=8
==> 10: # GOAL: want 0x0a010001 - 0x0a010004 as heir and executings
==> 11: # GOAL:   on CPUs 0 - 3 respectively
==> 12: cpus
=== CPU Status
            EXECUTING    /     HEIR         /    IDLE        /  SWITCH NEEDED
  CPU 0: 0x0a010001 @  5 / 0x0a010001 @  5 / 0x09010001 @255         false
  CPU 1: 0x0a010002 @  6 / 0x0a010002 @  6 / 0x09010002 @255         false
  CPU 2: 0x0a010003 @  7 / 0x0a010003 @  7 / 0x09010003 @255         false
  CPU 3: 0x0a010004 @  8 / 0x0a010004 @  8 / 0x09010004 @255         false
=== End of Ready Set of Threads
==> 13: task_suspend smp1
Suspending task (0x0a010001)
  Thread Heir: 0x09010001 priority=255
  Thread Executing: 0x0a010001 priority=5
  Thread Executing: 0x09010001 priority=255
==> 14: task_suspend smp2
Suspending task (0x0a010002)
==> 15: task_suspend smp3
Suspending task (0x0a010003)
==> 16: task_suspend smp4
Suspending task (0x0a010004)
==> 17: dispatch
=== Invoke Thread Dispatch on CPU 1
  Thread Heir: 0x09010002 priority=255
  Thread Executing: 0x0a010002 priority=6
  Thread Executing: 0x09010002 priority=255
=== Invoke Thread Dispatch on CPU 2
  Thread Heir: 0x09010003 priority=255
  Thread Executing: 0x0a010003 priority=7
  Thread Executing: 0x09010003 priority=255
=== Invoke Thread Dispatch on CPU 3
  Thread Heir: 0x09010004 priority=255
  Thread Executing: 0x0a010004 priority=8
  Thread Executing: 0x09010004 priority=255
==> 18: # GOAL: want IDLE 0x09010001 - 0x09010004 as heir and executings
==> 19: # GOAL:   on CPUs 0 - 3 respectively
==> 20: cpus
=== CPU Status
            EXECUTING    /     HEIR         /    IDLE        /  SWITCH NEEDED
  CPU 0: 0x09010001 @255 / 0x09010001 @255 / 0x09010001 @255         false
  CPU 1: 0x09010002 @255 / 0x09010002 @255 / 0x09010002 @255         false
  CPU 2: 0x09010003 @255 / 0x09010003 @255 / 0x09010003 @255         false
  CPU 3: 0x09010004 @255 / 0x09010004 @255 / 0x09010004 @255         false
=== End of Ready Set of Threads