bench: pass N as argument, update readme
[libc-test] / common / test.h
index b403c05..f1abf56 100644 (file)
@@ -1,2 +1,8 @@
+/* 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 */
+void start_timer(void);
+void stop_timer(void);
+void reset_timer(void);