diff options
Diffstat (limited to 'src/time.c')
-rw-r--r-- | src/time.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/time.c b/src/time.c deleted file mode 100644 index b2dcdea..0000000 --- a/src/time.c +++ /dev/null @@ -1,10 +0,0 @@ -#include "../include/time.h" -#include <time.h> - -double clock_get_monotonic_seconds() { - struct timespec ts; - ts.tv_sec = 0; - ts.tv_nsec = 0; - clock_gettime(CLOCK_MONOTONIC, &ts); - return (double)ts.tv_sec + (double)ts.tv_nsec * 0.000000001; -} |