From 35eb543d8714c480c3619482aad6d9c41d089c92 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Sun, 31 Aug 2008 17:37:39 +0000 Subject: [PATCH] 2008-08-31 Joel Sherrill * support/src/tmtests_empty_function.c: New file. --- testsuites/ChangeLog | 4 ++++ .../support/src/tmtests_empty_function.c | 20 +++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 testsuites/support/src/tmtests_empty_function.c diff --git a/testsuites/ChangeLog b/testsuites/ChangeLog index b0b0062593..3c122867cf 100644 --- a/testsuites/ChangeLog +++ b/testsuites/ChangeLog @@ -1,3 +1,7 @@ +2008-08-31 Joel Sherrill + + * support/src/tmtests_empty_function.c: New file. + 2008-07-02 Ralf Corsépius * aclocal/rtems-top.m4: Require AC_DISABLE_OPTION_CHECKING. diff --git a/testsuites/support/src/tmtests_empty_function.c b/testsuites/support/src/tmtests_empty_function.c new file mode 100644 index 0000000000..162b40bc47 --- /dev/null +++ b/testsuites/support/src/tmtests_empty_function.c @@ -0,0 +1,20 @@ +/* + * This file implements an empty function used by the RTEMS Timing Tests + * to set a baseline for loop overhead. + * + * COPYRIGHT (c) 1989-2008. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.rtems.com/license/LICENSE. + * + * $Id$ + */ + +#include + +rtems_status_code benchmark_timer_empty_function( void ) +{ + return RTEMS_SUCCESSFUL; +}