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:
Joel Sherrill
2008-08-31 18:18:49 +00:00
parent 5dff6e6ed0
commit 0f7b64673b
2 changed files with 11 additions and 11 deletions

View File

@@ -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.

View File

@@ -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;
}