experimental benchmar support
[libc-test] / common / test.h
index b403c05..ed8adda 100644 (file)
@@ -1,2 +1,9 @@
+/* use it in test_ functions */
 #define error(...) error__(__FILE__, __LINE__, __VA_ARGS__)
 void error__(const char *n, int l, const char *s, ...);
+
+/* use it in bench_ functions */
+extern int N;
+void start_timer(void);
+void stop_timer(void);
+void reset_timer(void);