Changeset be883c2 in rtems-schedsim


Ignore:
Timestamp:
May 22, 2014, 9:16:05 PM (5 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
master
Children:
ff91f4e
Parents:
cc1a54a
Message:

cpus4_affinity_case1.scen: Add error checking

File:
1 edited

Legend:

Unmodified
Added
Removed
  • schedsim/shell/schedsim_smppriority_affinity/scenarios/cpus4_affinity_case1.scen

    rcc1a54a rbe883c2  
    33#
    44rtems_init 4
    5 task_create smp1 4 -a 0xe
    6 task_create smp2 4 -a 0xe
    7 task_create smp3 4 -a 0x3
    8 task_create smp4 4 -a 0x3
     5task_create smp1 4 -a 0x0e
     6task_create smp2 4 -a 0x0e
     7task_create smp3 4 -a 0x03
     8task_create smp4 4 -a 0x03
    99
     10# EXECUTING: {smp1 smp2 smp3 smp4}
     11# READY:     {IDLE IDLE IDLE IDLE}
    1012# GOAL: want 0x0a010004 - 0x0a010001 as heir and executings
    1113# GOAL:   on CPUs 0 -3 respectively
    12 cpus
     14cpus smp4 smp3 smp2 smp1
    1315
    1416task_set_affinity smp1 0x03
    15 # GOAL: want 0x0a010004, 0x0a010001, 0x0a010002,0x09010001
     17# EXECUTING: {smp2 smp3 smp4 IDLE}
     18# READY:     {smp1 IDLE IDLE IDLE}
     19# GOAL: want 0x0a010004, 0x0a010003, 0x0a010002,0x09010001
    1620# GOAL:   as heir and executings on CPUs 0-3 respectively
    17 cpus
     21cpus smp4 smp3 smp2 IDLE
    1822
    1923task_set_affinity smp2 0x03
    20 # GOAL: want 0x0a010004, 0x0a010002, 0x00910002,0x09010001
     24# EXECUTING: {smp3 smp4 IDLE IDLE}
     25# READY:     {smp1 smp2 IDLE IDLE}
     26# GOAL: want 0x0a010004, 0x0a010003, 0x00910002,0x09010001
    2127# GOAL:   as heir and executings on CPUs 0-3 respectively
    22 cpus
     28cpus smp4 smp3 IDLE IDLE
    2329
    2430task_set_affinity smp3 0x0e
    25 # GOAL: want 0x0a010004, 0x0a010002, 0x09010002,0x0a010003
     31# EXECUTING: {smp4 smp2 smp3 IDLE}
     32# READY:     {smp1 smp2 IDLE IDLE}
     33# GOAL: want 0x0a010004, 0x0a010002, 0x0a010003,0x09010001
    2634# GOAL:   as heir and executings on CPUs 0-3 respectively
    27 cpus
     35cpus smp4 smp2 smp3 IDLE
    2836
    2937task_set_affinity smp4 0x0e
    30 # GOAL: want 0x0a010004, 0x0a010002, 0x0a010004,0x0a010003
     38# EXECUTING: {smp4 smp2 smp3 smp1}
     39# READY:     {IDLE IDLE IDLE IDLE}
     40# GOAL: want 0x0a010001, 0x0a010002, 0x0a010003,0x0a010004
    3141# GOAL:   as heir and executings on CPUs 0-3 respectively
    32 cpus
     42cpus smp1 smp2 smp3 smp4
Note: See TracChangeset for help on using the changeset viewer.