Willy Tarreau 591fa59da7 MINOR: time: add conversions to/from nanosecond timestamps
In order to ease the transition away from the timeval used in internal
timestamps, let's first create a few functions and macro to return a
counter from a timeval and conversely, as well as ease the conversions
to/from ns/us/ms/sec to save the user from having to count zeroes and
to think about appending ULL in conversions.
2023-04-28 16:08:08 +02:00
..
2023-04-05 08:46:06 +02:00
2023-01-27 15:18:59 +01:00
2023-04-13 16:57:51 +02:00
2021-11-18 10:50:58 +01:00
2022-04-22 15:45:47 +02:00
2022-11-29 15:14:39 +01:00
2022-12-22 16:22:39 +01:00
2023-02-06 07:53:03 +01:00
2022-12-01 15:25:34 +01:00