Changeset 968d2b2 in rtems-schedsim


Ignore:
Timestamp:
May 26, 2014, 6:15:13 PM (5 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
master
Children:
e5e757b
Parents:
246b81f
Message:

Unify printing of heir and executing

Location:
schedsim/shell
Files:
1 deleted
35 edited
1 moved

Legend:

Unmodified
Added
Removed
  • schedsim/shell/schedsim_priority/Makefile.am

    r246b81f r968d2b2  
    22schedsim_priority_SOURCES = config.c
    33schedsim_priority_SOURCES += wrap_thread_dispatch.c
    4 schedsim_priority_SOURCES += printheir_executing.c
    54schedsim_priority_SOURCES += $(srcdir)/../shared/add_commands_stub.c
    65
  • schedsim/shell/schedsim_priority/scenarios/script01.expected

    r246b81f r968d2b2  
    11*** TEST 01 ***
    2   Thread Heir: 0x09010001 priority=255
    3   Thread Executing: 0x09010001 priority=255
     2  CPU 0: Thread Heir: 0x09010001 priority=255
     3  CPU 0: Thread Executing: 0x09010001 priority=255
    44=== Create and delete 0x0a010001 ===
    55Creating task with:  Preemption: yes Timeslicing: no
    66Task (TA1) created: id=0x0a010001, priority=3
    77Task (TA1) starting: id=0x0a010001, priority=3
    8   Thread Heir: 0x0a010001 priority=3
    9   Thread Executing: 0x0a010001 priority=3
    10   Thread Heir: 0x09010001 priority=255
    11   Thread Executing: 0x09010001 priority=255
     8  CPU 0: Thread Heir: 0x0a010001 priority=3
     9  CPU 0: Thread Executing: 0x0a010001 priority=3
     10  CPU 0: Thread Heir: 0x09010001 priority=255
     11  CPU 0: Thread Executing: 0x09010001 priority=255
    1212Task (0x0a010001) deleted
    1313=== Create and delete 0x0a010002 ===
     
    1515Task (TA1) created: id=0x0a010002, priority=3
    1616Task (TA1) starting: id=0x0a010002, priority=3
    17   Thread Heir: 0x0a010002 priority=3
    18   Thread Executing: 0x0a010002 priority=3
    19   Thread Heir: 0x09010001 priority=255
    20   Thread Executing: 0x09010001 priority=255
     17  CPU 0: Thread Heir: 0x0a010002 priority=3
     18  CPU 0: Thread Executing: 0x0a010002 priority=3
     19  CPU 0: Thread Heir: 0x09010001 priority=255
     20  CPU 0: Thread Executing: 0x09010001 priority=255
    2121Task (0x0a010002) deleted
    2222*** END OF TEST 01 ***
  • schedsim/shell/schedsim_priority/scenarios/script02.expected

    r246b81f r968d2b2  
    11*** TEST 02 ***
    2   Thread Heir: 0x09010001 priority=255
    3   Thread Executing: 0x09010001 priority=255
     2  CPU 0: Thread Heir: 0x09010001 priority=255
     3  CPU 0: Thread Executing: 0x09010001 priority=255
    44=== Create 0x0a010001 ===
    55Creating task with:  Preemption: yes Timeslicing: no
    66Task (TA1) created: id=0x0a010001, priority=1
    77Task (TA1) starting: id=0x0a010001, priority=1
    8   Thread Heir: 0x0a010001 priority=1
    9   Thread Executing: 0x0a010001 priority=1
     8  CPU 0: Thread Heir: 0x0a010001 priority=1
     9  CPU 0: Thread Executing: 0x0a010001 priority=1
    1010Task (0x0a010001) sleeping for 5 ticks
    11   Thread Heir: 0x09010001 priority=255
    12   Thread Executing: 0x09010001 priority=255
     11  CPU 0: Thread Heir: 0x09010001 priority=255
     12  CPU 0: Thread Executing: 0x09010001 priority=255
    1313ClockTick (1) ...
    1414ClockTick (2) ...
     
    1616ClockTick (4) ...
    1717ClockTick (5) ...
    18   Thread Heir: 0x0a010001 priority=1
    19   Thread Executing: 0x0a010001 priority=1
     18  CPU 0: Thread Heir: 0x0a010001 priority=1
     19  CPU 0: Thread Executing: 0x0a010001 priority=1
    2020ClockTick (6) ...
    2121ClockTick (7) ...
  • schedsim/shell/schedsim_priority/scenarios/script03.expected

    r246b81f r968d2b2  
    11*** TEST 03 ***
    2   Thread Heir: 0x09010001 priority=255
    3   Thread Executing: 0x09010001 priority=255
     2  CPU 0: Thread Heir: 0x09010001 priority=255
     3  CPU 0: Thread Executing: 0x09010001 priority=255
    44=== Create 0x0a010001 ===
    55Creating task with:  Preemption: yes Timeslicing: no
    66Task (TA1) created: id=0x0a010001, priority=1
    77Task (TA1) starting: id=0x0a010001, priority=1
    8   Thread Heir: 0x0a010001 priority=1
    9   Thread Executing: 0x0a010001 priority=1
     8  CPU 0: Thread Heir: 0x0a010001 priority=1
     9  CPU 0: Thread Executing: 0x0a010001 priority=1
    1010** Mode - query
    1111Previous Mode: Preemption: yes Timeslicing: no
  • schedsim/shell/schedsim_priority/scenarios/script04.expected

    r246b81f r968d2b2  
    11*** TEST 04 ***
    2   Thread Heir: 0x09010001 priority=255
    3   Thread Executing: 0x09010001 priority=255
     2  CPU 0: Thread Heir: 0x09010001 priority=255
     3  CPU 0: Thread Executing: 0x09010001 priority=255
    44Create 0x0a010001
    55Creating task with:  Preemption: yes Timeslicing: no
    66Task (TA1) created: id=0x0a010001, priority=1
    77Task (TA1) starting: id=0x0a010001, priority=1
    8   Thread Heir: 0x0a010001 priority=1
    9   Thread Executing: 0x0a010001 priority=1
     8  CPU 0: Thread Heir: 0x0a010001 priority=1
     9  CPU 0: Thread Executing: 0x0a010001 priority=1
    1010Suspending task (0x0a010001)
    11   Thread Heir: 0x09010001 priority=255
    12   Thread Executing: 0x09010001 priority=255
     11  CPU 0: Thread Heir: 0x09010001 priority=255
     12  CPU 0: Thread Executing: 0x09010001 priority=255
    1313Creating task with:  Preemption: yes Timeslicing: no
    1414Task (TA1) created: id=0x0a010002, priority=2
    1515Task (TA1) starting: id=0x0a010002, priority=2
    16   Thread Heir: 0x0a010002 priority=2
    17   Thread Executing: 0x0a010002 priority=2
     16  CPU 0: Thread Heir: 0x0a010002 priority=2
     17  CPU 0: Thread Executing: 0x0a010002 priority=2
    1818Resuming task (0x0a010001)
    19   Thread Heir: 0x0a010001 priority=1
    20   Thread Executing: 0x0a010001 priority=1
     19  CPU 0: Thread Heir: 0x0a010001 priority=1
     20  CPU 0: Thread Executing: 0x0a010001 priority=1
    2121*** END OF TEST 04 ***
  • schedsim/shell/schedsim_priority/scenarios/script05.expected

    r246b81f r968d2b2  
    11*** TEST 05 ***
    2   Thread Heir: 0x09010001 priority=255
    3   Thread Executing: 0x09010001 priority=255
     2  CPU 0: Thread Heir: 0x09010001 priority=255
     3  CPU 0: Thread Executing: 0x09010001 priority=255
    44Create 0x0a010001
    55Creating task with:  Preemption: yes Timeslicing: no
    66Task (TA1) created: id=0x0a010001, priority=1
    77Task (TA1) starting: id=0x0a010001, priority=1
    8   Thread Heir: 0x0a010001 priority=1
    9   Thread Executing: 0x0a010001 priority=1
     8  CPU 0: Thread Heir: 0x0a010001 priority=1
     9  CPU 0: Thread Executing: 0x0a010001 priority=1
    1010Creating task with:  Preemption: yes Timeslicing: no
    1111Task (TA2) created: id=0x0a010002, priority=2
     
    1616Semaphore (SEM1) created: id=0x1a010001
    1717Obtain semaphore (0x1a010001) with timeout 0
    18   Thread Heir: 0x0a010002 priority=2
    19   Thread Executing: 0x0a010002 priority=2
     18  CPU 0: Thread Heir: 0x0a010002 priority=2
     19  CPU 0: Thread Executing: 0x0a010002 priority=2
    2020Obtain semaphore (0x1a010001) with timeout 0
    21   Thread Heir: 0x0a010003 priority=3
    22   Thread Executing: 0x0a010003 priority=3
     21  CPU 0: Thread Heir: 0x0a010003 priority=3
     22  CPU 0: Thread Executing: 0x0a010003 priority=3
    2323Obtain semaphore (0x1a010001) with timeout 0
    24   Thread Heir: 0x09010001 priority=255
    25   Thread Executing: 0x09010001 priority=255
     24  CPU 0: Thread Heir: 0x09010001 priority=255
     25  CPU 0: Thread Executing: 0x09010001 priority=255
    2626Flushing semaphore (0x1a010001)
    27   Thread Heir: 0x0a010001 priority=1
    28   Thread Executing: 0x0a010001 priority=1
     27  CPU 0: Thread Heir: 0x0a010001 priority=1
     28  CPU 0: Thread Executing: 0x0a010001 priority=1
    2929*** Now back to TA1 to do it differently
    3030Obtain semaphore (0x1a010001) with timeout 0
    31   Thread Heir: 0x0a010002 priority=2
    32   Thread Executing: 0x0a010002 priority=2
     31  CPU 0: Thread Heir: 0x0a010002 priority=2
     32  CPU 0: Thread Executing: 0x0a010002 priority=2
    3333Obtain semaphore (0x1a010001) with timeout 0
    34   Thread Heir: 0x0a010003 priority=3
    35   Thread Executing: 0x0a010003 priority=3
     34  CPU 0: Thread Heir: 0x0a010003 priority=3
     35  CPU 0: Thread Executing: 0x0a010003 priority=3
    3636Releasing semaphore (0x1a010001)
    37   Thread Heir: 0x0a010001 priority=1
    38   Thread Executing: 0x0a010001 priority=1
     37  CPU 0: Thread Heir: 0x0a010001 priority=1
     38  CPU 0: Thread Executing: 0x0a010001 priority=1
    3939Obtain semaphore (0x1a010001) with timeout 0
    40   Thread Heir: 0x0a010003 priority=3
    41   Thread Executing: 0x0a010003 priority=3
     40  CPU 0: Thread Heir: 0x0a010003 priority=3
     41  CPU 0: Thread Executing: 0x0a010003 priority=3
    4242Deleting semaphore (0x1a010001)
    43   Thread Heir: 0x0a010001 priority=1
    44   Thread Executing: 0x0a010001 priority=1
     43  CPU 0: Thread Heir: 0x0a010001 priority=1
     44  CPU 0: Thread Executing: 0x0a010001 priority=1
    4545*** END OF TEST 05 ***
  • schedsim/shell/schedsim_priority/scenarios/script06.expected

    r246b81f r968d2b2  
    11*** TEST 06 ***
    2   Thread Heir: 0x09010001 priority=255
    3   Thread Executing: 0x09010001 priority=255
     2  CPU 0: Thread Heir: 0x09010001 priority=255
     3  CPU 0: Thread Executing: 0x09010001 priority=255
    44Create 0x0a010001
    55Creating task with:  Preemption: yes Timeslicing: no
    66Task (TA1) created: id=0x0a010001, priority=1
    77Task (TA1) starting: id=0x0a010001, priority=1
    8   Thread Heir: 0x0a010001 priority=1
    9   Thread Executing: 0x0a010001 priority=1
     8  CPU 0: Thread Heir: 0x0a010001 priority=1
     9  CPU 0: Thread Executing: 0x0a010001 priority=1
    1010Creating task with:  Preemption: yes Timeslicing: no
    1111Task (TA2) created: id=0x0a010002, priority=2
     
    1616Semaphore (SEM1) created: id=0x1a010001
    1717Obtain semaphore (0x1a010001) with timeout 0
    18   Thread Heir: 0x0a010002 priority=2
    19   Thread Executing: 0x0a010002 priority=2
     18  CPU 0: Thread Heir: 0x0a010002 priority=2
     19  CPU 0: Thread Executing: 0x0a010002 priority=2
    2020Obtain semaphore (0x1a010001) with timeout 0
    21   Thread Heir: 0x0a010003 priority=3
    22   Thread Executing: 0x0a010003 priority=3
     21  CPU 0: Thread Heir: 0x0a010003 priority=3
     22  CPU 0: Thread Executing: 0x0a010003 priority=3
    2323Releasing semaphore (0x1a010001)
    24   Thread Heir: 0x0a010001 priority=1
    25   Thread Executing: 0x0a010001 priority=1
     24  CPU 0: Thread Heir: 0x0a010001 priority=1
     25  CPU 0: Thread Executing: 0x0a010001 priority=1
    2626Deleting semaphore (0x1a010001)
    2727*** END OF TEST 06 ***
  • schedsim/shell/schedsim_smppriority/Makefile.am

    r246b81f r968d2b2  
    44SOURCES += $(srcdir)/../schedsim_smpsimple/add_commands.c
    55SOURCES += $(srcdir)/../schedsim_smpsimple/main_dump_ready_tasks.c
    6 SOURCES += $(srcdir)/../schedsim_smpsimple/printheir_executing.c
    76SOURCES += $(srcdir)/../schedsim_smpsimple/wrap_thread_dispatch.c
    87schedsim_smppriority_SOURCES = $(SOURCES)
  • schedsim/shell/schedsim_smppriority_affinity/Makefile.am

    r246b81f r968d2b2  
    44SOURCES += $(srcdir)/../schedsim_smpsimple/add_commands.c
    55SOURCES += $(srcdir)/../schedsim_smpsimple/main_dump_ready_tasks.c
    6 SOURCES += $(srcdir)/../schedsim_smpsimple/printheir_executing.c
    76SOURCES += $(srcdir)/../schedsim_smpsimple/wrap_thread_dispatch.c
    87schedsim_smppriority_affinity_SOURCES = $(SOURCES)
  • schedsim/shell/schedsim_smppriority_affinity/scenarios/cpus1_exercise_affinity_api.expected

    r246b81f r968d2b2  
    55==> 3: #
    66==> 4: rtems_init 1
    7   CPU 0: Thread Heir 0x09010001 priority=255
    8   CPU 0: Thread Executing 0x09010001 priority=255
     7  CPU 0: Thread Heir: 0x09010001 priority=255
     8  CPU 0: Thread Executing: 0x09010001 priority=255
    99==> 5:
    1010==> 6: # GOAL: 0x0a010001 with affinity
     
    1616Task (0x0a010001) Set affinity=0x00000001
    1717Task (TA01) starting: id=0x0a010001, priority=3
    18   CPU 0: Thread Heir 0x0a010001 priority=3
    19   CPU 0: Thread Executing 0x0a010001 priority=3
     18  CPU 0: Thread Heir: 0x0a010001 priority=3
     19  CPU 0: Thread Executing: 0x0a010001 priority=3
    2020==> 9:
    2121==> 10: # GOAL: 0x0a010001 is now heir and executing on CPU 0
  • schedsim/shell/schedsim_smppriority_affinity/scenarios/cpus2_affinity_case1.expected

    r246b81f r968d2b2  
    66==> 4: #
    77==> 5: rtems_init 2
    8   CPU 0: Thread Heir 0x09010001 priority=255
    9   CPU 0: Thread Executing 0x09010001 priority=255
    10   CPU 1: Thread Heir 0x09010002 priority=255
    11   CPU 1: Thread Executing 0x09010002 priority=255
     8  CPU 0: Thread Heir: 0x09010001 priority=255
     9  CPU 0: Thread Executing: 0x09010001 priority=255
     10  CPU 1: Thread Heir: 0x09010002 priority=255
     11  CPU 1: Thread Executing: 0x09010002 priority=255
    1212==> 6: task_create smp1 3 -a 1
    1313Creating task with:  Preemption: yes Timeslicing: no
     
    1515Task (0x0a010001) Set affinity=0x00000001
    1616Task (smp1) starting: id=0x0a010001, priority=3
    17   CPU 0: Thread Heir 0x0a010001 priority=3
    18   CPU 0: Thread Executing 0x0a010001 priority=3
     17  CPU 0: Thread Heir: 0x0a010001 priority=3
     18  CPU 0: Thread Executing: 0x0a010001 priority=3
    1919==> 7: task_create smp2 2 -a 2
    2020Creating task with:  Preemption: yes Timeslicing: no
     
    2222Task (0x0a010002) Set affinity=0x00000002
    2323Task (smp2) starting: id=0x0a010002, priority=2
    24   CPU 1: Thread Heir 0x0a010002 priority=2
    25   CPU 1: Thread Executing 0x0a010002 priority=2
     24  CPU 1: Thread Heir: 0x0a010002 priority=2
     25  CPU 1: Thread Executing: 0x0a010002 priority=2
    2626==> 8:
    2727==> 9: # GOAL: want 0x0a010001 - 0x0a010002 as heir and executings
  • schedsim/shell/schedsim_smppriority_affinity/scenarios/cpus2_affinity_case2.expected

    r246b81f r968d2b2  
    66==> 4: #
    77==> 5: rtems_init 2
    8   CPU 0: Thread Heir 0x09010001 priority=255
    9   CPU 0: Thread Executing 0x09010001 priority=255
    10   CPU 1: Thread Heir 0x09010002 priority=255
    11   CPU 1: Thread Executing 0x09010002 priority=255
     8  CPU 0: Thread Heir: 0x09010001 priority=255
     9  CPU 0: Thread Executing: 0x09010001 priority=255
     10  CPU 1: Thread Heir: 0x09010002 priority=255
     11  CPU 1: Thread Executing: 0x09010002 priority=255
    1212==> 6: task_create smp1 3 -a 2
    1313Creating task with:  Preemption: yes Timeslicing: no
     
    1515Task (0x0a010001) Set affinity=0x00000002
    1616Task (smp1) starting: id=0x0a010001, priority=3
    17   CPU 1: Thread Heir 0x0a010001 priority=3
    18   CPU 1: Thread Executing 0x0a010001 priority=3
     17  CPU 1: Thread Heir: 0x0a010001 priority=3
     18  CPU 1: Thread Executing: 0x0a010001 priority=3
    1919==> 7: task_create smp2 2 -a 1
    2020Creating task with:  Preemption: yes Timeslicing: no
     
    2222Task (0x0a010002) Set affinity=0x00000001
    2323Task (smp2) starting: id=0x0a010002, priority=2
    24   CPU 0: Thread Heir 0x0a010002 priority=2
    25   CPU 0: Thread Executing 0x0a010002 priority=2
     24  CPU 0: Thread Heir: 0x0a010002 priority=2
     25  CPU 0: Thread Executing: 0x0a010002 priority=2
    2626==> 8:
    2727==> 9: # GOAL: want 0x0a010002 - 0x0a010001 as heir and executings
  • schedsim/shell/schedsim_smppriority_affinity/scenarios/cpus2_affinity_migrate_case1.expected

    r246b81f r968d2b2  
    66==> 4: #
    77==> 5: rtems_init 2
    8   CPU 0: Thread Heir 0x09010001 priority=255
    9   CPU 0: Thread Executing 0x09010001 priority=255
    10   CPU 1: Thread Heir 0x09010002 priority=255
    11   CPU 1: Thread Executing 0x09010002 priority=255
     8  CPU 0: Thread Heir: 0x09010001 priority=255
     9  CPU 0: Thread Executing: 0x09010001 priority=255
     10  CPU 1: Thread Heir: 0x09010002 priority=255
     11  CPU 1: Thread Executing: 0x09010002 priority=255
    1212==> 6: task_create smp1 3
    1313Creating task with:  Preemption: yes Timeslicing: no
    1414Task (smp1) created: id=0x0a010001, priority=3
    1515Task (smp1) starting: id=0x0a010001, priority=3
    16   CPU 1: Thread Heir 0x0a010001 priority=3
    17   CPU 1: Thread Executing 0x0a010001 priority=3
     16  CPU 1: Thread Heir: 0x0a010001 priority=3
     17  CPU 1: Thread Executing: 0x0a010001 priority=3
    1818==> 7: # GOAL: 0x09010001, 0x0a010001
    1919==> 8: # GOAL:   on CPUs 0-1 respectively
     
    3030Task (0x0a010002) Set affinity=0x00000002
    3131Task (smp2) starting: id=0x0a010002, priority=2
    32   CPU 0: Thread Heir 0x0a010001 priority=3
    33   CPU 0: Thread Executing 0x0a010001 priority=3
    34   CPU 1: Thread Heir 0x0a010002 priority=2
    35   CPU 1: Thread Executing 0x0a010002 priority=2
     32  CPU 0: Thread Heir: 0x0a010001 priority=3
     33  CPU 0: Thread Executing: 0x0a010001 priority=3
     34  CPU 1: Thread Heir: 0x0a010002 priority=2
     35  CPU 1: Thread Executing: 0x0a010002 priority=2
    3636==> 12: # GOAL: want 0x09010001, 0x0a010002 as heir and executings
    3737==> 13: # GOAL:   on CPUs 0 -1 respectively
  • schedsim/shell/schedsim_smppriority_affinity/scenarios/cpus2_affinity_migrate_case2.expected

    r246b81f r968d2b2  
    77==> 5: #
    88==> 6: rtems_init 2
    9   CPU 0: Thread Heir 0x09010001 priority=255
    10   CPU 0: Thread Executing 0x09010001 priority=255
    11   CPU 1: Thread Heir 0x09010002 priority=255
    12   CPU 1: Thread Executing 0x09010002 priority=255
     9  CPU 0: Thread Heir: 0x09010001 priority=255
     10  CPU 0: Thread Executing: 0x09010001 priority=255
     11  CPU 1: Thread Heir: 0x09010002 priority=255
     12  CPU 1: Thread Executing: 0x09010002 priority=255
    1313==> 7: task_create smp1 3
    1414Creating task with:  Preemption: yes Timeslicing: no
    1515Task (smp1) created: id=0x0a010001, priority=3
    1616Task (smp1) starting: id=0x0a010001, priority=3
    17   CPU 1: Thread Heir 0x0a010001 priority=3
    18   CPU 1: Thread Executing 0x0a010001 priority=3
     17  CPU 1: Thread Heir: 0x0a010001 priority=3
     18  CPU 1: Thread Executing: 0x0a010001 priority=3
    1919==> 8: # GOAL: 0x09010001, 0x0a010001
    2020==> 9: # GOAL:   on CPUs 0-1 respectively
  • schedsim/shell/schedsim_smppriority_affinity/scenarios/cpus4_affinity_api_case1.expected

    r246b81f r968d2b2  
    88==> 6: #
    99==> 7: rtems_init 4
    10   CPU 0: Thread Heir 0x09010001 priority=255
    11   CPU 0: Thread Executing 0x09010001 priority=255
    12   CPU 1: Thread Heir 0x09010002 priority=255
    13   CPU 1: Thread Executing 0x09010002 priority=255
    14   CPU 2: Thread Heir 0x09010003 priority=255
    15   CPU 2: Thread Executing 0x09010003 priority=255
    16   CPU 3: Thread Heir 0x09010004 priority=255
    17   CPU 3: Thread Executing 0x09010004 priority=255
     10  CPU 0: Thread Heir: 0x09010001 priority=255
     11  CPU 0: Thread Executing: 0x09010001 priority=255
     12  CPU 1: Thread Heir: 0x09010002 priority=255
     13  CPU 1: Thread Executing: 0x09010002 priority=255
     14  CPU 2: Thread Heir: 0x09010003 priority=255
     15  CPU 2: Thread Executing: 0x09010003 priority=255
     16  CPU 3: Thread Heir: 0x09010004 priority=255
     17  CPU 3: Thread Executing: 0x09010004 priority=255
    1818==> 8: task_create smp1 3
    1919Creating task with:  Preemption: yes Timeslicing: no
    2020Task (smp1) created: id=0x0a010001, priority=3
    2121Task (smp1) starting: id=0x0a010001, priority=3
    22   CPU 3: Thread Heir 0x0a010001 priority=3
    23   CPU 3: Thread Executing 0x0a010001 priority=3
     22  CPU 3: Thread Heir: 0x0a010001 priority=3
     23  CPU 3: Thread Executing: 0x0a010001 priority=3
    2424==> 9: task_create smp2 6
    2525Creating task with:  Preemption: yes Timeslicing: no
    2626Task (smp2) created: id=0x0a010002, priority=6
    2727Task (smp2) starting: id=0x0a010002, priority=6
    28   CPU 2: Thread Heir 0x0a010002 priority=6
    29   CPU 2: Thread Executing 0x0a010002 priority=6
     28  CPU 2: Thread Heir: 0x0a010002 priority=6
     29  CPU 2: Thread Executing: 0x0a010002 priority=6
    3030==> 10: task_create smp3 7
    3131Creating task with:  Preemption: yes Timeslicing: no
    3232Task (smp3) created: id=0x0a010003, priority=7
    3333Task (smp3) starting: id=0x0a010003, priority=7
    34   CPU 1: Thread Heir 0x0a010003 priority=7
    35   CPU 1: Thread Executing 0x0a010003 priority=7
     34  CPU 1: Thread Heir: 0x0a010003 priority=7
     35  CPU 1: Thread Executing: 0x0a010003 priority=7
    3636==> 11: task_create smp4 8
    3737Creating task with:  Preemption: yes Timeslicing: no
    3838Task (smp4) created: id=0x0a010004, priority=8
    3939Task (smp4) starting: id=0x0a010004, priority=8
    40   CPU 0: Thread Heir 0x0a010004 priority=8
    41   CPU 0: Thread Executing 0x0a010004 priority=8
     40  CPU 0: Thread Heir: 0x0a010004 priority=8
     41  CPU 0: Thread Executing: 0x0a010004 priority=8
    4242==> 12: task_create smp5 10
    4343Creating task with:  Preemption: yes Timeslicing: no
  • schedsim/shell/schedsim_smppriority_affinity/scenarios/cpus4_affinity_api_case2.expected

    r246b81f r968d2b2  
    88==> 6: #
    99==> 7: rtems_init 4
    10   CPU 0: Thread Heir 0x09010001 priority=255
    11   CPU 0: Thread Executing 0x09010001 priority=255
    12   CPU 1: Thread Heir 0x09010002 priority=255
    13   CPU 1: Thread Executing 0x09010002 priority=255
    14   CPU 2: Thread Heir 0x09010003 priority=255
    15   CPU 2: Thread Executing 0x09010003 priority=255
    16   CPU 3: Thread Heir 0x09010004 priority=255
    17   CPU 3: Thread Executing 0x09010004 priority=255
     10  CPU 0: Thread Heir: 0x09010001 priority=255
     11  CPU 0: Thread Executing: 0x09010001 priority=255
     12  CPU 1: Thread Heir: 0x09010002 priority=255
     13  CPU 1: Thread Executing: 0x09010002 priority=255
     14  CPU 2: Thread Heir: 0x09010003 priority=255
     15  CPU 2: Thread Executing: 0x09010003 priority=255
     16  CPU 3: Thread Heir: 0x09010004 priority=255
     17  CPU 3: Thread Executing: 0x09010004 priority=255
    1818==> 8: task_create smp1 5
    1919Creating task with:  Preemption: yes Timeslicing: no
    2020Task (smp1) created: id=0x0a010001, priority=5
    2121Task (smp1) starting: id=0x0a010001, priority=5
    22   CPU 3: Thread Heir 0x0a010001 priority=5
    23   CPU 3: Thread Executing 0x0a010001 priority=5
     22  CPU 3: Thread Heir: 0x0a010001 priority=5
     23  CPU 3: Thread Executing: 0x0a010001 priority=5
    2424==> 9: task_create smp2 6
    2525Creating task with:  Preemption: yes Timeslicing: no
    2626Task (smp2) created: id=0x0a010002, priority=6
    2727Task (smp2) starting: id=0x0a010002, priority=6
    28   CPU 2: Thread Heir 0x0a010002 priority=6
    29   CPU 2: Thread Executing 0x0a010002 priority=6
     28  CPU 2: Thread Heir: 0x0a010002 priority=6
     29  CPU 2: Thread Executing: 0x0a010002 priority=6
    3030==> 10: task_create smp3 6
    3131Creating task with:  Preemption: yes Timeslicing: no
    3232Task (smp3) created: id=0x0a010003, priority=6
    3333Task (smp3) starting: id=0x0a010003, priority=6
    34   CPU 1: Thread Heir 0x0a010003 priority=6
    35   CPU 1: Thread Executing 0x0a010003 priority=6
     34  CPU 1: Thread Heir: 0x0a010003 priority=6
     35  CPU 1: Thread Executing: 0x0a010003 priority=6
    3636==> 11: task_create smp4 5
    3737Creating task with:  Preemption: yes Timeslicing: no
    3838Task (smp4) created: id=0x0a010004, priority=5
    3939Task (smp4) starting: id=0x0a010004, priority=5
    40   CPU 0: Thread Heir 0x0a010004 priority=5
    41   CPU 0: Thread Executing 0x0a010004 priority=5
     40  CPU 0: Thread Heir: 0x0a010004 priority=5
     41  CPU 0: Thread Executing: 0x0a010004 priority=5
    4242==> 12: task_create smp5 6
    4343Creating task with:  Preemption: yes Timeslicing: no
     
    6565Task (0x0a010001) Get affinity=0x0000000f
    6666==> 25: task_set_affinity smp1 0x02
    67   CPU 1: Thread Heir 0x0a010001 priority=5
    68   CPU 1: Thread Executing 0x0a010001 priority=5
    69   CPU 3: Thread Heir 0x0a010005 priority=6
    70   CPU 3: Thread Executing 0x0a010005 priority=6
     67  CPU 1: Thread Heir: 0x0a010001 priority=5
     68  CPU 1: Thread Executing: 0x0a010001 priority=5
     69  CPU 3: Thread Heir: 0x0a010005 priority=6
     70  CPU 3: Thread Executing: 0x0a010005 priority=6
    7171Task (0x0a010001) Set affinity=0x00000002
    7272==> 26: task_get_affinity smp1
  • schedsim/shell/schedsim_smppriority_affinity/scenarios/cpus4_affinity_block_case1.expected

    r246b81f r968d2b2  
    1111==> 9: #
    1212==> 10: rtems_init 4
    13   CPU 0: Thread Heir 0x09010001 priority=255
    14   CPU 0: Thread Executing 0x09010001 priority=255
    15   CPU 1: Thread Heir 0x09010002 priority=255
    16   CPU 1: Thread Executing 0x09010002 priority=255
    17   CPU 2: Thread Heir 0x09010003 priority=255
    18   CPU 2: Thread Executing 0x09010003 priority=255
    19   CPU 3: Thread Heir 0x09010004 priority=255
    20   CPU 3: Thread Executing 0x09010004 priority=255
     13  CPU 0: Thread Heir: 0x09010001 priority=255
     14  CPU 0: Thread Executing: 0x09010001 priority=255
     15  CPU 1: Thread Heir: 0x09010002 priority=255
     16  CPU 1: Thread Executing: 0x09010002 priority=255
     17  CPU 2: Thread Heir: 0x09010003 priority=255
     18  CPU 2: Thread Executing: 0x09010003 priority=255
     19  CPU 3: Thread Heir: 0x09010004 priority=255
     20  CPU 3: Thread Executing: 0x09010004 priority=255
    2121==> 11: task_create smp1 -a 0xe 10
    2222Creating task with:  Preemption: yes Timeslicing: no
     
    2424Task (0x0a010001) Set affinity=0x0000000e
    2525Task (smp1) starting: id=0x0a010001, priority=10
    26   CPU 3: Thread Heir 0x0a010001 priority=10
    27   CPU 3: Thread Executing 0x0a010001 priority=10
     26  CPU 3: Thread Heir: 0x0a010001 priority=10
     27  CPU 3: Thread Executing: 0x0a010001 priority=10
    2828==> 12: task_create smp2 -a 0xe 10
    2929Creating task with:  Preemption: yes Timeslicing: no
     
    3131Task (0x0a010002) Set affinity=0x0000000e
    3232Task (smp2) starting: id=0x0a010002, priority=10
    33   CPU 2: Thread Heir 0x0a010002 priority=10
    34   CPU 2: Thread Executing 0x0a010002 priority=10
     33  CPU 2: Thread Heir: 0x0a010002 priority=10
     34  CPU 2: Thread Executing: 0x0a010002 priority=10
    3535==> 13: task_create smp3 -a 0xe 10
    3636Creating task with:  Preemption: yes Timeslicing: no
     
    3838Task (0x0a010003) Set affinity=0x0000000e
    3939Task (smp3) starting: id=0x0a010003, priority=10
    40   CPU 1: Thread Heir 0x0a010003 priority=10
    41   CPU 1: Thread Executing 0x0a010003 priority=10
     40  CPU 1: Thread Heir: 0x0a010003 priority=10
     41  CPU 1: Thread Executing: 0x0a010003 priority=10
    4242==> 14: task_create smp4 -a 0xe 10
    4343Creating task with:  Preemption: yes Timeslicing: no
     
    6464Task (0x0a010005) Set affinity=0x00000001
    6565Task (aff1) starting: id=0x0a010005, priority=11
    66   CPU 0: Thread Heir 0x0a010005 priority=11
    67   CPU 0: Thread Executing 0x0a010005 priority=11
     66  CPU 0: Thread Heir: 0x0a010005 priority=11
     67  CPU 0: Thread Executing: 0x0a010005 priority=11
    6868==> 23: cpus aff1 smp3 smp2 smp1
    6969=== CPU Status
     
    9191==> 28: task_suspend aff1
    9292Suspending task (0x0a010005)
    93   CPU 0: Thread Heir 0x0a010006 priority=11
    94   CPU 0: Thread Executing 0x0a010006 priority=11
     93  CPU 0: Thread Heir: 0x0a010006 priority=11
     94  CPU 0: Thread Executing: 0x0a010006 priority=11
    9595==> 29: cpus aff2 smp3 smp2 smp1
    9696=== CPU Status
  • schedsim/shell/schedsim_smppriority_affinity/scenarios/cpus4_affinity_migrate_case1.expected

    r246b81f r968d2b2  
    77==> 5: #
    88==> 6: rtems_init 4
    9   CPU 0: Thread Heir 0x09010001 priority=255
    10   CPU 0: Thread Executing 0x09010001 priority=255
    11   CPU 1: Thread Heir 0x09010002 priority=255
    12   CPU 1: Thread Executing 0x09010002 priority=255
    13   CPU 2: Thread Heir 0x09010003 priority=255
    14   CPU 2: Thread Executing 0x09010003 priority=255
    15   CPU 3: Thread Heir 0x09010004 priority=255
    16   CPU 3: Thread Executing 0x09010004 priority=255
     9  CPU 0: Thread Heir: 0x09010001 priority=255
     10  CPU 0: Thread Executing: 0x09010001 priority=255
     11  CPU 1: Thread Heir: 0x09010002 priority=255
     12  CPU 1: Thread Executing: 0x09010002 priority=255
     13  CPU 2: Thread Heir: 0x09010003 priority=255
     14  CPU 2: Thread Executing: 0x09010003 priority=255
     15  CPU 3: Thread Heir: 0x09010004 priority=255
     16  CPU 3: Thread Executing: 0x09010004 priority=255
    1717==> 7: task_create smp1 4
    1818Creating task with:  Preemption: yes Timeslicing: no
    1919Task (smp1) created: id=0x0a010001, priority=4
    2020Task (smp1) starting: id=0x0a010001, priority=4
    21   CPU 3: Thread Heir 0x0a010001 priority=4
    22   CPU 3: Thread Executing 0x0a010001 priority=4
     21  CPU 3: Thread Heir: 0x0a010001 priority=4
     22  CPU 3: Thread Executing: 0x0a010001 priority=4
    2323==> 8: task_create smp2 4
    2424Creating task with:  Preemption: yes Timeslicing: no
    2525Task (smp2) created: id=0x0a010002, priority=4
    2626Task (smp2) starting: id=0x0a010002, priority=4
    27   CPU 2: Thread Heir 0x0a010002 priority=4
    28   CPU 2: Thread Executing 0x0a010002 priority=4
     27  CPU 2: Thread Heir: 0x0a010002 priority=4
     28  CPU 2: Thread Executing: 0x0a010002 priority=4
    2929==> 9: task_create smp3 4
    3030Creating task with:  Preemption: yes Timeslicing: no
    3131Task (smp3) created: id=0x0a010003, priority=4
    3232Task (smp3) starting: id=0x0a010003, priority=4
    33   CPU 1: Thread Heir 0x0a010003 priority=4
    34   CPU 1: Thread Executing 0x0a010003 priority=4
     33  CPU 1: Thread Heir: 0x0a010003 priority=4
     34  CPU 1: Thread Executing: 0x0a010003 priority=4
    3535==> 10: task_create smp4 4
    3636Creating task with:  Preemption: yes Timeslicing: no
    3737Task (smp4) created: id=0x0a010004, priority=4
    3838Task (smp4) starting: id=0x0a010004, priority=4
    39   CPU 0: Thread Heir 0x0a010004 priority=4
    40   CPU 0: Thread Executing 0x0a010004 priority=4
     39  CPU 0: Thread Heir: 0x0a010004 priority=4
     40  CPU 0: Thread Executing: 0x0a010004 priority=4
    4141==> 11: task_create smp5 4
    4242Creating task with:  Preemption: yes Timeslicing: no
     
    5858Task (0x0a010005) Set affinity=0x00000003
    5959==> 18: task_priority smp5 3
    60   CPU 0: Thread Heir 0x0a010005 priority=3
    61   CPU 0: Thread Executing 0x0a010005 priority=3
     60  CPU 0: Thread Heir: 0x0a010005 priority=3
     61  CPU 0: Thread Executing: 0x0a010005 priority=3
    6262Task (0x0a010005) Change Priority from 4 to 3
    6363==> 19: 
  • schedsim/shell/schedsim_smppriority_affinity/scenarios/cpus4_affinity_migrate_case2.expected

    r246b81f r968d2b2  
    99==> 7: #
    1010==> 8: rtems_init 4
    11   CPU 0: Thread Heir 0x09010001 priority=255
    12   CPU 0: Thread Executing 0x09010001 priority=255
    13   CPU 1: Thread Heir 0x09010002 priority=255
    14   CPU 1: Thread Executing 0x09010002 priority=255
    15   CPU 2: Thread Heir 0x09010003 priority=255
    16   CPU 2: Thread Executing 0x09010003 priority=255
    17   CPU 3: Thread Heir 0x09010004 priority=255
    18   CPU 3: Thread Executing 0x09010004 priority=255
     11  CPU 0: Thread Heir: 0x09010001 priority=255
     12  CPU 0: Thread Executing: 0x09010001 priority=255
     13  CPU 1: Thread Heir: 0x09010002 priority=255
     14  CPU 1: Thread Executing: 0x09010002 priority=255
     15  CPU 2: Thread Heir: 0x09010003 priority=255
     16  CPU 2: Thread Executing: 0x09010003 priority=255
     17  CPU 3: Thread Heir: 0x09010004 priority=255
     18  CPU 3: Thread Executing: 0x09010004 priority=255
    1919==> 9: task_create smp1 4 -a 0x2
    2020Creating task with:  Preemption: yes Timeslicing: no
     
    2222Task (0x0a010001) Set affinity=0x00000002
    2323Task (smp1) starting: id=0x0a010001, priority=4
    24   CPU 1: Thread Heir 0x0a010001 priority=4
    25   CPU 1: Thread Executing 0x0a010001 priority=4
     24  CPU 1: Thread Heir: 0x0a010001 priority=4
     25  CPU 1: Thread Executing: 0x0a010001 priority=4
    2626==> 10: task_create smp2 4 -a 0x1
    2727Creating task with:  Preemption: yes Timeslicing: no
     
    2929Task (0x0a010002) Set affinity=0x00000001
    3030Task (smp2) starting: id=0x0a010002, priority=4
    31   CPU 0: Thread Heir 0x0a010002 priority=4
    32   CPU 0: Thread Executing 0x0a010002 priority=4
     31  CPU 0: Thread Heir: 0x0a010002 priority=4
     32  CPU 0: Thread Executing: 0x0a010002 priority=4
    3333==> 11: task_create smp3 4 -a 0x8
    3434Creating task with:  Preemption: yes Timeslicing: no
     
    3636Task (0x0a010003) Set affinity=0x00000008
    3737Task (smp3) starting: id=0x0a010003, priority=4
    38   CPU 3: Thread Heir 0x0a010003 priority=4
    39   CPU 3: Thread Executing 0x0a010003 priority=4
     38  CPU 3: Thread Heir: 0x0a010003 priority=4
     39  CPU 3: Thread Executing: 0x0a010003 priority=4
    4040==> 12: task_create smp4 4 -a 0x4
    4141Creating task with:  Preemption: yes Timeslicing: no
     
    4343Task (0x0a010004) Set affinity=0x00000004
    4444Task (smp4) starting: id=0x0a010004, priority=4
    45   CPU 2: Thread Heir 0x0a010004 priority=4
    46   CPU 2: Thread Executing 0x0a010004 priority=4
     45  CPU 2: Thread Heir: 0x0a010004 priority=4
     46  CPU 2: Thread Executing: 0x0a010004 priority=4
    4747==> 13: task_create smp5 4
    4848Creating task with:  Preemption: yes Timeslicing: no
     
    6363==> 19:
    6464==> 20: task_set_affinity smp1 0x0e
    65   CPU 1: Thread Heir 0x0a010005 priority=4
    66   CPU 1: Thread Executing 0x0a010005 priority=4
     65  CPU 1: Thread Heir: 0x0a010005 priority=4
     66  CPU 1: Thread Executing: 0x0a010005 priority=4
    6767Task (0x0a010001) Set affinity=0x0000000e
    6868==> 21: # GOAL: want 0x0a010002, 0x0a010005, 0x0a010004, 0x0a010003
  • schedsim/shell/schedsim_smppriority_affinity/scenarios/cpus4_affinity_migrate_case3.expected

    r246b81f r968d2b2  
    66==> 4: #
    77==> 5: rtems_init 4
    8   CPU 0: Thread Heir 0x09010001 priority=255
    9   CPU 0: Thread Executing 0x09010001 priority=255
    10   CPU 1: Thread Heir 0x09010002 priority=255
    11   CPU 1: Thread Executing 0x09010002 priority=255
    12   CPU 2: Thread Heir 0x09010003 priority=255
    13   CPU 2: Thread Executing 0x09010003 priority=255
    14   CPU 3: Thread Heir 0x09010004 priority=255
    15   CPU 3: Thread Executing 0x09010004 priority=255
     8  CPU 0: Thread Heir: 0x09010001 priority=255
     9  CPU 0: Thread Executing: 0x09010001 priority=255
     10  CPU 1: Thread Heir: 0x09010002 priority=255
     11  CPU 1: Thread Executing: 0x09010002 priority=255
     12  CPU 2: Thread Heir: 0x09010003 priority=255
     13  CPU 2: Thread Executing: 0x09010003 priority=255
     14  CPU 3: Thread Heir: 0x09010004 priority=255
     15  CPU 3: Thread Executing: 0x09010004 priority=255
    1616==> 6: task_create smp1 7
    1717Creating task with:  Preemption: yes Timeslicing: no
    1818Task (smp1) created: id=0x0a010001, priority=7
    1919Task (smp1) starting: id=0x0a010001, priority=7
    20   CPU 3: Thread Heir 0x0a010001 priority=7
    21   CPU 3: Thread Executing 0x0a010001 priority=7
     20  CPU 3: Thread Heir: 0x0a010001 priority=7
     21  CPU 3: Thread Executing: 0x0a010001 priority=7
    2222==> 7: task_create smp2 8
    2323Creating task with:  Preemption: yes Timeslicing: no
    2424Task (smp2) created: id=0x0a010002, priority=8
    2525Task (smp2) starting: id=0x0a010002, priority=8
    26   CPU 2: Thread Heir 0x0a010002 priority=8
    27   CPU 2: Thread Executing 0x0a010002 priority=8
     26  CPU 2: Thread Heir: 0x0a010002 priority=8
     27  CPU 2: Thread Executing: 0x0a010002 priority=8
    2828==> 8: task_create smp3 5
    2929Creating task with:  Preemption: yes Timeslicing: no
    3030Task (smp3) created: id=0x0a010003, priority=5
    3131Task (smp3) starting: id=0x0a010003, priority=5
    32   CPU 1: Thread Heir 0x0a010003 priority=5
    33   CPU 1: Thread Executing 0x0a010003 priority=5
     32  CPU 1: Thread Heir: 0x0a010003 priority=5
     33  CPU 1: Thread Executing: 0x0a010003 priority=5
    3434==> 9: task_create smp4 6
    3535Creating task with:  Preemption: yes Timeslicing: no
    3636Task (smp4) created: id=0x0a010004, priority=6
    3737Task (smp4) starting: id=0x0a010004, priority=6
    38   CPU 0: Thread Heir 0x0a010004 priority=6
    39   CPU 0: Thread Executing 0x0a010004 priority=6
     38  CPU 0: Thread Heir: 0x0a010004 priority=6
     39  CPU 0: Thread Executing: 0x0a010004 priority=6
    4040==> 10: task_create smp5 9
    4141Creating task with:  Preemption: yes Timeslicing: no
     
    112112==> 40:
    113113==> 41: task_priority smp5 4
    114   CPU 0: Thread Heir 0x0a010003 priority=5
    115   CPU 0: Thread Executing 0x0a010003 priority=5
    116   CPU 1: Thread Heir 0x0a010005 priority=4
    117   CPU 1: Thread Executing 0x0a010005 priority=4
    118   CPU 2: Thread Heir 0x0a010001 priority=7
    119   CPU 2: Thread Executing 0x0a010001 priority=7
    120   CPU 3: Thread Heir 0x0a010004 priority=6
    121   CPU 3: Thread Executing 0x0a010004 priority=6
     114  CPU 0: Thread Heir: 0x0a010003 priority=5
     115  CPU 0: Thread Executing: 0x0a010003 priority=5
     116  CPU 1: Thread Heir: 0x0a010005 priority=4
     117  CPU 1: Thread Executing: 0x0a010005 priority=4
     118  CPU 2: Thread Heir: 0x0a010001 priority=7
     119  CPU 2: Thread Executing: 0x0a010001 priority=7
     120  CPU 3: Thread Heir: 0x0a010004 priority=6
     121  CPU 3: Thread Executing: 0x0a010004 priority=6
    122122Task (0x0a010005) Change Priority from 9 to 4
    123123==> 42:
  • schedsim/shell/schedsim_smppriority_affinity/scenarios/cpus4_affinity_overlap_case1.expected

    r246b81f r968d2b2  
    77==> 5: #
    88==> 6: rtems_init 4
    9   CPU 0: Thread Heir 0x09010001 priority=255
    10   CPU 0: Thread Executing 0x09010001 priority=255
    11   CPU 1: Thread Heir 0x09010002 priority=255
    12   CPU 1: Thread Executing 0x09010002 priority=255
    13   CPU 2: Thread Heir 0x09010003 priority=255
    14   CPU 2: Thread Executing 0x09010003 priority=255
    15   CPU 3: Thread Heir 0x09010004 priority=255
    16   CPU 3: Thread Executing 0x09010004 priority=255
     9  CPU 0: Thread Heir: 0x09010001 priority=255
     10  CPU 0: Thread Executing: 0x09010001 priority=255
     11  CPU 1: Thread Heir: 0x09010002 priority=255
     12  CPU 1: Thread Executing: 0x09010002 priority=255
     13  CPU 2: Thread Heir: 0x09010003 priority=255
     14  CPU 2: Thread Executing: 0x09010003 priority=255
     15  CPU 3: Thread Heir: 0x09010004 priority=255
     16  CPU 3: Thread Executing: 0x09010004 priority=255
    1717==> 7: task_create smp1 4 -a 0x0e
    1818Creating task with:  Preemption: yes Timeslicing: no
     
    2020Task (0x0a010001) Set affinity=0x0000000e
    2121Task (smp1) starting: id=0x0a010001, priority=4
    22   CPU 3: Thread Heir 0x0a010001 priority=4
    23   CPU 3: Thread Executing 0x0a010001 priority=4
     22  CPU 3: Thread Heir: 0x0a010001 priority=4
     23  CPU 3: Thread Executing: 0x0a010001 priority=4
    2424==> 8: task_create smp2 4 -a 0x0e
    2525Creating task with:  Preemption: yes Timeslicing: no
     
    2727Task (0x0a010002) Set affinity=0x0000000e
    2828Task (smp2) starting: id=0x0a010002, priority=4
    29   CPU 2: Thread Heir 0x0a010002 priority=4
    30   CPU 2: Thread Executing 0x0a010002 priority=4
     29  CPU 2: Thread Heir: 0x0a010002 priority=4
     30  CPU 2: Thread Executing: 0x0a010002 priority=4
    3131==> 9: task_create smp3 4 -a 0x03
    3232Creating task with:  Preemption: yes Timeslicing: no
     
    3434Task (0x0a010003) Set affinity=0x00000003
    3535Task (smp3) starting: id=0x0a010003, priority=4
    36   CPU 1: Thread Heir 0x0a010003 priority=4
    37   CPU 1: Thread Executing 0x0a010003 priority=4
     36  CPU 1: Thread Heir: 0x0a010003 priority=4
     37  CPU 1: Thread Executing: 0x0a010003 priority=4
    3838==> 10: task_create smp4 4 -a 0x03
    3939Creating task with:  Preemption: yes Timeslicing: no
     
    4141Task (0x0a010004) Set affinity=0x00000003
    4242Task (smp4) starting: id=0x0a010004, priority=4
    43   CPU 0: Thread Heir 0x0a010004 priority=4
    44   CPU 0: Thread Executing 0x0a010004 priority=4
     43  CPU 0: Thread Heir: 0x0a010004 priority=4
     44  CPU 0: Thread Executing: 0x0a010004 priority=4
    4545==> 11:
    4646==> 12: # EXECUTING: {smp1 smp2 smp3 smp4}
     
    5858==> 17:
    5959==> 18: task_set_affinity smp1 0x03
    60   CPU 3: Thread Heir 0x09010001 priority=255
    61   CPU 3: Thread Executing 0x09010001 priority=255
     60  CPU 3: Thread Heir: 0x09010001 priority=255
     61  CPU 3: Thread Executing: 0x09010001 priority=255
    6262Task (0x0a010001) Set affinity=0x00000003
    6363==> 19: # EXECUTING: {smp2 smp3 smp4 IDLE}
     
    7575==> 24:
    7676==> 25: task_set_affinity smp2 0x03
    77   CPU 2: Thread Heir 0x09010002 priority=255
    78   CPU 2: Thread Executing 0x09010002 priority=255
     77  CPU 2: Thread Heir: 0x09010002 priority=255
     78  CPU 2: Thread Executing: 0x09010002 priority=255
    7979Task (0x0a010002) Set affinity=0x00000003
    8080==> 26: # EXECUTING: {smp3 smp4 IDLE IDLE}
     
    9292==> 31:
    9393==> 32: task_set_affinity smp3 0x0e
    94   CPU 1: Thread Heir 0x0a010002 priority=4
    95   CPU 1: Thread Executing 0x0a010002 priority=4
    96   CPU 2: Thread Heir 0x0a010003 priority=4
    97   CPU 2: Thread Executing 0x0a010003 priority=4
     94  CPU 1: Thread Heir: 0x0a010002 priority=4
     95  CPU 1: Thread Executing: 0x0a010002 priority=4
     96  CPU 2: Thread Heir: 0x0a010003 priority=4
     97  CPU 2: Thread Executing: 0x0a010003 priority=4
    9898Task (0x0a010003) Set affinity=0x0000000e
    9999==> 33: # EXECUTING: {smp4 smp2 smp3 IDLE}
     
    111111==> 38:
    112112==> 39: task_set_affinity smp4 0x0e
    113   CPU 0: Thread Heir 0x0a010001 priority=4
    114   CPU 0: Thread Executing 0x0a010001 priority=4
    115   CPU 3: Thread Heir 0x0a010004 priority=4
    116   CPU 3: Thread Executing 0x0a010004 priority=4
     113  CPU 0: Thread Heir: 0x0a010001 priority=4
     114  CPU 0: Thread Executing: 0x0a010001 priority=4
     115  CPU 3: Thread Heir: 0x0a010004 priority=4
     116  CPU 3: Thread Executing: 0x0a010004 priority=4
    117117Task (0x0a010004) Set affinity=0x0000000e
    118118==> 40: # EXECUTING: {smp4 smp2 smp3 smp1}
  • schedsim/shell/schedsim_smppriority_affinity/scenarios/cpus4_affinity_priority_case1.expected

    r246b81f r968d2b2  
    55==> 3: #
    66==> 4: rtems_init 4
    7   CPU 0: Thread Heir 0x09010001 priority=255
    8   CPU 0: Thread Executing 0x09010001 priority=255
    9   CPU 1: Thread Heir 0x09010002 priority=255
    10   CPU 1: Thread Executing 0x09010002 priority=255
    11   CPU 2: Thread Heir 0x09010003 priority=255
    12   CPU 2: Thread Executing 0x09010003 priority=255
    13   CPU 3: Thread Heir 0x09010004 priority=255
    14   CPU 3: Thread Executing 0x09010004 priority=255
     7  CPU 0: Thread Heir: 0x09010001 priority=255
     8  CPU 0: Thread Executing: 0x09010001 priority=255
     9  CPU 1: Thread Heir: 0x09010002 priority=255
     10  CPU 1: Thread Executing: 0x09010002 priority=255
     11  CPU 2: Thread Heir: 0x09010003 priority=255
     12  CPU 2: Thread Executing: 0x09010003 priority=255
     13  CPU 3: Thread Heir: 0x09010004 priority=255
     14  CPU 3: Thread Executing: 0x09010004 priority=255
    1515==> 5: task_create smp1 7
    1616Creating task with:  Preemption: yes Timeslicing: no
    1717Task (smp1) created: id=0x0a010001, priority=7
    1818Task (smp1) starting: id=0x0a010001, priority=7
    19   CPU 3: Thread Heir 0x0a010001 priority=7
    20   CPU 3: Thread Executing 0x0a010001 priority=7
     19  CPU 3: Thread Heir: 0x0a010001 priority=7
     20  CPU 3: Thread Executing: 0x0a010001 priority=7
    2121==> 6: task_create smp2 8
    2222Creating task with:  Preemption: yes Timeslicing: no
    2323Task (smp2) created: id=0x0a010002, priority=8
    2424Task (smp2) starting: id=0x0a010002, priority=8
    25   CPU 2: Thread Heir 0x0a010002 priority=8
    26   CPU 2: Thread Executing 0x0a010002 priority=8
     25  CPU 2: Thread Heir: 0x0a010002 priority=8
     26  CPU 2: Thread Executing: 0x0a010002 priority=8
    2727==> 7: task_create smp3 5
    2828Creating task with:  Preemption: yes Timeslicing: no
    2929Task (smp3) created: id=0x0a010003, priority=5
    3030Task (smp3) starting: id=0x0a010003, priority=5
    31   CPU 1: Thread Heir 0x0a010003 priority=5
    32   CPU 1: Thread Executing 0x0a010003 priority=5
     31  CPU 1: Thread Heir: 0x0a010003 priority=5
     32  CPU 1: Thread Executing: 0x0a010003 priority=5
    3333==> 8: task_create smp4 6
    3434Creating task with:  Preemption: yes Timeslicing: no
    3535Task (smp4) created: id=0x0a010004, priority=6
    3636Task (smp4) starting: id=0x0a010004, priority=6
    37   CPU 0: Thread Heir 0x0a010004 priority=6
    38   CPU 0: Thread Executing 0x0a010004 priority=6
     37  CPU 0: Thread Heir: 0x0a010004 priority=6
     38  CPU 0: Thread Executing: 0x0a010004 priority=6
    3939==> 9: task_create smp5 9
    4040Creating task with:  Preemption: yes Timeslicing: no
     
    6969==> 21:
    7070==> 22: task_priority smp5 5
    71   CPU 0: Thread Heir 0x0a010005 priority=5
    72   CPU 0: Thread Executing 0x0a010005 priority=5
    73   CPU 2: Thread Heir 0x0a010004 priority=6
    74   CPU 2: Thread Executing 0x0a010004 priority=6
     71  CPU 0: Thread Heir: 0x0a010005 priority=5
     72  CPU 0: Thread Executing: 0x0a010005 priority=5
     73  CPU 2: Thread Heir: 0x0a010004 priority=6
     74  CPU 2: Thread Executing: 0x0a010004 priority=6
    7575Task (0x0a010005) Change Priority from 9 to 5
    7676==> 23: # GOAL: want 0x0a010005, 0x0a010003, 0x0a010004, 0x0a010001
  • schedsim/shell/schedsim_smppriority_affinity/scenarios/cpus4_affinity_priority_case2.expected

    r246b81f r968d2b2  
    55==> 3: #
    66==> 4: rtems_init 4
    7   CPU 0: Thread Heir 0x09010001 priority=255
    8   CPU 0: Thread Executing 0x09010001 priority=255
    9   CPU 1: Thread Heir 0x09010002 priority=255
    10   CPU 1: Thread Executing 0x09010002 priority=255
    11   CPU 2: Thread Heir 0x09010003 priority=255
    12   CPU 2: Thread Executing 0x09010003 priority=255
    13   CPU 3: Thread Heir 0x09010004 priority=255
    14   CPU 3: Thread Executing 0x09010004 priority=255
     7  CPU 0: Thread Heir: 0x09010001 priority=255
     8  CPU 0: Thread Executing: 0x09010001 priority=255
     9  CPU 1: Thread Heir: 0x09010002 priority=255
     10  CPU 1: Thread Executing: 0x09010002 priority=255
     11  CPU 2: Thread Heir: 0x09010003 priority=255
     12  CPU 2: Thread Executing: 0x09010003 priority=255
     13  CPU 3: Thread Heir: 0x09010004 priority=255
     14  CPU 3: Thread Executing: 0x09010004 priority=255
    1515==> 5: task_create smp1 7
    1616Creating task with:  Preemption: yes Timeslicing: no
    1717Task (smp1) created: id=0x0a010001, priority=7
    1818Task (smp1) starting: id=0x0a010001, priority=7
    19   CPU 3: Thread Heir 0x0a010001 priority=7
    20   CPU 3: Thread Executing 0x0a010001 priority=7
     19  CPU 3: Thread Heir: 0x0a010001 priority=7
     20  CPU 3: Thread Executing: 0x0a010001 priority=7
    2121==> 6: task_create smp2 8
    2222Creating task with:  Preemption: yes Timeslicing: no
    2323Task (smp2) created: id=0x0a010002, priority=8
    2424Task (smp2) starting: id=0x0a010002, priority=8
    25   CPU 2: Thread Heir 0x0a010002 priority=8
    26   CPU 2: Thread Executing 0x0a010002 priority=8
     25  CPU 2: Thread Heir: 0x0a010002 priority=8
     26  CPU 2: Thread Executing: 0x0a010002 priority=8
    2727==> 7: task_create smp3 5
    2828Creating task with:  Preemption: yes Timeslicing: no
    2929Task (smp3) created: id=0x0a010003, priority=5
    3030Task (smp3) starting: id=0x0a010003, priority=5
    31   CPU 1: Thread Heir 0x0a010003 priority=5
    32   CPU 1: Thread Executing 0x0a010003 priority=5
     31  CPU 1: Thread Heir: 0x0a010003 priority=5
     32  CPU 1: Thread Executing: 0x0a010003 priority=5
    3333==> 8: task_create smp4 6
    3434Creating task with:  Preemption: yes Timeslicing: no
    3535Task (smp4) created: id=0x0a010004, priority=6
    3636Task (smp4) starting: id=0x0a010004, priority=6
    37   CPU 0: Thread Heir 0x0a010004 priority=6
    38   CPU 0: Thread Executing 0x0a010004 priority=6
     37  CPU 0: Thread Heir: 0x0a010004 priority=6
     38  CPU 0: Thread Executing: 0x0a010004 priority=6
    3939==> 9: task_create smp5 9
    4040Creating task with:  Preemption: yes Timeslicing: no
  • schedsim/shell/schedsim_smppriority_affinity/scenarios/cpus4_affinity_priority_case3.expected

    r246b81f r968d2b2  
    77==> 5: #
    88==> 6: rtems_init 4
    9   CPU 0: Thread Heir 0x09010001 priority=255
    10   CPU 0: Thread Executing 0x09010001 priority=255
    11   CPU 1: Thread Heir 0x09010002 priority=255
    12   CPU 1: Thread Executing 0x09010002 priority=255
    13   CPU 2: Thread Heir 0x09010003 priority=255
    14   CPU 2: Thread Executing 0x09010003 priority=255
    15   CPU 3: Thread Heir 0x09010004 priority=255
    16   CPU 3: Thread Executing 0x09010004 priority=255
     9  CPU 0: Thread Heir: 0x09010001 priority=255
     10  CPU 0: Thread Executing: 0x09010001 priority=255
     11  CPU 1: Thread Heir: 0x09010002 priority=255
     12  CPU 1: Thread Executing: 0x09010002 priority=255
     13  CPU 2: Thread Heir: 0x09010003 priority=255
     14  CPU 2: Thread Executing: 0x09010003 priority=255
     15  CPU 3: Thread Heir: 0x09010004 priority=255
     16  CPU 3: Thread Executing: 0x09010004 priority=255
    1717==> 7: task_create smp1 10
    1818Creating task with:  Preemption: yes Timeslicing: no
    1919Task (smp1) created: id=0x0a010001, priority=10
    2020Task (smp1) starting: id=0x0a010001, priority=10
    21   CPU 3: Thread Heir 0x0a010001 priority=10
    22   CPU 3: Thread Executing 0x0a010001 priority=10
     21  CPU 3: Thread Heir: 0x0a010001 priority=10
     22  CPU 3: Thread Executing: 0x0a010001 priority=10
    2323==> 8: task_create smp2 10
    2424Creating task with:  Preemption: yes Timeslicing: no
    2525Task (smp2) created: id=0x0a010002, priority=10
    2626Task (smp2) starting: id=0x0a010002, priority=10
    27   CPU 2: Thread Heir 0x0a010002 priority=10
    28   CPU 2: Thread Executing 0x0a010002 priority=10
     27  CPU 2: Thread Heir: 0x0a010002 priority=10
     28  CPU 2: Thread Executing: 0x0a010002 priority=10
    2929==> 9: task_create smp3 10
    3030Creating task with:  Preemption: yes Timeslicing: no
    3131Task (smp3) created: id=0x0a010003, priority=10
    3232Task (smp3) starting: id=0x0a010003, priority=10
    33   CPU 1: Thread Heir 0x0a010003 priority=10
    34   CPU 1: Thread Executing 0x0a010003 priority=10
     33  CPU 1: Thread Heir: 0x0a010003 priority=10
     34  CPU 1: Thread Executing: 0x0a010003 priority=10
    3535==> 10: task_create smp4 12
    3636Creating task with:  Preemption: yes Timeslicing: no
    3737Task (smp4) created: id=0x0a010004, priority=12
    3838Task (smp4) starting: id=0x0a010004, priority=12
    39   CPU 0: Thread Heir 0x0a010004 priority=12
    40   CPU 0: Thread Executing 0x0a010004 priority=12
     39  CPU 0: Thread Heir: 0x0a010004 priority=12
     40  CPU 0: Thread Executing: 0x0a010004 priority=12
    4141==> 11: task_create smp5 10
    4242Creating task with:  Preemption: yes Timeslicing: no
    4343Task (smp5) created: id=0x0a010005, priority=10
    4444Task (smp5) starting: id=0x0a010005, priority=10
    45   CPU 0: Thread Heir 0x0a010005 priority=10
    46   CPU 0: Thread Executing 0x0a010005 priority=10
     45  CPU 0: Thread Heir: 0x0a010005 priority=10
     46  CPU 0: Thread Executing: 0x0a010005 priority=10
    4747==> 12: # GOAL: Cores 0-3 should be 0x0a01000[5321] respectively
    4848==> 13: cpus smp5 smp3 smp2 smp1
     
    7373==> 20: # GOAL: Cores 0-3 should be 0x0a01000[5621] respectively
    7474==> 21: task_priority pri1 9
    75   CPU 1: Thread Heir 0x0a010006 priority=9
    76   CPU 1: Thread Executing 0x0a010006 priority=9
     75  CPU 1: Thread Heir: 0x0a010006 priority=9
     76  CPU 1: Thread Executing: 0x0a010006 priority=9
    7777Task (0x0a010006) Change Priority from 11 to 9
    7878==> 22: cpus smp5 pri1 smp2 smp1
  • schedsim/shell/schedsim_smpsimple/Makefile.am

    r246b81f r968d2b2  
    44schedsim_smpsimple_SOURCES += config.c
    55schedsim_smpsimple_SOURCES += main_dump_ready_tasks.c
    6 schedsim_smpsimple_SOURCES += printheir_executing.c
    76schedsim_smpsimple_SOURCES += wrap_thread_dispatch.c
    87
  • schedsim/shell/schedsim_smpsimple/scenarios/cpus1_priority.expected

    r246b81f r968d2b2  
    55==> 3: #
    66==> 4: rtems_init 1
    7   CPU 0: Thread Heir 0x09010001 priority=255
    8   CPU 0: Thread Executing 0x09010001 priority=255
     7  CPU 0: Thread Heir: 0x09010001 priority=255
     8  CPU 0: Thread Executing: 0x09010001 priority=255
    99==> 5: task_create smp1 5
    1010Creating task with:  Preemption: yes Timeslicing: no
    1111Task (smp1) created: id=0x0a010001, priority=5
    1212Task (smp1) starting: id=0x0a010001, priority=5
    13   CPU 0: Thread Heir 0x0a010001 priority=5
    14   CPU 0: Thread Executing 0x0a010001 priority=5
     13  CPU 0: Thread Heir: 0x0a010001 priority=5
     14  CPU 0: Thread Executing: 0x0a010001 priority=5
    1515==> 6: task_create smp2 8
    1616Creating task with:  Preemption: yes Timeslicing: no
     
    4444==> 18:
    4545==> 19: task_priority smp1 8
    46   CPU 0: Thread Heir 0x0a010002 priority=8
    47   CPU 0: Thread Executing 0x0a010002 priority=8
     46  CPU 0: Thread Heir: 0x0a010002 priority=8
     47  CPU 0: Thread Executing: 0x0a010002 priority=8
    4848Task (0x0a010001) Change Priority from 7 to 8
    4949==> 20: # GOAL: 0x0a010002 is now heir and executing on CPU 0
     
    5555==> 22:
    5656==> 23: task_priority smp1 5
    57   CPU 0: Thread Heir 0x0a010001 priority=5
    58   CPU 0: Thread Executing 0x0a010001 priority=5
     57  CPU 0: Thread Heir: 0x0a010001 priority=5
     58  CPU 0: Thread Executing: 0x0a010001 priority=5
    5959Task (0x0a010001) Change Priority from 8 to 5
    6060==> 24: # GOAL: 0x0a010001 is now heir and executing on CPU 0
  • schedsim/shell/schedsim_smpsimple/scenarios/cpus1_resume_on_primary.expected

    r246b81f r968d2b2  
    55==> 3: #
    66==> 4: rtems_init 1
    7   CPU 0: Thread Heir 0x09010001 priority=255
    8   CPU 0: Thread Executing 0x09010001 priority=255
     7  CPU 0: Thread Heir: 0x09010001 priority=255
     8  CPU 0: Thread Executing: 0x09010001 priority=255
    99==> 5: task_create smp1 5
    1010Creating task with:  Preemption: yes Timeslicing: no
    1111Task (smp1) created: id=0x0a010001, priority=5
    1212Task (smp1) starting: id=0x0a010001, priority=5
    13   CPU 0: Thread Heir 0x0a010001 priority=5
    14   CPU 0: Thread Executing 0x0a010001 priority=5
     13  CPU 0: Thread Heir: 0x0a010001 priority=5
     14  CPU 0: Thread Executing: 0x0a010001 priority=5
    1515==> 6: # GOAL: 0x0a010001 is heir and executing on CPU 0
    1616==> 7: cpus
     
    2222==> 9: task_suspend smp1
    2323Suspending task (0x0a010001)
    24   CPU 0: Thread Heir 0x09010001 priority=255
    25   CPU 0: Thread Executing 0x09010001 priority=255
     24  CPU 0: Thread Heir: 0x09010001 priority=255
     25  CPU 0: Thread Executing: 0x09010001 priority=255
    2626==> 10: # GOAL: 0x09010001 is heir and executing on CPU 0
    2727==> 11: cpus
     
    3939==> 15: task_resume smp1
    4040Resuming task (0x0a010001)
    41   CPU 0: Thread Heir 0x0a010001 priority=5
    42   CPU 0: Thread Executing 0x0a010001 priority=5
     41  CPU 0: Thread Heir: 0x0a010001 priority=5
     42  CPU 0: Thread Executing: 0x0a010001 priority=5
    4343==> 16: # GOAL: 0x0a010001 is heir and executing on CPU 0
    4444==> 17: cpus
  • schedsim/shell/schedsim_smpsimple/scenarios/cpus1_suspend_on_primary.expected

    r246b81f r968d2b2  
    55==> 3: #
    66==> 4: rtems_init 1
    7   CPU 0: Thread Heir 0x09010001 priority=255
    8   CPU 0: Thread Executing 0x09010001 priority=255
     7  CPU 0: Thread Heir: 0x09010001 priority=255
     8  CPU 0: Thread Executing: 0x09010001 priority=255
    99==> 5: task_create smp1 5
    1010Creating task with:  Preemption: yes Timeslicing: no
    1111Task (smp1) created: id=0x0a010001, priority=5
    1212Task (smp1) starting: id=0x0a010001, priority=5
    13   CPU 0: Thread Heir 0x0a010001 priority=5
    14   CPU 0: Thread Executing 0x0a010001 priority=5
     13  CPU 0: Thread Heir: 0x0a010001 priority=5
     14  CPU 0: Thread Executing: 0x0a010001 priority=5
    1515==> 6: cpus
    1616=== CPU Status
     
    2121==> 8: task_suspend SELF
    2222Suspending task (0x0a010001)
    23   CPU 0: Thread Heir 0x09010001 priority=255
    24   CPU 0: Thread Executing 0x09010001 priority=255
     23  CPU 0: Thread Heir: 0x09010001 priority=255
     24  CPU 0: Thread Executing: 0x09010001 priority=255
    2525==> 9: cpus
    2626=== CPU Status
  • schedsim/shell/schedsim_smpsimple/scenarios/cpus4_pick_older.expected

    r246b81f r968d2b2  
    55==> 3: #
    66==> 4: rtems_init 4
    7   CPU 0: Thread Heir 0x09010001 priority=255
    8   CPU 0: Thread Executing 0x09010001 priority=255
    9   CPU 1: Thread Heir 0x09010002 priority=255
    10   CPU 1: Thread Executing 0x09010002 priority=255
    11   CPU 2: Thread Heir 0x09010003 priority=255
    12   CPU 2: Thread Executing 0x09010003 priority=255
    13   CPU 3: Thread Heir 0x09010004 priority=255
    14   CPU 3: Thread Executing 0x09010004 priority=255
     7  CPU 0: Thread Heir: 0x09010001 priority=255
     8  CPU 0: Thread Executing: 0x09010001 priority=255
     9  CPU 1: Thread Heir: 0x09010002 priority=255
     10  CPU 1: Thread Executing: 0x09010002 priority=255
     11  CPU 2: Thread Heir: 0x09010003 priority=255
     12  CPU 2: Thread Executing: 0x09010003 priority=255
     13  CPU 3: Thread Heir: 0x09010004 priority=255
     14  CPU 3: Thread Executing: 0x09010004 priority=255
    1515==> 5: task_create smp1 3
    1616Creating task with:  Preemption: yes Timeslicing: no
    1717Task (smp1) created: id=0x0a010001, priority=3
    1818Task (smp1) starting: id=0x0a010001, priority=3
    19   CPU 3: Thread Heir 0x0a010001 priority=3
    20   CPU 3: Thread Executing 0x0a010001 priority=3
     19  CPU 3: Thread Heir: 0x0a010001 priority=3
     20  CPU 3: Thread Executing: 0x0a010001 priority=3
    2121==> 6: task_create smp2 6
    2222Creating task with:  Preemption: yes Timeslicing: no
    2323Task (smp2) created: id=0x0a010002, priority=6
    2424Task (smp2) starting: id=0x0a010002, priority=6
    25   CPU 2: Thread Heir 0x0a010002 priority=6
    26   CPU 2: Thread Executing 0x0a010002 priority=6
     25  CPU 2: Thread Heir: 0x0a010002 priority=6
     26  CPU 2: Thread Executing: 0x0a010002 priority=6
    2727==> 7: task_create smp3 7
    2828Creating task with:  Preemption: yes Timeslicing: no
    2929Task (smp3) created: id=0x0a010003, priority=7
    3030Task (smp3) starting: id=0x0a010003, priority=7
    31   CPU 1: Thread Heir 0x0a010003 priority=7
    32   CPU 1: Thread Executing 0x0a010003 priority=7
     31  CPU 1: Thread Heir: 0x0a010003 priority=7
     32  CPU 1: Thread Executing: 0x0a010003 priority=7
    3333==> 8: task_create smp4 8
    3434Creating task with:  Preemption: yes Timeslicing: no
    3535Task (smp4) created: id=0x0a010004, priority=8
    3636Task (smp4) starting: id=0x0a010004, priority=8
    37   CPU 0: Thread Heir 0x0a010004 priority=8
    38   CPU 0: Thread Executing 0x0a010004 priority=8
     37  CPU 0: Thread Heir: 0x0a010004 priority=8
     38  CPU 0: Thread Executing: 0x0a010004 priority=8
    3939==> 9: # GOAL: Tasks 0x0a010001 - 0x0a010004 as heir and executing
    4040==> 10: # GOAL:    on CPUs 3 - 0 respectively
     
    5252Task (smp5) created: id=0x0a010005, priority=5
    5353Task (smp5) starting: id=0x0a010005, priority=5
    54   CPU 0: Thread Heir 0x0a010005 priority=5
    55   CPU 0: Thread Executing 0x0a010005 priority=5
     54  CPU 0: Thread Heir: 0x0a010005 priority=5
     55  CPU 0: Thread Executing: 0x0a010005 priority=5
    5656==> 14: clock_tick 1
    5757ClockTick (1) ...
     
    7171Task (smp6) created: id=0x0a010006, priority=5
    7272Task (smp6) starting: id=0x0a010006, priority=5
    73   CPU 1: Thread Heir 0x0a010006 priority=5
    74   CPU 1: Thread Executing 0x0a010006 priority=5
     73  CPU 1: Thread Heir: 0x0a010006 priority=5
     74  CPU 1: Thread Executing: 0x0a010006 priority=5
    7575==> 20: clock_tick 1
    7676ClockTick (1) ...
     
    9090Task (smp7) created: id=0x0a010007, priority=5
    9191Task (smp7) starting: id=0x0a010007, priority=5
    92   CPU 2: Thread Heir 0x0a010007 priority=5
    93   CPU 2: Thread Executing 0x0a010007 priority=5
     92  CPU 2: Thread Heir: 0x0a010007 priority=5
     93  CPU 2: Thread Executing: 0x0a010007 priority=5
    9494==> 26: clock_tick 1
    9595ClockTick (1) ...
     
    110110Task (smp8) created: id=0x0a010008, priority=4
    111111Task (smp8) starting: id=0x0a010008, priority=4
    112   CPU 2: Thread Heir 0x0a010008 priority=4
    113   CPU 2: Thread Executing 0x0a010008 priority=4
     112  CPU 2: Thread Heir: 0x0a010008 priority=4
     113  CPU 2: Thread Executing: 0x0a010008 priority=4
    114114==> 33: # GOAL: Tasks 0x0a010001, 0x0a010007, 0x0a010006, and 0x0a010008 are
    115115==> 34: # GOAL:    heir and executing on CPUs 3 - 0 respectively
  • schedsim/shell/schedsim_smpsimple/scenarios/cpus4_priority.expected

    r246b81f r968d2b2  
    55==> 3: #
    66==> 4: rtems_init 4
    7   CPU 0: Thread Heir 0x09010001 priority=255
    8   CPU 0: Thread Executing 0x09010001 priority=255
    9   CPU 1: Thread Heir 0x09010002 priority=255
    10   CPU 1: Thread Executing 0x09010002 priority=255
    11   CPU 2: Thread Heir 0x09010003 priority=255
    12   CPU 2: Thread Executing 0x09010003 priority=255
    13   CPU 3: Thread Heir 0x09010004 priority=255
    14   CPU 3: Thread Executing 0x09010004 priority=255
     7  CPU 0: Thread Heir: 0x09010001 priority=255
     8  CPU 0: Thread Executing: 0x09010001 priority=255
     9  CPU 1: Thread Heir: 0x09010002 priority=255
     10  CPU 1: Thread Executing: 0x09010002 priority=255
     11  CPU 2: Thread Heir: 0x09010003 priority=255
     12  CPU 2: Thread Executing: 0x09010003 priority=255
     13  CPU 3: Thread Heir: 0x09010004 priority=255
     14  CPU 3: Thread Executing: 0x09010004 priority=255
    1515==> 5: task_create smp1 5
    1616Creating task with:  Preemption: yes Timeslicing: no
    1717Task (smp1) created: id=0x0a010001, priority=5
    1818Task (smp1) starting: id=0x0a010001, priority=5
    19   CPU 3: Thread Heir 0x0a010001 priority=5
    20   CPU 3: Thread Executing 0x0a010001 priority=5
     19  CPU 3: Thread Heir: 0x0a010001 priority=5
     20  CPU 3: Thread Executing: 0x0a010001 priority=5
    2121==> 6: task_create smp2 8
    2222Creating task with:  Preemption: yes Timeslicing: no
    2323Task (smp2) created: id=0x0a010002, priority=8
    2424Task (smp2) starting: id=0x0a010002, priority=8
    25   CPU 2: Thread Heir 0x0a010002 priority=8
    26   CPU 2: Thread Executing 0x0a010002 priority=8
     25  CPU 2: Thread Heir: 0x0a010002 priority=8
     26  CPU 2: Thread Executing: 0x0a010002 priority=8
    2727==> 7: task_create smp3 8
    2828Creating task with:  Preemption: yes Timeslicing: no
    2929Task (smp3) created: id=0x0a010003, priority=8
    3030Task (smp3) starting: id=0x0a010003, priority=8
    31   CPU 1: Thread Heir 0x0a010003 priority=8
    32   CPU 1: Thread Executing 0x0a010003 priority=8
     31  CPU 1: Thread Heir: 0x0a010003 priority=8
     32  CPU 1: Thread Executing: 0x0a010003 priority=8
    3333==> 8: task_create smp4 8
    3434Creating task with:  Preemption: yes Timeslicing: no
    3535Task (smp4) created: id=0x0a010004, priority=8
    3636Task (smp4) starting: id=0x0a010004, priority=8
    37   CPU 0: Thread Heir 0x0a010004 priority=8
    38   CPU 0: Thread Executing 0x0a010004 priority=8
     37  CPU 0: Thread Heir: 0x0a010004 priority=8
     38  CPU 0: Thread Executing: 0x0a010004 priority=8
    3939==> 9: task_create smp5 8
    4040Creating task with:  Preemption: yes Timeslicing: no
     
    7979==> 23:
    8080==> 24: task_priority smp1 8
    81   CPU 3: Thread Heir 0x0a010005 priority=8
    82   CPU 3: Thread Executing 0x0a010005 priority=8
     81  CPU 3: Thread Heir: 0x0a010005 priority=8
     82  CPU 3: Thread Executing: 0x0a010005 priority=8
    8383Task (0x0a010001) Change Priority from 7 to 8
    8484==> 25: # GOAL: 0x0a010005, 0x0a010002 - 0x0a010004 are heir and executing
     
    9494==> 28:
    9595==> 29: task_priority smp1 5
    96   CPU 3: Thread Heir 0x0a010001 priority=5
    97   CPU 3: Thread Executing 0x0a010001 priority=5
     96  CPU 3: Thread Heir: 0x0a010001 priority=5
     97  CPU 3: Thread Executing: 0x0a010001 priority=5
    9898Task (0x0a010001) Change Priority from 8 to 5
    9999==> 30: # GOAL: 0x0a010001 - 0x0a010004 are heir and executing
  • schedsim/shell/schedsim_smpsimple/scenarios/cpus4_simple_preemption.expected

    r246b81f r968d2b2  
    55==> 3: #
    66==> 4: rtems_init 4
    7   CPU 0: Thread Heir 0x09010001 priority=255
    8   CPU 0: Thread Executing 0x09010001 priority=255
    9   CPU 1: Thread Heir 0x09010002 priority=255
    10   CPU 1: Thread Executing 0x09010002 priority=255
    11   CPU 2: Thread Heir 0x09010003 priority=255
    12   CPU 2: Thread Executing 0x09010003 priority=255
    13   CPU 3: Thread Heir 0x09010004 priority=255
    14   CPU 3: Thread Executing 0x09010004 priority=255
     7  CPU 0: Thread Heir: 0x09010001 priority=255
     8  CPU 0: Thread Executing: 0x09010001 priority=255
     9  CPU 1: Thread Heir: 0x09010002 priority=255
     10  CPU 1: Thread Executing: 0x09010002 priority=255
     11  CPU 2: Thread Heir: 0x09010003 priority=255
     12  CPU 2: Thread Executing: 0x09010003 priority=255
     13  CPU 3: Thread Heir: 0x09010004 priority=255
     14  CPU 3: Thread Executing: 0x09010004 priority=255
    1515==> 5: task_create smp1 7
    1616Creating task with:  Preemption: yes Timeslicing: no
    1717Task (smp1) created: id=0x0a010001, priority=7
    1818Task (smp1) starting: id=0x0a010001, priority=7
    19   CPU 3: Thread Heir 0x0a010001 priority=7
    20   CPU 3: Thread Executing 0x0a010001 priority=7
     19  CPU 3: Thread Heir: 0x0a010001 priority=7
     20  CPU 3: Thread Executing: 0x0a010001 priority=7
    2121==> 6: task_create smp2 8
    2222Creating task with:  Preemption: yes Timeslicing: no
    2323Task (smp2) created: id=0x0a010002, priority=8
    2424Task (smp2) starting: id=0x0a010002, priority=8
    25   CPU 2: Thread Heir 0x0a010002 priority=8
    26   CPU 2: Thread Executing 0x0a010002 priority=8
     25  CPU 2: Thread Heir: 0x0a010002 priority=8
     26  CPU 2: Thread Executing: 0x0a010002 priority=8
    2727==> 7: task_create smp3 5
    2828Creating task with:  Preemption: yes Timeslicing: no
    2929Task (smp3) created: id=0x0a010003, priority=5
    3030Task (smp3) starting: id=0x0a010003, priority=5
    31   CPU 1: Thread Heir 0x0a010003 priority=5
    32   CPU 1: Thread Executing 0x0a010003 priority=5
     31  CPU 1: Thread Heir: 0x0a010003 priority=5
     32  CPU 1: Thread Executing: 0x0a010003 priority=5
    3333==> 8: task_create smp4 6
    3434Creating task with:  Preemption: yes Timeslicing: no
    3535Task (smp4) created: id=0x0a010004, priority=6
    3636Task (smp4) starting: id=0x0a010004, priority=6
    37   CPU 0: Thread Heir 0x0a010004 priority=6
    38   CPU 0: Thread Executing 0x0a010004 priority=6
     37  CPU 0: Thread Heir: 0x0a010004 priority=6
     38  CPU 0: Thread Executing: 0x0a010004 priority=6
    3939==> 9: # GOAL: want 0x0a010001 - 0x0a010004 as heir and executings
    4040==> 10: # GOAL:   on CPUs 3-0 respectively
     
    5252Task (smp5) created: id=0x0a010005, priority=1
    5353Task (smp5) starting: id=0x0a010005, priority=1
    54   CPU 2: Thread Heir 0x0a010005 priority=1
    55   CPU 2: Thread Executing 0x0a010005 priority=1
     54  CPU 2: Thread Heir: 0x0a010005 priority=1
     55  CPU 2: Thread Executing: 0x0a010005 priority=1
    5656==> 14: # GOAL: want 0x0a010005 to be heir on CPU 2
    5757==> 15: cpus
  • schedsim/shell/schedsim_smpsimple/scenarios/cpus4_suspend_on_all.expected

    r246b81f r968d2b2  
    55==> 3: #
    66==> 4: rtems_init 4
    7   CPU 0: Thread Heir 0x09010001 priority=255
    8   CPU 0: Thread Executing 0x09010001 priority=255
    9   CPU 1: Thread Heir 0x09010002 priority=255
    10   CPU 1: Thread Executing 0x09010002 priority=255
    11   CPU 2: Thread Heir 0x09010003 priority=255
    12   CPU 2: Thread Executing 0x09010003 priority=255
    13   CPU 3: Thread Heir 0x09010004 priority=255
    14   CPU 3: Thread Executing 0x09010004 priority=255
     7  CPU 0: Thread Heir: 0x09010001 priority=255
     8  CPU 0: Thread Executing: 0x09010001 priority=255
     9  CPU 1: Thread Heir: 0x09010002 priority=255
     10  CPU 1: Thread Executing: 0x09010002 priority=255
     11  CPU 2: Thread Heir: 0x09010003 priority=255
     12  CPU 2: Thread Executing: 0x09010003 priority=255
     13  CPU 3: Thread Heir: 0x09010004 priority=255
     14  CPU 3: Thread Executing: 0x09010004 priority=255
    1515==> 5: task_create smp1 5
    1616Creating task with:  Preemption: yes Timeslicing: no
    1717Task (smp1) created: id=0x0a010001, priority=5
    1818Task (smp1) starting: id=0x0a010001, priority=5
    19   CPU 3: Thread Heir 0x0a010001 priority=5
    20   CPU 3: Thread Executing 0x0a010001 priority=5
     19  CPU 3: Thread Heir: 0x0a010001 priority=5
     20  CPU 3: Thread Executing: 0x0a010001 priority=5
    2121==> 6: task_create smp2 6
    2222Creating task with:  Preemption: yes Timeslicing: no
    2323Task (smp2) created: id=0x0a010002, priority=6
    2424Task (smp2) starting: id=0x0a010002, priority=6
    25   CPU 2: Thread Heir 0x0a010002 priority=6
    26   CPU 2: Thread Executing 0x0a010002 priority=6
     25  CPU 2: Thread Heir: 0x0a010002 priority=6
     26  CPU 2: Thread Executing: 0x0a010002 priority=6
    2727==> 7: task_create smp3 7
    2828Creating task with:  Preemption: yes Timeslicing: no
    2929Task (smp3) created: id=0x0a010003, priority=7
    3030Task (smp3) starting: id=0x0a010003, priority=7
    31   CPU 1: Thread Heir 0x0a010003 priority=7
    32   CPU 1: Thread Executing 0x0a010003 priority=7
     31  CPU 1: Thread Heir: 0x0a010003 priority=7
     32  CPU 1: Thread Executing: 0x0a010003 priority=7
    3333==> 8: task_create smp4 8
    3434Creating task with:  Preemption: yes Timeslicing: no
    3535Task (smp4) created: id=0x0a010004, priority=8
    3636Task (smp4) starting: id=0x0a010004, priority=8
    37   CPU 0: Thread Heir 0x0a010004 priority=8
    38   CPU 0: Thread Executing 0x0a010004 priority=8
     37  CPU 0: Thread Heir: 0x0a010004 priority=8
     38  CPU 0: Thread Executing: 0x0a010004 priority=8
    3939==> 9: # GOAL: want 0x0a010001 - 0x0a010004 as heir and executings
    4040==> 10: # GOAL:   on CPUs 0 - 3 respectively
     
    4949==> 12: task_suspend smp1
    5050Suspending task (0x0a010001)
    51   CPU 3: Thread Heir 0x09010001 priority=255
    52   CPU 3: Thread Executing 0x09010001 priority=255
     51  CPU 3: Thread Heir: 0x09010001 priority=255
     52  CPU 3: Thread Executing: 0x09010001 priority=255
    5353==> 13: task_suspend smp2
    5454Suspending task (0x0a010002)
    55   CPU 2: Thread Heir 0x09010002 priority=255
    56   CPU 2: Thread Executing 0x09010002 priority=255
     55  CPU 2: Thread Heir: 0x09010002 priority=255
     56  CPU 2: Thread Executing: 0x09010002 priority=255
    5757==> 14: task_suspend smp3
    5858Suspending task (0x0a010003)
    59   CPU 1: Thread Heir 0x09010003 priority=255
    60   CPU 1: Thread Executing 0x09010003 priority=255
     59  CPU 1: Thread Heir: 0x09010003 priority=255
     60  CPU 1: Thread Executing: 0x09010003 priority=255
    6161==> 15: task_suspend smp4
    6262Suspending task (0x0a010004)
    63   CPU 0: Thread Heir 0x09010004 priority=255
    64   CPU 0: Thread Executing 0x09010004 priority=255
     63  CPU 0: Thread Heir: 0x09010004 priority=255
     64  CPU 0: Thread Executing: 0x09010004 priority=255
    6565==> 16: # GOAL: want IDLE 0x09010001 - 0x09010004 as heir and executings
    6666==> 17: # GOAL:   on CPUs 0 - 3 respectively
  • schedsim/shell/schedsim_smpsimple/scenarios/cpus4_suspend_on_primary.expected

    r246b81f r968d2b2  
    55==> 3: #
    66==> 4: rtems_init 4
    7   CPU 0: Thread Heir 0x09010001 priority=255
    8   CPU 0: Thread Executing 0x09010001 priority=255
    9   CPU 1: Thread Heir 0x09010002 priority=255
    10   CPU 1: Thread Executing 0x09010002 priority=255
    11   CPU 2: Thread Heir 0x09010003 priority=255
    12   CPU 2: Thread Executing 0x09010003 priority=255
    13   CPU 3: Thread Heir 0x09010004 priority=255
    14   CPU 3: Thread Executing 0x09010004 priority=255
     7  CPU 0: Thread Heir: 0x09010001 priority=255
     8  CPU 0: Thread Executing: 0x09010001 priority=255
     9  CPU 1: Thread Heir: 0x09010002 priority=255
     10  CPU 1: Thread Executing: 0x09010002 priority=255
     11  CPU 2: Thread Heir: 0x09010003 priority=255
     12  CPU 2: Thread Executing: 0x09010003 priority=255
     13  CPU 3: Thread Heir: 0x09010004 priority=255
     14  CPU 3: Thread Executing: 0x09010004 priority=255
    1515==> 5: task_create smp1 8
    1616Creating task with:  Preemption: yes Timeslicing: no
    1717Task (smp1) created: id=0x0a010001, priority=8
    1818Task (smp1) starting: id=0x0a010001, priority=8
    19   CPU 3: Thread Heir 0x0a010001 priority=8
    20   CPU 3: Thread Executing 0x0a010001 priority=8
     19  CPU 3: Thread Heir: 0x0a010001 priority=8
     20  CPU 3: Thread Executing: 0x0a010001 priority=8
    2121==> 6: task_create smp2 7
    2222Creating task with:  Preemption: yes Timeslicing: no
    2323Task (smp2) created: id=0x0a010002, priority=7
    2424Task (smp2) starting: id=0x0a010002, priority=7
    25   CPU 2: Thread Heir 0x0a010002 priority=7
    26   CPU 2: Thread Executing 0x0a010002 priority=7
     25  CPU 2: Thread Heir: 0x0a010002 priority=7
     26  CPU 2: Thread Executing: 0x0a010002 priority=7
    2727==> 7: task_create smp3 6
    2828Creating task with:  Preemption: yes Timeslicing: no
    2929Task (smp3) created: id=0x0a010003, priority=6
    3030Task (smp3) starting: id=0x0a010003, priority=6
    31   CPU 1: Thread Heir 0x0a010003 priority=6
    32   CPU 1: Thread Executing 0x0a010003 priority=6
     31  CPU 1: Thread Heir: 0x0a010003 priority=6
     32  CPU 1: Thread Executing: 0x0a010003 priority=6
    3333==> 8: task_create smp4 5
    3434Creating task with:  Preemption: yes Timeslicing: no
    3535Task (smp4) created: id=0x0a010004, priority=5
    3636Task (smp4) starting: id=0x0a010004, priority=5
    37   CPU 0: Thread Heir 0x0a010004 priority=5
    38   CPU 0: Thread Executing 0x0a010004 priority=5
     37  CPU 0: Thread Heir: 0x0a010004 priority=5
     38  CPU 0: Thread Executing: 0x0a010004 priority=5
    3939==> 9: # GOAL: want 0x0a010001 - 0x0a010004 as heir and executings
    4040==> 10: # GOAL:   on CPUs 3-0 respectively
     
    4949==> 12: task_suspend SELF
    5050Suspending task (0x0a010004)
    51   CPU 0: Thread Heir 0x09010001 priority=255
    52   CPU 0: Thread Executing 0x09010001 priority=255
     51  CPU 0: Thread Heir: 0x09010001 priority=255
     52  CPU 0: Thread Executing: 0x09010001 priority=255
    5353==> 13: # GOAL: want 0x09010001 as heir and executing on CPU 0
    5454==> 14: cpus
  • schedsim/shell/schedsim_smpsimple/scenarios/cpus4_suspend_on_secondary.expected

    r246b81f r968d2b2  
    55==> 3: #
    66==> 4: rtems_init 4
    7   CPU 0: Thread Heir 0x09010001 priority=255
    8   CPU 0: Thread Executing 0x09010001 priority=255
    9   CPU 1: Thread Heir 0x09010002 priority=255
    10   CPU 1: Thread Executing 0x09010002 priority=255
    11   CPU 2: Thread Heir 0x09010003 priority=255
    12   CPU 2: Thread Executing 0x09010003 priority=255
    13   CPU 3: Thread Heir 0x09010004 priority=255
    14   CPU 3: Thread Executing 0x09010004 priority=255
     7  CPU 0: Thread Heir: 0x09010001 priority=255
     8  CPU 0: Thread Executing: 0x09010001 priority=255
     9  CPU 1: Thread Heir: 0x09010002 priority=255
     10  CPU 1: Thread Executing: 0x09010002 priority=255
     11  CPU 2: Thread Heir: 0x09010003 priority=255
     12  CPU 2: Thread Executing: 0x09010003 priority=255
     13  CPU 3: Thread Heir: 0x09010004 priority=255
     14  CPU 3: Thread Executing: 0x09010004 priority=255
    1515==> 5: task_create smp1 8
    1616Creating task with:  Preemption: yes Timeslicing: no
    1717Task (smp1) created: id=0x0a010001, priority=8
    1818Task (smp1) starting: id=0x0a010001, priority=8
    19   CPU 3: Thread Heir 0x0a010001 priority=8
    20   CPU 3: Thread Executing 0x0a010001 priority=8
     19  CPU 3: Thread Heir: 0x0a010001 priority=8
     20  CPU 3: Thread Executing: 0x0a010001 priority=8
    2121==> 6: task_create smp2 7
    2222Creating task with:  Preemption: yes Timeslicing: no
    2323Task (smp2) created: id=0x0a010002, priority=7
    2424Task (smp2) starting: id=0x0a010002, priority=7
    25   CPU 2: Thread Heir 0x0a010002 priority=7
    26   CPU 2: Thread Executing 0x0a010002 priority=7
     25  CPU 2: Thread Heir: 0x0a010002 priority=7
     26  CPU 2: Thread Executing: 0x0a010002 priority=7
    2727==> 7: task_create smp3 6
    2828Creating task with:  Preemption: yes Timeslicing: no
    2929Task (smp3) created: id=0x0a010003, priority=6
    3030Task (smp3) starting: id=0x0a010003, priority=6
    31   CPU 1: Thread Heir 0x0a010003 priority=6
    32   CPU 1: Thread Executing 0x0a010003 priority=6
     31  CPU 1: Thread Heir: 0x0a010003 priority=6
     32  CPU 1: Thread Executing: 0x0a010003 priority=6
    3333==> 8: task_create smp4 5
    3434Creating task with:  Preemption: yes Timeslicing: no
    3535Task (smp4) created: id=0x0a010004, priority=5
    3636Task (smp4) starting: id=0x0a010004, priority=5
    37   CPU 0: Thread Heir 0x0a010004 priority=5
    38   CPU 0: Thread Executing 0x0a010004 priority=5
     37  CPU 0: Thread Heir: 0x0a010004 priority=5
     38  CPU 0: Thread Executing: 0x0a010004 priority=5
    3939==> 9: # GOAL: want 0x0a010001 - 0x0a010004 as heir and executings
    4040==> 10: # GOAL:   on CPUs 3-0 respectively
     
    5151==> 13: task_suspend SELF
    5252Suspending task (0x0a010002)
    53   CPU 2: Thread Heir 0x09010001 priority=255
    54   CPU 2: Thread Executing 0x09010001 priority=255
     53  CPU 2: Thread Heir: 0x09010001 priority=255
     54  CPU 2: Thread Executing: 0x09010001 priority=255
    5555==> 14: # GOAL: Want IDLE 0x09010001 as heir and executing on CPU 2
    5656==> 15: cpus
  • schedsim/shell/shared/Makefile.am

    r246b81f r968d2b2  
    4949libschedsim_a_SOURCES += main_tasksuspend.c
    5050libschedsim_a_SOURCES += main_taskwakeafter.c
     51libschedsim_a_SOURCES += printheir_executing.c
    5152libschedsim_a_SOURCES += schedsim_disable_dispatch.c
    5253libschedsim_a_SOURCES += shell_cmdset.c
  • schedsim/shell/shared/printheir_executing.c

    r246b81f r968d2b2  
     1/**
     2 * @file
     3 * @brief print heir and executing support
     4 */
     5
    16/*
    2  *  printheir_executing
    3  *
    47 *  COPYRIGHT (c) 1989-2013.
    58 *  On-Line Applications Research Corporation (OAR).
     
    1316#include <rtems.h>
    1417
    15 extern uint32_t Schedsim_Current_cpu;
     18#if RTEMS_SMP
     19  extern uint32_t Schedsim_Current_cpu;
     20  #define MY_CPU Schedsim_Current_cpu
     21#else
     22  #define MY_CPU 0
     23#endif
    1624
    1725void PRINT_EXECUTING() {
    1826  printf(
    19     "  CPU %d: Thread Executing 0x%08x priority=%ld\n",
    20      Schedsim_Current_cpu,
     27    "  CPU %d: Thread Executing: 0x%08x priority=%ld\n",
     28    MY_CPU,
    2129    _Thread_Executing->Object.id,
    2230    (long) _Thread_Executing->current_priority
     
    2634void PRINT_HEIR() {
    2735  printf(
    28     "  CPU %d: Thread Heir 0x%08x priority=%ld\n",
    29     Schedsim_Current_cpu,
     36    "  CPU %d: Thread Heir: 0x%08x priority=%ld\n",
     37    MY_CPU,
    3038    _Thread_Heir->Object.id,
    3139    (long) _Thread_Heir->current_priority
Note: See TracChangeset for help on using the changeset viewer.