summaryrefslogtreecommitdiffstats
path: root/testsuites/support
diff options
context:
space:
mode:
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;
+}