Ignore:
Timestamp:
May 13, 2014, 2:30:12 PM (6 years ago)
Author:
Jennifer Averett <jennifer.averett@…>
Branches:
master
Children:
9f8d56e
Parents:
30aa792
git-author:
Jennifer Averett <jennifer.averett@…> (05/13/14 14:30:12)
git-committer:
Jennifer Averett <jennifer.averett@…> (05/13/14 15:04:53)
Message:

schedsim_smpsimple: Clean up scenarios to match changes.

Dispatch commands were removed since a dispatch of all cpu's was
added to the dispatch wrapper. Scenarios wich only use preemptable
tasks were modified to account for changes in scheduling and
changes in expected output format.

File:
1 edited

Legend:

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

    r30aa792 r3ad6235  
    55==> 3: #
    66==> 4: rtems_init 1
    7   Thread Heir: 0x09010001 priority=255
    8   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   Thread Heir: 0x0a010001 priority=5
    14   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
     
    2121==> 9: cpus
    2222=== CPU Status
    23             EXECUTING    /     HEIR         /    IDLE        / SWITCH NEEDED
    24   CPU 0: 0x0a010001 @  5 / 0x0a010001 @  5 / 0x09010001 @255         false
     23          EXECUTING      /   HEIR             / SWITCH NEEDED
     24  CPU 0: 0x0a010001 @  5 / 0x0a010001 @  5          false
    2525=== End of Ready Set of Threads
    2626==> 10:
    2727==> 11: task_priority smp1 4
    2828Task (0x0a010001) Change Priority from 5 to 4
    29 ==> 12: dispatch
    30 ==> 13: # GOAL: 0x0a010001 is still heir and executing on CPU 0
    31 ==> 14: cpus
     29==> 12: # GOAL: 0x0a010001 is still heir and executing on CPU 0
     30==> 13: cpus
    3231=== CPU Status
    33             EXECUTING    /     HEIR         /    IDLE        / SWITCH NEEDED
    34   CPU 0: 0x0a010001 @  4 / 0x0a010001 @  4 / 0x09010001 @255         false
     32          EXECUTING      /   HEIR             / SWITCH NEEDED
     33  CPU 0: 0x0a010001 @  4 / 0x0a010001 @  4          false
    3534=== End of Ready Set of Threads
    36 ==> 15:
    37 ==> 16: task_priority smp1 7
     35==> 14:
     36==> 15: task_priority smp1 7
    3837Task (0x0a010001) Change Priority from 4 to 7
    39 ==> 17: dispatch
    40 ==> 18: # GOAL: 0x0a010001 is still heir and executing on CPU 0
    41 ==> 19: cpus
     38==> 16: # GOAL: 0x0a010001 is still heir and executing on CPU 0
     39==> 17: cpus
    4240=== CPU Status
    43             EXECUTING    /     HEIR         /    IDLE        / SWITCH NEEDED
    44   CPU 0: 0x0a010001 @  7 / 0x0a010001 @  7 / 0x09010001 @255         false
     41          EXECUTING      /   HEIR             / SWITCH NEEDED
     42  CPU 0: 0x0a010001 @  7 / 0x0a010001 @  7          false
    4543=== End of Ready Set of Threads
    46 ==> 20:
    47 ==> 21: task_priority smp1 8
    48   Thread Heir: 0x0a010002 priority=8
    49   Thread Executing: 0x0a010002 priority=8
     44==> 18:
     45==> 19: task_priority smp1 8
     46  CPU 0: Thread Heir 0x0a010002 priority=8
     47  CPU 0: Thread Executing 0x0a010002 priority=8
    5048Task (0x0a010001) Change Priority from 7 to 8
    51 ==> 22: dispatch
    52 ==> 23: # GOAL: 0x0a010002 is now heir and executing on CPU 0
    53 ==> 24: cpus
     49==> 20: # GOAL: 0x0a010002 is now heir and executing on CPU 0
     50==> 21: cpus
    5451=== CPU Status
    55             EXECUTING    /     HEIR         /    IDLE        / SWITCH NEEDED
    56   CPU 0: 0x0a010002 @  8 / 0x0a010002 @  8 / 0x09010001 @255         false
     52          EXECUTING      /   HEIR             / SWITCH NEEDED
     53  CPU 0: 0x0a010002 @  8 / 0x0a010002 @  8          false
    5754=== End of Ready Set of Threads
    58 ==> 25:
    59 ==> 26: task_priority smp1 5
    60   Thread Heir: 0x0a010001 priority=5
    61   Thread Executing: 0x0a010001 priority=5
     55==> 22:
     56==> 23: task_priority smp1 5
     57  CPU 0: Thread Heir 0x0a010001 priority=5
     58  CPU 0: Thread Executing 0x0a010001 priority=5
    6259Task (0x0a010001) Change Priority from 8 to 5
    63 ==> 27: dispatch
    64 ==> 28: # GOAL: 0x0a010001 is now heir and executing on CPU 0
    65 ==> 29: cpus
     60==> 24: # GOAL: 0x0a010001 is now heir and executing on CPU 0
     61==> 25: cpus
    6662=== CPU Status
    67             EXECUTING    /     HEIR         /    IDLE        / SWITCH NEEDED
    68   CPU 0: 0x0a010001 @  5 / 0x0a010001 @  5 / 0x09010001 @255         false
     63          EXECUTING      /   HEIR             / SWITCH NEEDED
     64  CPU 0: 0x0a010001 @  5 / 0x0a010001 @  5          false
    6965=== End of Ready Set of Threads
Note: See TracChangeset for help on using the changeset viewer.