forked from Imagelibrary/rtems
rhealstone: Add start end and messages
This commit is contained in:
@@ -34,6 +34,8 @@ rtems_task Init( rtems_task_argument ignored )
|
|||||||
|
|
||||||
Print_Warning();
|
Print_Warning();
|
||||||
|
|
||||||
|
puts( "*** START OF RHDEADLOCKBRK ***" );
|
||||||
|
|
||||||
sem_attr = RTEMS_INHERIT_PRIORITY | RTEMS_BINARY_SEMAPHORE | RTEMS_PRIORITY;
|
sem_attr = RTEMS_INHERIT_PRIORITY | RTEMS_BINARY_SEMAPHORE | RTEMS_PRIORITY;
|
||||||
|
|
||||||
sem_name = rtems_build_name( 'S','0',' ',' ' );
|
sem_name = rtems_build_name( 'S','0',' ',' ' );
|
||||||
@@ -139,6 +141,7 @@ rtems_task Task01( rtems_task_argument ignored )
|
|||||||
tswitch_overhead, /* Overhead of loop and task switches */
|
tswitch_overhead, /* Overhead of loop and task switches */
|
||||||
tobtain_overhead
|
tobtain_overhead
|
||||||
);
|
);
|
||||||
|
puts( "*** END OF RHDEADLOCKBRK ***" );
|
||||||
rtems_test_exit( 0 );
|
rtems_test_exit( 0 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -56,6 +56,8 @@ rtems_task Init(
|
|||||||
|
|
||||||
Print_Warning();
|
Print_Warning();
|
||||||
|
|
||||||
|
puts( "*** START OF RHILATENCY ***" );
|
||||||
|
|
||||||
if (_Scheduler.Operations.initialize != _Scheduler_priority_Initialize) {
|
if (_Scheduler.Operations.initialize != _Scheduler_priority_Initialize) {
|
||||||
puts( " Error ==> " );
|
puts( " Error ==> " );
|
||||||
puts( "Test only supported for deterministic priority scheduler\n" );
|
puts( "Test only supported for deterministic priority scheduler\n" );
|
||||||
@@ -106,6 +108,7 @@ rtems_task Task_1(
|
|||||||
0
|
0
|
||||||
);
|
);
|
||||||
|
|
||||||
|
puts( "*** END OF RHILATENCY ***" );
|
||||||
rtems_test_exit( 0 );
|
rtems_test_exit( 0 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -35,6 +35,8 @@ void Init(
|
|||||||
|
|
||||||
Print_Warning();
|
Print_Warning();
|
||||||
|
|
||||||
|
puts( "*** START OF RHMLATENCY ***" );
|
||||||
|
|
||||||
status = rtems_message_queue_create(
|
status = rtems_message_queue_create(
|
||||||
rtems_build_name( 'M', 'Q', '1', ' ' ),
|
rtems_build_name( 'M', 'Q', '1', ' ' ),
|
||||||
1,
|
1,
|
||||||
@@ -135,6 +137,7 @@ rtems_task Task02( rtems_task_argument ignored )
|
|||||||
treceive_overhead /* Overhead of recieve call and task switch */
|
treceive_overhead /* Overhead of recieve call and task switch */
|
||||||
);
|
);
|
||||||
|
|
||||||
|
puts( "*** END OF RHMLATENCY ***" );
|
||||||
rtems_test_exit( 0 );
|
rtems_test_exit( 0 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -32,6 +32,8 @@ rtems_task Init( rtems_task_argument ignored )
|
|||||||
|
|
||||||
Print_Warning();
|
Print_Warning();
|
||||||
|
|
||||||
|
puts( "*** START OF RHSEMSHUFFLE ***" );
|
||||||
|
|
||||||
sem_attr = RTEMS_BINARY_SEMAPHORE | RTEMS_PRIORITY;
|
sem_attr = RTEMS_BINARY_SEMAPHORE | RTEMS_PRIORITY;
|
||||||
|
|
||||||
sem_name = rtems_build_name( 'S','0',' ',' ' );
|
sem_name = rtems_build_name( 'S','0',' ',' ' );
|
||||||
@@ -146,6 +148,7 @@ rtems_task Task02( rtems_task_argument ignored )
|
|||||||
tswitch_overhead, /* Overhead of loop and task switches */
|
tswitch_overhead, /* Overhead of loop and task switches */
|
||||||
0
|
0
|
||||||
);
|
);
|
||||||
|
puts( "*** END OF RHSEMSHUFFLE ***" );
|
||||||
rtems_test_exit( 0 );
|
rtems_test_exit( 0 );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -62,6 +62,7 @@ rtems_task Task02( rtems_task_argument ignored )
|
|||||||
tswitch_overhead /* Overhead of task switch back to TA01 */
|
tswitch_overhead /* Overhead of task switch back to TA01 */
|
||||||
);
|
);
|
||||||
|
|
||||||
|
puts( "*** END OF RHTASKPREEMPT ***" );
|
||||||
rtems_test_exit( 0 );
|
rtems_test_exit( 0 );
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -69,6 +70,8 @@ rtems_task Init( rtems_task_argument ignored )
|
|||||||
{
|
{
|
||||||
Print_Warning();
|
Print_Warning();
|
||||||
|
|
||||||
|
puts( "*** START OF RHTASKPREEMPT ***" );
|
||||||
|
|
||||||
Task_name[0] = rtems_build_name( 'T','A','0','1' );
|
Task_name[0] = rtems_build_name( 'T','A','0','1' );
|
||||||
status = rtems_task_create(
|
status = rtems_task_create(
|
||||||
Task_name[0],
|
Task_name[0],
|
||||||
|
|||||||
@@ -40,6 +40,7 @@ rtems_task Task02( rtems_task_argument ignored )
|
|||||||
dir_overhead /* Overhead of rtems_task_wake_after directive */
|
dir_overhead /* Overhead of rtems_task_wake_after directive */
|
||||||
);
|
);
|
||||||
|
|
||||||
|
puts( "*** END OF RTASKSWITCH ***" );
|
||||||
rtems_test_exit( 0 );
|
rtems_test_exit( 0 );
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -64,6 +65,8 @@ rtems_task Init( rtems_task_argument ignored )
|
|||||||
{
|
{
|
||||||
Print_Warning();
|
Print_Warning();
|
||||||
|
|
||||||
|
puts( "*** START OF RHTASKSWITCH ***" );
|
||||||
|
|
||||||
Task_name[0] = rtems_build_name( 'T','A','0','1' );
|
Task_name[0] = rtems_build_name( 'T','A','0','1' );
|
||||||
status = rtems_task_create(
|
status = rtems_task_create(
|
||||||
Task_name[0],
|
Task_name[0],
|
||||||
|
|||||||
Reference in New Issue
Block a user