Binder add ints benchmark
Change-Id: Id05879404db8255264ee7f573e10a3f06ead8115
diff --git a/tests/include/testUtil.h b/tests/include/testUtil.h
index d1d0954..8199c03 100644
--- a/tests/include/testUtil.h
+++ b/tests/include/testUtil.h
@@ -22,15 +22,18 @@
#include <stdio.h>
#include <sys/time.h>
-#ifdef __cplusplus
-extern "C" {
-#endif
+__BEGIN_DECLS
// Time Utilities
-double tv2double(const struct timeval *val);
struct timespec double2ts(double amt);
+struct timeval double2tv(double amt);
+double ts2double(const struct timespec *val);
+double tv2double(const struct timeval *val);
+struct timespec tsDelta(const struct timespec *first,
+ const struct timespec *second);
struct timeval tvDelta(const struct timeval *first,
const struct timeval *second);
+
void delay(float amt);
// Pseudo Random Utilities
@@ -47,8 +50,6 @@
testPrint(stderr, __VA_ARGS__); \
} while (0)
-#ifdef __cplusplus
-}
-#endif
+__END_DECLS
#endif