X-Git-Url: http://git.tuebingen.mpg.de/?p=dss.git;a=blobdiff_plain;f=tv.h;h=ca49b1db96c68e4a917c3e1664868c061f79e372;hp=f2021e0834591de533598fe486639cbfa95a4b81;hb=56f81b0dfa62bb5bf2c338733d9370a8b11bfc39;hpb=46cbddf465bd66ba1d5c4bcc780ae0d65abd7f73 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);