<div dir="ltr"><div>By taking Sebastian's suggestions, I revise both tests.</div><div>Now the tests are independent to the target time and console driver.</div><div><br></div>Before I use time unit as second and the results rely on the absolute time.<div>Now I use rtems_test_spin_for_ticks() and downscale the timeunit from second to 100ms.<br><div>Both tests only check if the overrun handling is correct or not by using rtems_rate_monotonic_get_status() to check the count of postponed jobs.</div><div>If they are correct, all the assertions are passed.<br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-01-31 0:15 GMT+01:00 Gedare Bloom <span dir="ltr"><<a href="mailto:gedare@rtems.org" target="_blank">gedare@rtems.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Does this fix a deficiency in the current tests?<br>
<div><div class="h5"><br>
On Mon, Jan 30, 2017 at 1:34 PM, Kuan-Hsun Chen <<a href="mailto:c0066c@gmail.com">c0066c@gmail.com</a>> wrote:<br>
> Instead of using the target time and console driver,<br>
> both tests now use assertions and rtems_rate_monotonic_get_<wbr>status() to verify the count of postponed jobs.<br>
> The setting of spedfsched04 is slightly changed.<br>
><br>
> Update #2795<br>
> ---<br>
> testsuites/sptests/<wbr>spedfsched04/Makefile.am | 2 +-<br>
> testsuites/sptests/<wbr>spedfsched04/init.c | 89 ++++++++++++------------<br>
> testsuites/sptests/<wbr>spedfsched04/spedfsched04.scn | 27 ++-----<br>
> testsuites/sptests/<wbr>sprmsched01/Makefile.am | 4 +-<br>
> testsuites/sptests/<wbr>sprmsched01/init.c | 74 ++++++++++----------<br>
> testsuites/sptests/<wbr>sprmsched01/sprmsched01.scn | 55 ++-------------<br>
> 6 files changed, 97 insertions(+), 154 deletions(-)<br>
><br>
> diff --git a/testsuites/sptests/<wbr>spedfsched04/Makefile.am b/testsuites/sptests/<wbr>spedfsched04/Makefile.am<br>
> index 39f8210..a39519a 100644<br>
> --- a/testsuites/sptests/<wbr>spedfsched04/Makefile.am<br>
> +++ b/testsuites/sptests/<wbr>spedfsched04/Makefile.am<br>
> @@ -1,6 +1,6 @@<br>
><br>
> rtems_tests_PROGRAMS = spedfsched04<br>
> -spedfsched04_SOURCES = init.c<br>
> +spedfsched04_SOURCES = init.c ../../support/src/spin.c<br>
><br>
> dist_rtems_tests_DATA = spedfsched04.scn<br>
> dist_rtems_tests_DATA += spedfsched04.doc<br>
> diff --git a/testsuites/sptests/<wbr>spedfsched04/init.c b/testsuites/sptests/<wbr>spedfsched04/init.c<br>
> index f80883d..8dd93db 100644<br>
> --- a/testsuites/sptests/<wbr>spedfsched04/init.c<br>
> +++ b/testsuites/sptests/<wbr>spedfsched04/init.c<br>
> @@ -1,24 +1,25 @@<br>
> /**<br>
> - * @brief A heuristic example to demonstrate how the postponed jobs are handled.<br>
> + * @brief A heuristic example to demonstrate how the postponed jobs are handled in EDF.<br>
> *<br>
> * Given two tasks with implicit deadline under EDF policy.<br>
> - * Task 1 has (4, 5) and task 2 has (4, 6), where (execution time, period/deadline).<br>
> - * For the simplicity, we only execute the first task twice.<br>
> + * Task 1 has (400, 500) and task 2 has (450, 550), where (required ticks, period/deadline).<br>
> + * For the simplicity, we only execute the first task three times.<br>
> * In the original implementation in v4.11, no matter how many periods are<br>
> * expired, only one job will be released with a shifted deadline assignment.<br>
> *<br>
> - * In this example, the first job of task 2 will be blocked by the second job<br>
> - * of task 1, so that there at least one following job is postponed.<br>
> - * Due to overhead/delay, the second following job will be postponed as well.<br>
> + * In this example, task 2 will be blocked by the second and third jobs<br>
> + * of task 1, so that there are two jobs are postponed.<br>
> + * Due to the domino effects, the following jobs of task 2 will be postponed until Job 9.<br>
> *<br>
> * If the overrun handling is correct, the period of task 2 changes back to<br>
> - * normal status at time 22.<br>
> - * Otherwise, the release time of job 3 is no longer periodic.<br>
> + * normal status at Job 9.<br>
> + * Otherwise, the release time of job 3 is no longer periodic<br>
> + * and there is no more postponed jobs.<br>
> *<br>
> */<br>
><br>
> /*<br>
> - * COPYRIGHT (c) 2016 Kuan-Hsun Chen.<br>
> + * COPYRIGHT (c) 2016-2017 Kuan-Hsun Chen.<br>
> *<br>
> * The license and distribution terms for this file may be<br>
> * found in the file LICENSE in this distribution or at<br>
> @@ -30,23 +31,19 @@<br>
> #endif<br>
><br>
> #include <rtems/cpuuse.h><br>
> -#include <rtems/counter.h><br>
> -<br>
> -#include <stdio.h><br>
> -#include <inttypes.h><br>
> -<br>
> -#include "tmacros.h"<br>
> +#include <tmacros.h><br>
> +#include "test_support.h"<br>
><br>
> const char rtems_test_name[] = "SPEDFSCHED 4";<br>
><br>
> -static const uint32_t Periods[] = { 5000, 6000 };<br>
> -static const uint32_t Iterations[] = { 4000, 4000 };<br>
> +static const uint32_t Periods[] = { 500, 550 };<br>
> +static const uint32_t Iterations[] = { 400, 450 };<br>
> static const rtems_name Task_name[] = {<br>
> rtems_build_name( 'T', 'A', '1', ' ' ),<br>
> rtems_build_name( 'T', 'A', '2', ' ' )<br>
> };<br>
> static const rtems_task_priority Prio[3] = { 2, 5 };<br>
> -static const uint32_t testnumber = 11; /* stop condition */<br>
> +static const uint32_t testnumber = 9; /* stop condition */<br>
><br>
> static uint32_t tsk_counter[] = { 0, 0 };<br>
> static rtems_id Task_id[ 2 ];<br>
> @@ -58,35 +55,42 @@ static rtems_task Task(<br>
> rtems_task_argument argument<br>
> )<br>
> {<br>
> - rtems_status_code status;<br>
> - rtems_id RM_period;<br>
> - rtems_id selfid=rtems_task_self();<br>
> - uint32_t start, end, flag=0, index;<br>
> - rtems_counter_ticks t0;<br>
> + rtems_status_code status;<br>
> + rtems_id RM_period;<br>
> + rtems_id selfid=rtems_task_self();<br>
> + rtems_rate_monotonic_period_<wbr>status period_status;<br>
> + uint32_t flag=0;<br>
><br>
> - t0 = rtems_counter_nanoseconds_to_<wbr>ticks( 1000000 ); //1ms ticks counter<br>
> - /*create period*/<br>
> + /* create period */<br>
> status = rtems_rate_monotonic_create( Task_name[ argument ], &RM_period );<br>
> directive_failed( status, "rtems_rate_monotonic_create" );<br>
><br>
> while ( FOREVER ) {<br>
> status = rtems_rate_monotonic_period( RM_period, Periods[ argument ] );<br>
> - if( flag == 0 && status == RTEMS_TIMEOUT ){<br>
> - flag = 1;<br>
> - printf( "RTEMS_TIMEOUT\n" );<br>
> - } else if ( flag == 1 && status == RTEMS_SUCCESSFUL ) {<br>
> - flag = 0;<br>
> - printf( "RTEMS_SUCCESSFUL\n" );<br>
> - }<br>
><br>
> - start = rtems_clock_get_ticks_since_<wbr>boot();<br>
> - printf( "Job %" PRIu32 " Task %" PRIuPTR " starts at tick %" PRIu32 ".\n", tsk_counter[ argument ]+1, argument, start );<br>
> - for( index = 0; index < Iterations[ argument ]; index++ ){<br>
> - rtems_counter_delay_ticks( t0 );<br>
> - }<br>
> - end = rtems_clock_get_ticks_since_<wbr>boot();<br>
> - printf( " Job %" PRIu32" Task %" PRIuPTR " ends at tick %" PRIu32".\n", tsk_counter[ argument ]+1, argument, end );<br>
> + /* Do some work */<br>
> + rtems_test_spin_for_ticks( Iterations[ argument ] );<br>
> +<br>
> if( argument == 1 ){<br>
> + if( status == RTEMS_TIMEOUT ){<br>
> + if( flag == 0 ){<br>
> + puts( "First time RTEMS_TIMEOUT" );<br>
> + puts( "Task 2 should have 2 postponed job due to preemption." );<br>
> + rtems_test_assert( period_status.postponed_jobs_<wbr>count == 2 );<br>
> + flag = 1;<br>
> + }<br>
> + } else if ( flag == 1 && status == RTEMS_SUCCESSFUL ) {<br>
> + puts( "RTEMS_SUCCESSFUL" );<br>
> + puts( "Overrun handling is finished, now Task 2 becomes normal." );<br>
> + rtems_test_assert( period_status.postponed_jobs_<wbr>count == 0 );<br>
> + flag = 0;<br>
> + }<br>
> +<br>
> + /* Check the status */<br>
> + status = rtems_rate_monotonic_get_<wbr>status( RM_period, &period_status );<br>
> + directive_failed( status, "rate_monotonic_get_status" );<br>
> + //printf( "Count = %"PRIu32"\n", period_status.postponed_jobs_<wbr>count);<br>
> +<br>
> if( tsk_counter[ argument ] == testnumber ){<br>
> TEST_END();<br>
> status = rtems_rate_monotonic_delete( RM_period );<br>
> @@ -97,7 +101,8 @@ static rtems_task Task(<br>
><br>
> tsk_counter[ argument ]+=1;<br>
> if ( argument == 0 ){<br>
> - if( tsk_counter[ argument ] == 2 ){<br>
> + if( tsk_counter[ argument ] == 3 ){<br>
> + puts("Task 1 has released 3 jobs and finished.");<br>
> status = rtems_rate_monotonic_delete( RM_period );<br>
> directive_failed( status, "rtems_rate_monotonic_delete" );<br>
> status = rtems_task_delete( selfid );<br>
> @@ -116,7 +121,6 @@ static rtems_task Init(<br>
><br>
> TEST_BEGIN();<br>
><br>
> - printf( "\nTicks per second in your system: %" PRIu32 "\n", rtems_clock_get_ticks_per_<wbr>second() );<br>
><br>
> /* Create two tasks */<br>
> for ( index = 0; index < RTEMS_ARRAY_SIZE(Task_name); ++index ){<br>
> @@ -127,7 +131,6 @@ static rtems_task Init(<br>
> directive_failed( status, "rtems_task_create loop" );<br>
> }<br>
><br>
> -<br>
> /* After creating the periods for tasks, start to run them sequencially. */<br>
> for ( index = 0; index < RTEMS_ARRAY_SIZE(Task_name); ++index ){<br>
> status = rtems_task_start( Task_id[ index ], Task, index);<br>
> @@ -139,7 +142,7 @@ static rtems_task Init(<br>
><br>
> #define CONFIGURE_APPLICATION_NEEDS_<wbr>CONSOLE_DRIVER<br>
> #define CONFIGURE_APPLICATION_NEEDS_<wbr>CLOCK_DRIVER<br>
> -#define CONFIGURE_MICROSECONDS_PER_<wbr>TICK 1000<br>
> +#define CONFIGURE_MICROSECONDS_PER_<wbr>TICK 100<br>
> #define CONFIGURE_MAXIMUM_TASKS 3<br>
> #define CONFIGURE_MAXIMUM_PERIODS 2<br>
><br>
> diff --git a/testsuites/sptests/<wbr>spedfsched04/spedfsched04.scn b/testsuites/sptests/<wbr>spedfsched04/spedfsched04.scn<br>
> index 6d8060be..f1c41c4 100644<br>
> --- a/testsuites/sptests/<wbr>spedfsched04/spedfsched04.scn<br>
> +++ b/testsuites/sptests/<wbr>spedfsched04/spedfsched04.scn<br>
> @@ -1,24 +1,7 @@<br>
> -<br>
> -<br>
> *** BEGIN OF TEST SPEDFSCHED 4 ***<br>
> -<br>
> -Ticks per second in your system: 1000<br>
> -Job 1 Task 1 starts at tick 14.<br>
> - Job 1 Task 1 ends at tick 4023.<br>
> -Job 1 Task 2 starts at tick 4025.<br>
> -Job 2 Task 1 starts at tick 5013.<br>
> - Job 2 Task 1 ends at tick 9023.<br>
> - Job 1 Task 2 ends at tick 12045.<br>
> -System TIMEOUT<br>
> -Job 2 Task 2 starts at tick 12045.<br>
> - Job 2 Task 2 ends at tick 16054.<br>
> -Job 3 Task 2 starts at tick 16054.<br>
> - Job 3 Task 2 ends at tick 20061.<br>
> -System SUCCESSFUL<br>
> -Job 4 Task 2 starts at tick 22025.<br>
> - Job 4 Task 2 ends at tick 26033.<br>
> -Job 5 Task 2 starts at tick 28025.<br>
> - Job 5 Task 2 ends at tick 32033.<br>
> -Job 6 Task 2 starts at tick 34025.<br>
> - Job 6 Task 2 ends at tick 38033.<br>
> +Task 1 has released 3 jobs and finished.<br>
> +First time RTEMS_TIMEOUT<br>
> +Task 2 should have 2 postponed job due to preemption.<br>
> +RTEMS_SUCCESSFUL<br>
> +Overrun handling is finished, now Task 2 becomes normal.<br>
> *** END OF TEST SPEDFSCHED 4 ***<br>
> diff --git a/testsuites/sptests/<wbr>sprmsched01/Makefile.am b/testsuites/sptests/<wbr>sprmsched01/Makefile.am<br>
> index 068bb19..a8cf788 100644<br>
> --- a/testsuites/sptests/<wbr>sprmsched01/Makefile.am<br>
> +++ b/testsuites/sptests/<wbr>sprmsched01/Makefile.am<br>
> @@ -1,7 +1,7 @@<br>
><br>
> rtems_tests_PROGRAMS = sprmsched01<br>
> -sprmsched01_SOURCES = init.c<br>
> -<br>
> +sprmsched01_SOURCES = init.c ../../support/src/spin.c<br>
> +<br>
> dist_rtems_tests_DATA = sprmsched01.scn<br>
> dist_rtems_tests_DATA += sprmsched01.doc<br>
><br>
> diff --git a/testsuites/sptests/<wbr>sprmsched01/init.c b/testsuites/sptests/<wbr>sprmsched01/init.c<br>
> index 2332920..6bc7ddd 100644<br>
> --- a/testsuites/sptests/<wbr>sprmsched01/init.c<br>
> +++ b/testsuites/sptests/<wbr>sprmsched01/init.c<br>
> @@ -1,5 +1,5 @@<br>
> /**<br>
> - * @brief A heuristic example to demonstrate how the postponed jobs are handled.<br>
> + * @brief A heuristic example to demonstrate how the postponed jobs are handled in RMS.<br>
> *<br>
> * Given two tasks with implicit deadline under fixed-priority scheudling.<br>
> * Task 1 has (6, 10) and task 2 has (1, 2), where (execution time, deadline/period).<br>
> @@ -20,7 +20,7 @@<br>
> */<br>
><br>
> /*<br>
> - * COPYRIGHT (c) 2016 Kuan-Hsun Chen.<br>
> + * COPYRIGHT (c) 2016-2017 Kuan-Hsun Chen.<br>
> *<br>
> * The license and distribution terms for this file may be<br>
> * found in the file LICENSE in this distribution or at<br>
> @@ -32,23 +32,19 @@<br>
> #endif<br>
><br>
> #include <rtems/cpuuse.h><br>
> -#include <rtems/counter.h><br>
> -<br>
> -#include <stdio.h><br>
> -#include <inttypes.h><br>
> -<br>
> -#include "tmacros.h"<br>
> +#include <tmacros.h><br>
> +#include "test_support.h"<br>
><br>
> const char rtems_test_name[] = "SPRMSCHED 1";<br>
><br>
> -static const uint32_t Periods[] = { 10000, 2000 };<br>
> -static const uint32_t Iterations[] = { 6000, 1000 };<br>
> +static const uint32_t Periods[] = { 1000, 200 };<br>
> +static const uint32_t Iterations[] = { 600, 100 };<br>
> static const rtems_name Task_name[] = {<br>
> rtems_build_name( 'T', 'A', '1', ' ' ),<br>
> rtems_build_name( 'T', 'A', '2', ' ' )<br>
> };<br>
> static const rtems_task_priority Prio[3] = { 2, 5 };<br>
> -static const uint32_t testnumber = 11; /* stop condition */<br>
> +static const uint32_t testnumber = 9; /* stop condition */<br>
><br>
> static uint32_t tsk_counter[] = { 0, 0 };<br>
> static rtems_id Task_id[ 2 ];<br>
> @@ -60,13 +56,12 @@ static rtems_task Task(<br>
> rtems_task_argument argument<br>
> )<br>
> {<br>
> - rtems_status_code status;<br>
> - rtems_id RM_period;<br>
> - rtems_id selfid=rtems_task_self();<br>
> - uint32_t start, end, flag=0, index;<br>
> - rtems_counter_ticks t0;<br>
> + rtems_status_code status;<br>
> + rtems_id RM_period;<br>
> + rtems_id selfid=rtems_task_self();<br>
> + rtems_rate_monotonic_period_<wbr>status period_status;<br>
> + uint32_t flag=0;<br>
><br>
> - t0 = rtems_counter_nanoseconds_to_<wbr>ticks( 1000000 ); //1ms ticks counter<br>
> /*create period*/<br>
> status = rtems_rate_monotonic_create( Task_name[ argument ], &RM_period );<br>
> directive_failed( status, "rtems_rate_monotonic_create" );<br>
> @@ -74,26 +69,30 @@ static rtems_task Task(<br>
> while ( FOREVER ) {<br>
> status = rtems_rate_monotonic_period( RM_period, Periods[ argument ] );<br>
> //directive_failed( status, "rtems_rate_monotonic_period" ); let TIMEOUT pass<br>
> - if( argument == 1 && flag == 0 && status == RTEMS_TIMEOUT ){<br>
> - flag = 1;<br>
> - printf( "RTEMS_TIMEOUT\n" );<br>
> - } else if ( flag == 1 && status == RTEMS_SUCCESSFUL ) {<br>
> - flag = 0;<br>
> - printf( "RTEMS_SUCCESSFUL\n" );<br>
> - }<br>
> +<br>
> + /* Do some work */<br>
> + rtems_test_spin_for_ticks( Iterations[ argument ] );<br>
><br>
> - start = rtems_clock_get_ticks_since_<wbr>boot();<br>
> - if ( argument == 1 )<br>
> - printf( "Job %" PRIu32 " Task %" PRIuPTR " starts at tick %" PRIu32 ".\n", tsk_counter[ argument ]+1, argument, start );<br>
> - else<br>
> - printf( "Task %" PRIuPTR " starts at tick %" PRIu32 ".\n", argument, start );<br>
> - for( index = 0; index < Iterations[ argument ]; index++ ){<br>
> - rtems_counter_delay_ticks( t0 );<br>
> - }<br>
> - end = rtems_clock_get_ticks_since_<wbr>boot();<br>
> - printf( " Job %" PRIu32" Task %" PRIuPTR " ends at tick %" PRIu32".\n", tsk_counter[ argument ]+1, argument, end );<br>
> if( argument == 1 ){<br>
> - if( tsk_counter[ argument ] == testnumber ){<br>
> + if( status == RTEMS_TIMEOUT ){<br>
> + if( flag == 0 ){<br>
> + puts( "First time RTEMS_TIMEOUT" );<br>
> + puts( "Task 2 should have 3 postponed jobs due to preemption." );<br>
> + rtems_test_assert( period_status.postponed_jobs_<wbr>count == 3 );<br>
> + flag = 1;<br>
> + }<br>
> + } else if ( flag == 1 && status == RTEMS_SUCCESSFUL ) {<br>
> + puts( "RTEMS_SUCCESSFUL" );<br>
> + puts( "Overrun handling is finished, now Task 2 becomes normal." );<br>
> + rtems_test_assert( period_status.postponed_jobs_<wbr>count == 0 );<br>
> + flag = 0;<br>
> + }<br>
> +<br>
> + /* Check the status */<br>
> + status = rtems_rate_monotonic_get_<wbr>status( RM_period, &period_status );<br>
> + directive_failed( status, "rate_monotonic_get_status" );<br>
> +<br>
> + if( tsk_counter[ argument ] == testnumber ){<br>
> TEST_END();<br>
> status = rtems_rate_monotonic_delete( RM_period );<br>
> directive_failed( status, "rtems_rate_monotonic_delete" );<br>
> @@ -104,6 +103,7 @@ static rtems_task Task(<br>
> tsk_counter[ argument ]+=1;<br>
> if ( argument == 0 ){<br>
> if( tsk_counter[ argument ] == 2 ){<br>
> + puts( "Task 1 has released two jobs" );<br>
> status = rtems_rate_monotonic_delete( RM_period );<br>
> directive_failed( status, "rtems_rate_monotonic_delete" );<br>
> status = rtems_task_delete( selfid );<br>
> @@ -122,7 +122,7 @@ static rtems_task Init(<br>
><br>
> TEST_BEGIN();<br>
><br>
> - printf( "\nTicks per second in your system: %" PRIu32 "\n", rtems_clock_get_ticks_per_<wbr>second() );<br>
> + //printf( "\nTicks per second in your system: %" PRIu32 "\n", rtems_clock_get_ticks_per_<wbr>second() );<br>
><br>
> /* Create two tasks */<br>
> for ( index = 0; index < RTEMS_ARRAY_SIZE(Task_name); ++index ){<br>
> @@ -145,7 +145,7 @@ static rtems_task Init(<br>
><br>
> #define CONFIGURE_APPLICATION_NEEDS_<wbr>CONSOLE_DRIVER<br>
> #define CONFIGURE_APPLICATION_NEEDS_<wbr>CLOCK_DRIVER<br>
> -#define CONFIGURE_MICROSECONDS_PER_<wbr>TICK 1000<br>
> +#define CONFIGURE_MICROSECONDS_PER_<wbr>TICK 100<br>
> #define CONFIGURE_MAXIMUM_TASKS 3<br>
> #define CONFIGURE_MAXIMUM_PERIODS 2<br>
><br>
> diff --git a/testsuites/sptests/<wbr>sprmsched01/sprmsched01.scn b/testsuites/sptests/<wbr>sprmsched01/sprmsched01.scn<br>
> index 9205a59..e01712c 100644<br>
> --- a/testsuites/sptests/<wbr>sprmsched01/sprmsched01.scn<br>
> +++ b/testsuites/sptests/<wbr>sprmsched01/sprmsched01.scn<br>
> @@ -1,50 +1,7 @@<br>
> -<br>
> -<br>
> -*** BEGIN OF TEST Rate Monotonic 01 - Overrun Test ***<br>
> -<br>
> -Ticks per second in your system: 1000<br>
> -Job 1 Task 1 starts at tick 13.<br>
> - Job 1 Task 1 ends at tick 6021.<br>
> -Job 1 Task 2 starts at tick 6022.<br>
> - Job 1 Task 2 ends at tick 7024.<br>
> -Job 2 Task 2 starts at tick 8022.<br>
> - Job 2 Task 2 ends at tick 9023.<br>
> -Job 2 Task 1 starts at tick 10013.<br>
> - Job 2 Task 1 ends at tick 16021.<br>
> -Job 3 Task 2 starts at tick 16023.<br>
> - Job 3 Task 2 ends at tick 17024.<br>
> -RTEMS_TIMEOUT<br>
> -Job 4 Task 2 starts at tick 17025.<br>
> - Job 4 Task 2 ends at tick 18026.<br>
> -Job 5 Task 2 starts at tick 18026.<br>
> - Job 5 Task 2 ends at tick 19027.<br>
> -Job 6 Task 2 starts at tick 19028.<br>
> - Job 6 Task 2 ends at tick 20029.<br>
> -Job 7 Task 2 starts at tick 20029.<br>
> - Job 7 Task 2 ends at tick 21031.<br>
> -Job 8 Task 2 starts at tick 21031.<br>
> - Job 8 Task 2 ends at tick 22033.<br>
> -Job 9 Task 2 starts at tick 22033.<br>
> - Job 9 Task 2 ends at tick 23035.<br>
> +*** BEGIN OF TEST SPRMSCHED 1 ***<br>
> +Task 1 has released two jobs<br>
> +First time RTEMS_TIMEOUT<br>
> +Task 2 should have 3 postponed jobs due to preemption.<br>
> RTEMS_SUCCESSFUL<br>
> -Job 10 Task 2 starts at tick 24022.<br>
> - Job 10 Task 2 ends at tick 25023.<br>
> -Job 11 Task 2 starts at tick 26022.<br>
> - Job 11 Task 2 ends at tick 27024.<br>
> -Job 12 Task 2 starts at tick 28022.<br>
> - Job 12 Task 2 ends at tick 29024.<br>
> -Job 13 Task 2 starts at tick 30022.<br>
> - Job 13 Task 2 ends at tick 31023.<br>
> -Job 14 Task 2 starts at tick 32022.<br>
> - Job 14 Task 2 ends at tick 33023.<br>
> -Job 15 Task 2 starts at tick 34022.<br>
> - Job 15 Task 2 ends at tick 35023.<br>
> -Job 16 Task 2 starts at tick 36022.<br>
> - Job 16 Task 2 ends at tick 37023.<br>
> -Period information by period<br>
> ---- CPU times are in seconds ---<br>
> ---- Wall times are in seconds ---<br>
> - ID OWNER COUNT MISSED CPU TIME WALL TIME<br>
> - MIN/MAX/AVG MIN/MAX/AVG<br>
> -0x42010002 TA2 15 6 1.001686/7.012146/2.404131 1.001698/13.013378/5.204723<br>
> -*** END OF TEST Rate Monotonic 01 ***<br>
> +Overrun handling is finished, now Task 2 becomes normal.<br>
> +*** END OF TEST SPRMSCHED 1 ***<br>
> --<br>
> 1.9.1<br>
><br>
</div></div>> ______________________________<wbr>_________________<br>
> devel mailing list<br>
> <a href="mailto:devel@rtems.org">devel@rtems.org</a><br>
> <a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/<wbr>mailman/listinfo/devel</a><br>
</blockquote></div><br></div>