forked from Imagelibrary/rtems
2007-12-14 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtmonuse/init.c, rtmonuse/task1.c: Add period which is unused to exericise another path in the period statistics code.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2007-12-14 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||
|
||||
* rtmonuse/init.c, rtmonuse/task1.c: Add period which is unused to
|
||||
exericise another path in the period statistics code.
|
||||
|
||||
2007-12-12 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||
|
||||
* malloctest/init.c: Add some primitive testing of realloc() which also
|
||||
|
||||
@@ -30,9 +30,18 @@ rtems_task Init(
|
||||
{
|
||||
uint32_t index;
|
||||
rtems_status_code status;
|
||||
rtems_id rmid;
|
||||
rtems_name period;
|
||||
|
||||
puts( "\n\n*** RATE MONOTONIC PERIOD STATISTICS TEST ***" );
|
||||
|
||||
period = rtems_build_name( 'I', 'G', 'N', 'R' );
|
||||
status = rtems_rate_monotonic_create( period, &rmid );
|
||||
directive_failed( status, "rtems_rate_monotonic_create" );
|
||||
put_name( Task_name[ argument ], FALSE );
|
||||
printf( "- rtems_rate_monotonic_create id = 0x%08x (stays inactive)\n", rmid );
|
||||
|
||||
|
||||
Task_name[ 1 ] = rtems_build_name( 'T', 'A', '1', ' ' );
|
||||
Task_name[ 2 ] = rtems_build_name( 'T', 'A', '2', ' ' );
|
||||
Task_name[ 3 ] = rtems_build_name( 'T', 'A', '3', ' ' );
|
||||
@@ -62,6 +71,6 @@ rtems_task Init(
|
||||
Count.count[ 4 ] = 0;
|
||||
Count.count[ 5 ] = 0;
|
||||
|
||||
status = rtems_task_delete( RTEMS_SELF );
|
||||
directive_failed( status, "rtems_task_delete of RTEMS_SELF" );
|
||||
status = rtems_task_suspend( RTEMS_SELF );
|
||||
directive_failed( status, "rtems_task_suspend of RTEMS_SELF" );
|
||||
}
|
||||
|
||||
@@ -32,9 +32,9 @@ rtems_task Task_1_through_5(
|
||||
{
|
||||
rtems_id rmid;
|
||||
rtems_id test_rmid;
|
||||
uint32_t index;
|
||||
uint32_t pass;
|
||||
uint32_t failed;
|
||||
uint32_t index;
|
||||
uint32_t pass;
|
||||
uint32_t failed;
|
||||
rtems_status_code status;
|
||||
|
||||
status = rtems_rate_monotonic_create( argument, &rmid );
|
||||
|
||||
Reference in New Issue
Block a user