summaryrefslogtreecommitdiff
path: root/src/utils/time.h
blob: 6d5f2f6f57cbbd29870cfbae414a770c7e20d085 (plain)
1
2
3
4
5
6
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);