2007-07-06 Joel Sherrill <joel.sherrill@OARcorp.com>

* nsecs/init.c: Change name to avoid any hint of the timer driver.
This commit is contained in:
Joel Sherrill
2007-07-06 21:30:04 +00:00
parent 2b596c6986
commit 2c0f748a4e
2 changed files with 7 additions and 3 deletions

View File

@@ -1,3 +1,7 @@
2007-07-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* nsecs/init.c: Change name to avoid any hint of the timer driver.
2007-06-22 Joel Sherrill <joel.sherrill@OARcorp.com>
* nsecs/init.c: Do not make this test depend on the benchmark timer

View File

@@ -42,7 +42,7 @@ void subtract_em(
}
/* body below .. hoping it isn't inlined */
void Empty_function();
void dummy_function_empty_body_to_force_call();
rtems_task Init(
rtems_task_argument argument
@@ -116,7 +116,7 @@ rtems_task Init(
int j, max = (index * 10000);
rtems_clock_get_uptime( &start );
for (j=0 ; j<max ; j++ )
Empty_function();
dummy_function_empty_body_to_force_call();
rtems_clock_get_uptime( &stop );
subtract_em( &start, &stop, &diff );
@@ -147,4 +147,4 @@ rtems_task Init(
#include <rtems/confdefs.h>
/* put here hoping it won't get inlined */
void Empty_function() {}
void dummy_function_empty_body_to_force_call() {}