Implement the run command.
[dss.git] / time.h
diff --git a/time.h b/time.h
new file mode 100644 (file)
index 0000000..97b3065
--- /dev/null
+++ b/time.h
@@ -0,0 +1,8 @@
+int tv_diff(const struct timeval *b, const struct timeval *a, struct timeval *diff);
+long unsigned tv2ms(const struct timeval*);
+void d2tv(double, struct timeval*);
+void tv_add(const struct timeval*, const struct timeval *, struct timeval *);
+void tv_scale(const unsigned long, const struct timeval *, struct timeval *);
+void tv_divide(const unsigned long divisor, const struct timeval *tv,
+       struct timeval *result);
+void ms2tv(const long unsigned n, struct timeval *tv);