Add timestamps to libdivecomputer.log

Since I learned while trying to implement this that getting sub-second
resolution time in portable C99 is hard (especially for someone who is
used to the comfort of std::chrono and Howard Hinnants date library) the
timer-implemetation from libdivecomputer is now copied to the subsurface
source.

Signed-off-by: Christof Arnosti <charno@charno.ch>
This commit is contained in:
Christof Arnosti 2020-03-10 22:58:24 +01:00 committed by Dirk Hohndel
parent b6163804fd
commit cb28158b9a
4 changed files with 229 additions and 2 deletions

View file

@ -159,6 +159,8 @@ set(SUBSURFACE_CORE_LIB_SRCS
taxonomy.c
taxonomy.h
time.c
timer.c
timer.h
trip.c
trip.h
uemis-downloader.c