aboutsummaryrefslogtreecommitdiff
path: root/include/lib/time.h
blob: fd3c6befea95f915b88ee4c5f33335cd8aea384b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#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