osmo-pcu/tests
Pau Espin 1de6873810 Use clock_gettime(CLOCK_MONOTONIC) and timespec everywhere
We should really be using monotonic clock in all places that
gettimeofday is used right now. Since clock_gettime() uses timespec,
let's move all code to use timespecs instead to avoid having to convert
in several places between timespec and timeval.
Actually use osmo_clock_gettime() shim everywhere to be able to control
the time everywhere from unit tests.

Change-Id: Ie265d70f8ffa7dbf7efbef6030505d9fcb5dc338
2020-03-16 10:31:56 +00:00
..
alloc tests/alloc: fix implicit conversion from 'double' to 'int8_t' 2020-01-29 06:17:50 +07:00
app_info tests/app_info: fix compiling with older g++ 2019-09-18 13:58:42 +02:00
bitcomp decompress_crbb: add length argument for search_runlen 2019-06-24 13:51:06 +00:00
codel Use clock_gettime(CLOCK_MONOTONIC) and timespec everywhere 2020-03-16 10:31:56 +00:00
edge Remove undefined param passed to {logging,osmo_stats}_vty_add_cmds 2019-08-05 14:30:47 +02:00
emu Introduce osmo_tdef infra and timer VTY commands 2019-09-12 14:17:07 +02:00
fn use osmo_init_logging2() with proper talloc ctx 2018-04-01 16:57:42 +02:00
llc Use clock_gettime(CLOCK_MONOTONIC) and timespec everywhere 2020-03-16 10:31:56 +00:00
llist llist: Add missing const qualifier in llist cast method 2015-08-24 12:23:50 +02:00
ms Move out tbf subclasses from tbf.h to their own headers 2019-09-25 17:50:06 +02:00
rlcmac csn1: fix: do not return 0 if no bits left in the buffer 2020-03-11 19:55:55 +00:00
tbf Check return code of rlcmac decode/encode functions 2020-02-05 17:26:02 +01:00
types Move out tbf subclasses from tbf.h to their own headers 2019-09-25 17:50:06 +02:00
Makefile.am tests/rlcmac: additionally match debug output of the CSN.1 codec 2020-02-17 02:30:58 +07:00
testsuite.at tests/rlcmac: additionally match debug output of the CSN.1 codec 2020-02-17 02:30:58 +07:00