about summary refs log tree commit diff
path: root/src/time/timer_getoverrun.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/time/timer_getoverrun.c')
-rw-r--r--src/time/timer_getoverrun.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/time/timer_getoverrun.c b/src/time/timer_getoverrun.c
new file mode 100644
index 00000000..1334e451
--- /dev/null
+++ b/src/time/timer_getoverrun.c
@@ -0,0 +1,7 @@
+#include <time.h>
+#include "pthread_impl.h"
+
+int timer_getoverrun(timer_t t)
+{
+	return syscall(SYS_timer_getoverrun, t->timerid);
+}