Changeset 42888e1 in rtems-schedsim


Ignore:
Timestamp:
Jun 3, 2014, 12:25:24 PM (5 years ago)
Author:
Jennifer Averett <jennifer.averett@…>
Branches:
master
Children:
c8d1dbb
Parents:
4be3859
Message:

schedsim_smpsimple: Add task verification per core to scenario.

Location:
schedsim/shell/schedsim_smpsimple/scenarios
Files:
18 edited

Legend:

Unmodified
Added
Removed
  • schedsim/shell/schedsim_smpsimple/scenarios/cpus1_priority.expected

    r4be3859 r42888e1  
    1919==> 7: dispatch
    2020==> 8: # GOAL: 0x0a010001 is heir and executing on CPU 0
    21 ==> 9: cpus
     21==> 9: cpus smp1
    2222=== CPU Status
    2323          EXECUTING      /   HEIR             / SWITCH NEEDED
     
    2828Task (0x0a010001) Change Priority from 5 to 4
    2929==> 12: # GOAL: 0x0a010001 is still heir and executing on CPU 0
    30 ==> 13: cpus
     30==> 13: cpus smp1
    3131=== CPU Status
    3232          EXECUTING      /   HEIR             / SWITCH NEEDED
     
    3737Task (0x0a010001) Change Priority from 4 to 7
    3838==> 16: # GOAL: 0x0a010001 is still heir and executing on CPU 0
    39 ==> 17: cpus
     39==> 17: cpus smp1
    4040=== CPU Status
    4141          EXECUTING      /   HEIR             / SWITCH NEEDED
     
    4848Task (0x0a010001) Change Priority from 7 to 8
    4949==> 20: # GOAL: 0x0a010002 is now heir and executing on CPU 0
    50 ==> 21: cpus
     50==> 21: cpus smp2
    5151=== CPU Status
    5252          EXECUTING      /   HEIR             / SWITCH NEEDED
     
    5959Task (0x0a010001) Change Priority from 8 to 5
    6060==> 24: # GOAL: 0x0a010001 is now heir and executing on CPU 0
    61 ==> 25: cpus
     61==> 25: cpus smp1
    6262=== CPU Status
    6363          EXECUTING      /   HEIR             / SWITCH NEEDED
  • schedsim/shell/schedsim_smpsimple/scenarios/cpus1_priority.scen

    r4be3859 r42888e1  
    77dispatch
    88# GOAL: 0x0a010001 is heir and executing on CPU 0
    9 cpus
     9cpus smp1
    1010
    1111task_priority smp1 4
    1212# GOAL: 0x0a010001 is still heir and executing on CPU 0
    13 cpus
     13cpus smp1
    1414
    1515task_priority smp1 7
    1616# GOAL: 0x0a010001 is still heir and executing on CPU 0
    17 cpus
     17cpus smp1
    1818
    1919task_priority smp1 8
    2020# GOAL: 0x0a010002 is now heir and executing on CPU 0
    21 cpus
     21cpus smp2
    2222
    2323task_priority smp1 5
    2424# GOAL: 0x0a010001 is now heir and executing on CPU 0
    25 cpus
     25cpus smp1
  • schedsim/shell/schedsim_smpsimple/scenarios/cpus1_resume_on_primary.expected

    r4be3859 r42888e1  
    1414  CPU 0: Thread Executing: 0x0a010001 priority=5
    1515==> 6: # GOAL: 0x0a010001 is heir and executing on CPU 0
    16 ==> 7: cpus
     16==> 7: cpus smp1
    1717=== CPU Status
    1818          EXECUTING      /   HEIR             / SWITCH NEEDED
     
    2525  CPU 0: Thread Executing: 0x09010001 priority=255
    2626==> 10: # GOAL: 0x09010001 is heir and executing on CPU 0
    27 ==> 11: cpus
     27==> 11: cpus IDLE
    2828=== CPU Status
    2929          EXECUTING      /   HEIR             / SWITCH NEEDED
     
    3131=== End of Ready Set of Threads
    3232==> 12: # GOAL: 0x09010001 is heir and executing on CPU 0
    33 ==> 13: cpus
     33==> 13: cpus IDLE
    3434=== CPU Status
    3535          EXECUTING      /   HEIR             / SWITCH NEEDED
     
    4242  CPU 0: Thread Executing: 0x0a010001 priority=5
    4343==> 16: # GOAL: 0x0a010001 is heir and executing on CPU 0
    44 ==> 17: cpus
     44==> 17: cpus smp1
    4545=== CPU Status
    4646          EXECUTING      /   HEIR             / SWITCH NEEDED
     
    4848=== End of Ready Set of Threads
    4949==> 18: # GOAL: 0x0a010001 is heir and executing on CPU 0
    50 ==> 19: cpus
     50==> 19: cpus smp1
    5151=== CPU Status
    5252          EXECUTING      /   HEIR             / SWITCH NEEDED
  • schedsim/shell/schedsim_smpsimple/scenarios/cpus1_resume_on_primary.scen

    r4be3859 r42888e1  
    55task_create smp1 5
    66# GOAL: 0x0a010001 is heir and executing on CPU 0
    7 cpus
     7cpus smp1
    88# suspend running task
    99task_suspend smp1
    1010# GOAL: 0x09010001 is heir and executing on CPU 0
    11 cpus
     11cpus IDLE
    1212# GOAL: 0x09010001 is heir and executing on CPU 0
    13 cpus
     13cpus IDLE
    1414# resume suspended task
    1515task_resume smp1
    1616# GOAL: 0x0a010001 is heir and executing on CPU 0
    17 cpus
     17cpus smp1
    1818# GOAL: 0x0a010001 is heir and executing on CPU 0
    19 cpus
     19cpus smp1
  • schedsim/shell/schedsim_smpsimple/scenarios/cpus1_suspend_on_primary.expected

    r4be3859 r42888e1  
    1313  CPU 0: Thread Heir: 0x0a010001 priority=5
    1414  CPU 0: Thread Executing: 0x0a010001 priority=5
    15 ==> 6: cpus
     15==> 6: cpus smp1
    1616=== CPU Status
    1717          EXECUTING      /   HEIR             / SWITCH NEEDED
     
    2323  CPU 0: Thread Heir: 0x09010001 priority=255
    2424  CPU 0: Thread Executing: 0x09010001 priority=255
    25 ==> 9: cpus
     25==> 9: cpus IDLE
    2626=== CPU Status
    2727          EXECUTING      /   HEIR             / SWITCH NEEDED
     
    2929=== End of Ready Set of Threads
    3030==> 10: # GOAL: 0x09010001 is heir and executing on CPU 0
    31 ==> 11: cpus
     31==> 11: cpus IDLE
    3232=== CPU Status
    3333          EXECUTING      /   HEIR             / SWITCH NEEDED
  • schedsim/shell/schedsim_smpsimple/scenarios/cpus1_suspend_on_primary.scen

    r4be3859 r42888e1  
    44rtems_init 1
    55task_create smp1 5
    6 cpus
     6cpus smp1
    77# GOAL: 0x0a010001 is heir and executing on CPU 0
    88task_suspend SELF
    9 cpus
     9cpus IDLE
    1010# GOAL: 0x09010001 is heir and executing on CPU 0
    11 cpus
     11cpus IDLE
  • schedsim/shell/schedsim_smpsimple/scenarios/cpus4_pick_older.expected

    r4be3859 r42888e1  
    3939==> 9: # GOAL: Tasks 0x0a010001 - 0x0a010004 as heir and executing
    4040==> 10: # GOAL:    on CPUs 3 - 0 respectively
    41 ==> 11: cpus
     41==> 11: cpus smp4 smp3 smp2 smp1
    4242=== CPU Status
    4343          EXECUTING      /   HEIR             / SWITCH NEEDED
     
    5858==> 15: # GOAL: Tasks 0x0a010001, 0x0a010002, 0x0a010003, and 0x0a010005 are
    5959==> 16: # GOAL:    heir and executing on CPUs 3 - 0 respectively
    60 ==> 17: cpus
     60==> 17: cpus smp5 smp3 smp2 smp1
    6161=== CPU Status
    6262          EXECUTING      /   HEIR             / SWITCH NEEDED
     
    7777==> 21: # GOAL: Tasks 0x0a010001, 0x0a010002, 0x0a010006, and 0x0a010005 are
    7878==> 22: # GOAL:    heir and executing on CPUs 3 - 0 respectively
    79 ==> 23: cpus
     79==> 23: cpus smp5 smp6 smp2 smp1
    8080=== CPU Status
    8181          EXECUTING      /   HEIR             / SWITCH NEEDED
     
    9696==> 27: # GOAL: Tasks 0x0a010001, 0x0a010007, 0x0a010006, and 0x0a010005 are
    9797==> 28: # GOAL:    heir and executing on CPUs 3 - 0 respectively
    98 ==> 29: cpus
     98==> 29: cpus smp5 smp6 smp7 smp1
    9999=== CPU Status
    100100          EXECUTING      /   HEIR             / SWITCH NEEDED
     
    112112  CPU 2: Thread Heir: 0x0a010008 priority=4
    113113  CPU 2: Thread Executing: 0x0a010008 priority=4
    114 ==> 33: # GOAL: Tasks 0x0a010001, 0x0a010007, 0x0a010006, and 0x0a010008 are
     114==> 33: # GOAL: Tasks 0x0a010001, 0x0a010008, 0x0a010006, and 0x0a010005 are
    115115==> 34: # GOAL:    heir and executing on CPUs 3 - 0 respectively
    116 ==> 35: cpus
     116==> 35: cpus smp5 smp6 smp8 smp1
    117117=== CPU Status
    118118          EXECUTING      /   HEIR             / SWITCH NEEDED
  • schedsim/shell/schedsim_smpsimple/scenarios/cpus4_pick_older.scen

    r4be3859 r42888e1  
    99# GOAL: Tasks 0x0a010001 - 0x0a010004 as heir and executing
    1010# GOAL:    on CPUs 3 - 0 respectively
    11 cpus
     11cpus smp4 smp3 smp2 smp1
    1212
    1313task_create smp5 5
     
    1515# GOAL: Tasks 0x0a010001, 0x0a010002, 0x0a010003, and 0x0a010005 are
    1616# GOAL:    heir and executing on CPUs 3 - 0 respectively
    17 cpus
     17cpus smp5 smp3 smp2 smp1
    1818
    1919task_create smp6 5
     
    2121# GOAL: Tasks 0x0a010001, 0x0a010002, 0x0a010006, and 0x0a010005 are
    2222# GOAL:    heir and executing on CPUs 3 - 0 respectively
    23 cpus
     23cpus smp5 smp6 smp2 smp1
    2424
    2525task_create smp7 5
     
    2727# GOAL: Tasks 0x0a010001, 0x0a010007, 0x0a010006, and 0x0a010005 are
    2828# GOAL:    heir and executing on CPUs 3 - 0 respectively
    29 cpus
     29cpus smp5 smp6 smp7 smp1
    3030
    3131# We should pick task smp5 (0x0a010005) on CPU 0
    3232task_create smp8 4
    33 # GOAL: Tasks 0x0a010001, 0x0a010007, 0x0a010006, and 0x0a010008 are
     33# GOAL: Tasks 0x0a010001, 0x0a010008, 0x0a010006, and 0x0a010005 are
    3434# GOAL:    heir and executing on CPUs 3 - 0 respectively
    35 cpus
     35cpus smp5 smp6 smp8 smp1
  • schedsim/shell/schedsim_smpsimple/scenarios/cpus4_priority.expected

    r4be3859 r42888e1  
    4343==> 10: # GOAL: 0x0a010001 - 0x0a010004 are heir and executing
    4444==> 11: # GOAL:   on CPUs 3 - 0 respectively
    45 ==> 12: cpus
     45==> 12: cpus smp4 smp3 smp2 smp1
    4646=== CPU Status
    4747          EXECUTING      /   HEIR             / SWITCH NEEDED
     
    5656==> 15: # GOAL: 0x0a010001 - 0x0a010004 are heir and executing
    5757==> 16: # GOAL:   on CPUs 3 - 0 respectively (no change)
    58 ==> 17: cpus
     58==> 17: cpus smp4 smp3 smp2 smp1
    5959=== CPU Status
    6060          EXECUTING      /   HEIR             / SWITCH NEEDED
     
    6969==> 20: # GOAL: 0x0a010001 - 0x0a010004 are heir and executing
    7070==> 21: # GOAL:   on CPUs 3 - 0 respectively (no change)
    71 ==> 22: cpus
     71==> 22: cpus smp4 smp3 smp2 smp1
    7272=== CPU Status
    7373          EXECUTING      /   HEIR             / SWITCH NEEDED
     
    8484==> 25: # GOAL: 0x0a010005, 0x0a010002 - 0x0a010004 are heir and executing
    8585==> 26: # GOAL:   on CPUs 3 - 0 respectively
    86 ==> 27: cpus
     86==> 27: cpus smp4 smp3 smp2 smp5
    8787=== CPU Status
    8888          EXECUTING      /   HEIR             / SWITCH NEEDED
     
    9999==> 30: # GOAL: 0x0a010001 - 0x0a010004 are heir and executing
    100100==> 31: # GOAL:   on CPUs 3 - 0 respectively
    101 ==> 32: cpus
     101==> 32: cpus smp4 smp3 smp2 smp1
    102102=== CPU Status
    103103          EXECUTING      /   HEIR             / SWITCH NEEDED
  • schedsim/shell/schedsim_smpsimple/scenarios/cpus4_priority.scen

    r4be3859 r42888e1  
    1010# GOAL: 0x0a010001 - 0x0a010004 are heir and executing
    1111# GOAL:   on CPUs 3 - 0 respectively
    12 cpus
     12cpus smp4 smp3 smp2 smp1
    1313
    1414task_priority smp1 4
    1515# GOAL: 0x0a010001 - 0x0a010004 are heir and executing
    1616# GOAL:   on CPUs 3 - 0 respectively (no change)
    17 cpus
     17cpus smp4 smp3 smp2 smp1
    1818
    1919task_priority smp1 7
    2020# GOAL: 0x0a010001 - 0x0a010004 are heir and executing
    2121# GOAL:   on CPUs 3 - 0 respectively (no change)
    22 cpus
     22cpus smp4 smp3 smp2 smp1
    2323
    2424task_priority smp1 8
    2525# GOAL: 0x0a010005, 0x0a010002 - 0x0a010004 are heir and executing
    2626# GOAL:   on CPUs 3 - 0 respectively
    27 cpus
     27cpus smp4 smp3 smp2 smp5
    2828
    2929task_priority smp1 5
    3030# GOAL: 0x0a010001 - 0x0a010004 are heir and executing
    3131# GOAL:   on CPUs 3 - 0 respectively
    32 cpus
     32cpus smp4 smp3 smp2 smp1
  • schedsim/shell/schedsim_smpsimple/scenarios/cpus4_simple_preemption.expected

    r4be3859 r42888e1  
    3939==> 9: # GOAL: want 0x0a010001 - 0x0a010004 as heir and executings
    4040==> 10: # GOAL:   on CPUs 3-0 respectively
    41 ==> 11: cpus
     41==> 11: cpus smp4 smp3 smp2 smp1
    4242=== CPU Status
    4343          EXECUTING      /   HEIR             / SWITCH NEEDED
     
    5555  CPU 2: Thread Executing: 0x0a010005 priority=1
    5656==> 14: # GOAL: want 0x0a010005 to be heir on CPU 2
    57 ==> 15: cpus
     57==> 15: cpus smp4 smp3 smp5 smp1
    5858=== CPU Status
    5959          EXECUTING      /   HEIR             / SWITCH NEEDED
     
    6464=== End of Ready Set of Threads
    6565==> 16: # GOAL: want 0x0a010005 to be heir AND executing on CPU 2
    66 ==> 17: cpus
     66==> 17: cpus smp4 smp3 smp5 smp1
    6767=== CPU Status
    6868          EXECUTING      /   HEIR             / SWITCH NEEDED
  • schedsim/shell/schedsim_smpsimple/scenarios/cpus4_simple_preemption.scen

    r4be3859 r42888e1  
    99# GOAL: want 0x0a010001 - 0x0a010004 as heir and executings
    1010# GOAL:   on CPUs 3-0 respectively
    11 cpus
     11cpus smp4 smp3 smp2 smp1
    1212# Tasks are created and distributed across CPUs
    1313task_create smp5 1
    1414# GOAL: want 0x0a010005 to be heir on CPU 2
    15 cpus
     15cpus smp4 smp3 smp5 smp1
    1616# GOAL: want 0x0a010005 to be heir AND executing on CPU 2
    17 cpus
     17cpus smp4 smp3 smp5 smp1
  • schedsim/shell/schedsim_smpsimple/scenarios/cpus4_suspend_on_all.expected

    r4be3859 r42888e1  
    3939==> 9: # GOAL: want 0x0a010001 - 0x0a010004 as heir and executings
    4040==> 10: # GOAL:   on CPUs 0 - 3 respectively
    41 ==> 11: cpus
     41==> 11: cpus smp4 smp3 smp2 smp1
    4242=== CPU Status
    4343          EXECUTING      /   HEIR             / SWITCH NEEDED
     
    6565==> 16: # GOAL: want IDLE 0x09010001 - 0x09010004 as heir and executings
    6666==> 17: # GOAL:   on CPUs 0 - 3 respectively
    67 ==> 18: cpus
     67==> 18: cpus IDLE IDLE IDLE IDLE
    6868=== CPU Status
    6969          EXECUTING      /   HEIR             / SWITCH NEEDED
  • schedsim/shell/schedsim_smpsimple/scenarios/cpus4_suspend_on_all.scen

    r4be3859 r42888e1  
    99# GOAL: want 0x0a010001 - 0x0a010004 as heir and executings
    1010# GOAL:   on CPUs 0 - 3 respectively
    11 cpus
     11cpus smp4 smp3 smp2 smp1
    1212task_suspend smp1
    1313task_suspend smp2
     
    1616# GOAL: want IDLE 0x09010001 - 0x09010004 as heir and executings
    1717# GOAL:   on CPUs 0 - 3 respectively
    18 cpus
     18cpus IDLE IDLE IDLE IDLE
  • schedsim/shell/schedsim_smpsimple/scenarios/cpus4_suspend_on_primary.expected

    r4be3859 r42888e1  
    3939==> 9: # GOAL: want 0x0a010001 - 0x0a010004 as heir and executings
    4040==> 10: # GOAL:   on CPUs 3-0 respectively
    41 ==> 11: cpus
     41==> 11: cpus smp4 smp3 smp2 smp1
    4242=== CPU Status
    4343          EXECUTING      /   HEIR             / SWITCH NEEDED
     
    5252  CPU 0: Thread Executing: 0x09010001 priority=255
    5353==> 13: # GOAL: want 0x09010001 as heir and executing on CPU 0
    54 ==> 14: cpus
     54==> 14: cpus IDLE smp3 smp2 smp1
    5555=== CPU Status
    5656          EXECUTING      /   HEIR             / SWITCH NEEDED
     
    6161=== End of Ready Set of Threads
    6262==> 15: # GOAL: want 0x09010001 as heir and executing on CPU 0
    63 ==> 16: cpus
     63==> 16: cpus IDLE smp3 smp2 smp1
    6464=== CPU Status
    6565          EXECUTING      /   HEIR             / SWITCH NEEDED
  • schedsim/shell/schedsim_smpsimple/scenarios/cpus4_suspend_on_primary.scen

    r4be3859 r42888e1  
    99# GOAL: want 0x0a010001 - 0x0a010004 as heir and executings
    1010# GOAL:   on CPUs 3-0 respectively
    11 cpus
     11cpus smp4 smp3 smp2 smp1
    1212task_suspend SELF
    1313# GOAL: want 0x09010001 as heir and executing on CPU 0
    14 cpus
     14cpus IDLE smp3 smp2 smp1
    1515# GOAL: want 0x09010001 as heir and executing on CPU 0
    16 cpus
     16cpus IDLE smp3 smp2 smp1
  • schedsim/shell/schedsim_smpsimple/scenarios/cpus4_suspend_on_secondary.expected

    r4be3859 r42888e1  
    3939==> 9: # GOAL: want 0x0a010001 - 0x0a010004 as heir and executings
    4040==> 10: # GOAL:   on CPUs 3-0 respectively
    41 ==> 11: cpus
     41==> 11: cpus smp4 smp3 smp2 smp1
    4242=== CPU Status
    4343          EXECUTING      /   HEIR             / SWITCH NEEDED
     
    5454  CPU 2: Thread Executing: 0x09010001 priority=255
    5555==> 14: # GOAL: Want IDLE 0x09010001 as heir and executing on CPU 2
    56 ==> 15: cpus
     56==> 15: cpus smp4 smp3 IDLE smp1
    5757=== CPU Status
    5858          EXECUTING      /   HEIR             / SWITCH NEEDED
     
    6363=== End of Ready Set of Threads
    6464==> 16: # GOAL: Want IDLE 0x09010001 as heir and executing on CPU 2
    65 ==> 17: cpus
     65==> 17: cpus smp4 smp3 IDLE smp1
    6666=== CPU Status
    6767          EXECUTING      /   HEIR             / SWITCH NEEDED
  • schedsim/shell/schedsim_smpsimple/scenarios/cpus4_suspend_on_secondary.scen

    r4be3859 r42888e1  
    99# GOAL: want 0x0a010001 - 0x0a010004 as heir and executings
    1010# GOAL:   on CPUs 3-0 respectively
    11 cpus
     11cpus smp4 smp3 smp2 smp1
    1212current_cpu 2
    1313task_suspend SELF
    1414# GOAL: Want IDLE 0x09010001 as heir and executing on CPU 2
    15 cpus
     15cpus smp4 smp3 IDLE smp1
    1616# GOAL: Want IDLE 0x09010001 as heir and executing on CPU 2
    17 cpus
     17cpus smp4 smp3 IDLE smp1
Note: See TracChangeset for help on using the changeset viewer.