diff options
Diffstat (limited to 'src/utils/time.h')
-rw-r--r-- | src/utils/time.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/utils/time.h b/src/utils/time.h new file mode 100644 index 0000000..6d5f2f6 --- /dev/null +++ b/src/utils/time.h @@ -0,0 +1,7 @@ +#pragma once + +#include <time.h> + +struct timespec time_diff(struct timespec end, struct timespec start); +struct timespec time_add(struct timespec left, struct timespec right); +void time_print(struct timespec time); |