X-Git-Url: http://git.tuebingen.mpg.de/?p=dss.git;a=blobdiff_plain;f=tv.h;h=ca49b1db96c68e4a917c3e1664868c061f79e372;hp=f2021e0834591de533598fe486639cbfa95a4b81;hb=bdeadb123f2930a6a927e2941f5314d3fda7268f;hpb=6c76799c7334a12926dc1cf0c32670423cbc954f diff --git a/tv.h b/tv.h index f2021e0..ca49b1d 100644 --- a/tv.h +++ b/tv.h @@ -1,9 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ + int tv_diff(const struct timeval *b, const struct timeval *a, struct timeval *diff); -long unsigned tv2ms(const struct timeval*); -void d2tv(double, struct timeval*); -void tv_add(const struct timeval*, const struct timeval *, struct timeval *); -void tv_scale(const unsigned long, const struct timeval *, struct timeval *); -void tv_divide(const unsigned long divisor, const struct timeval *tv, - struct timeval *result); -void ms2tv(const long unsigned n, struct timeval *tv); int64_t get_current_time(void);