aboutsummaryrefslogtreecommitdiff
path: root/include/lib/time.h
blob: aebc6edcc30834757c48cbef42b6055faeb968e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef INC_LIB_TIME_H
#define INC_LIB_TIME_H

#include <time.h>

//-----------------------------------------------
// Difference in Time
// Compute the difference between timespec structs
double diff_time(struct timespec *time1, struct timespec *time0);

//-----------------------------------------------
// Get Current Time
void get_time(struct timespec *ts);

#endif