summaryrefslogtreecommitdiffstats
path: root/plugins/alsa/time_utils.h
diff options
context:
space:
mode:
authorThierry Bultel <thierry.bultel@iot.bzh>2018-07-20 12:25:22 +0200
committerThierry Bultel <thierry.bultel@iot.bzh>2018-07-20 12:25:22 +0200
commit712b3a2cda69422931b26283054e476e3d554a06 (patch)
tree108906755159da8c87c8d4d3fa0871b134c4c35d /plugins/alsa/time_utils.h
parentafc7d62d02c523f3d3adc29f713f5a4395ca3f58 (diff)
added ringbuffer and time utils
Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
Diffstat (limited to 'plugins/alsa/time_utils.h')
-rw-r--r--plugins/alsa/time_utils.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/plugins/alsa/time_utils.h b/plugins/alsa/time_utils.h
new file mode 100644
index 0000000..ece4e17
--- /dev/null
+++ b/plugins/alsa/time_utils.h
@@ -0,0 +1,9 @@
+#ifndef __INC_TIME_H
+#define __INC_TIME_H
+
+#include <stdint.h>
+
+extern uint64_t now_monotonic_usec();
+extern uint64_t ts();
+
+#endif /* __INC_TIME_H */