source: rtems/testsuites/smptests/smpschedaffinity05/smpschedaffinity05.scn @ 7eb3fd47

4.115
Last change on this file since 7eb3fd47 was 7eb3fd47, checked in by Jennifer Averett <jennifer.averett@…>, on 07/10/14 at 16:45:58

smpschedaffinity05: Add test for worst case migration for affintiy scheduler.

This test uses a combination of priority and affinity to cause
the tasks running on all 4 cores to change due to one task priority
change.

  • Property mode set to 100644
File size: 565 bytes
Line 
1*** BEGIN OF TEST SMPSCHEDAFFINITY 5 ***
2Create Semaphore
3Start TA1 at priority 8 on cpu 2
4Start TA2 at priority 5 on cpu 1
5Start TA3 at priority 6 on cpu 0
6Start TA4 at priority 9 on cpu -1
7Verify Tasks Ran
8Init(7): ran=1 expected=3 actual=3
9TA01(8): ran=1 expected=2 actual=2
10TA02(5): ran=1 expected=1 actual=1
11TA03(6): ran=1 expected=0 actual=0
12Set TA4 priority 4
13Verify Tasks Ran
14Init(7): ran=1 expected=2 actual=2
15TA01(8): ran=0 expected=-1 actual=-1
16TA02(5): ran=1 expected=0 actual=0
17TA03(6): ran=1 expected=3 actual=3
18*** END OF TEST SMPSCHEDAFFINITY 5 ***
Note: See TracBrowser for help on using the repository browser.