MINOR: clock: replace the timeval start_time with start_time_ns
authorWilly Tarreau <w@1wt.eu>
Fri, 28 Apr 2023 12:50:29 +0000 (14:50 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 28 Apr 2023 14:08:08 +0000 (16:08 +0200)
commitc05d30e9d8f55ff7f04741c7ae836f74c703822a
tree529c43711283aab5dcc36d67cbfa6960ae4173e7
parent69530f59ae3a3b4db560a57139669737656b16c5
MINOR: clock: replace the timeval start_time with start_time_ns

Now that "now" is no more a timeval, there's no point keeping a copy
of it as a timeval, let's also switch start_time to nanoseconds, it
simplifies operations.
include/haproxy/clock.h
src/activity.c
src/clock.c
src/haproxy.c
src/hlua_fcn.c
src/stats.c