summaryrefslogtreecommitdiffstats
path: root/testsuites/support
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-08-31 17:37:39 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-08-31 17:37:39 +0000
commit35eb543d8714c480c3619482aad6d9c41d089c92 (patch)
tree12f78849e328ed289e877c91f72eaadae4828555 /testsuites/support
parent2008-08-31 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-35eb543d8714c480c3619482aad6d9c41d089c92.tar.bz2
2008-08-31 Joel Sherrill <joel.sherrill@oarcorp.com>
* support/src/tmtests_empty_function.c: New file.
Diffstat (limited to 'testsuites/support')
-rw-r--r--testsuites/support/src/tmtests_empty_function.c20
1 files changed, 20 insertions, 0 deletions
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.h>
+
+rtems_status_code benchmark_timer_empty_function( void )
+{
+ return RTEMS_SUCCESSFUL;
+}