forked from Imagelibrary/rtems
2008-08-31 Joel Sherrill <joel.sherrill@oarcorp.com>
* timerstub.c: Eliminate empty function from every benchmark timer driver. Fix spelling.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2008-08-31 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* timerstub.c: Eliminate empty function from every benchmark timer
|
||||
driver. Fix spelling.
|
||||
|
||||
2008-08-30 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* bootcard.c: Fix formatting.
|
||||
|
||||
@@ -11,27 +11,22 @@
|
||||
|
||||
#include <bsp.h>
|
||||
|
||||
rtems_boolean Timer_driver_Find_average_overhead;
|
||||
rtems_boolean benchmark_timer_find_average_overhead;
|
||||
|
||||
void Timer_initialize(void)
|
||||
void benchmark_timer_initialize(void)
|
||||
{
|
||||
}
|
||||
|
||||
int Read_timer(void)
|
||||
int benchmark_timer_read(void)
|
||||
{
|
||||
if (Timer_driver_Find_average_overhead)
|
||||
if (benchmark_timer_find_average_overhead)
|
||||
return 1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
rtems_status_code Empty_function( void )
|
||||
{
|
||||
return RTEMS_SUCCESSFUL;
|
||||
}
|
||||
|
||||
void Set_find_average_overhead(
|
||||
void benchmark_timer_disable_subtracting_average_overhead(
|
||||
rtems_boolean find_flag
|
||||
)
|
||||
{
|
||||
Timer_driver_Find_average_overhead = find_flag;
|
||||
benchmark_timer_find_average_overhead = find_flag;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user