Patrick McLean
ebced74b19
Add isc_time_now_hires function to get current time with high resolution
...
The current isc_time_now uses CLOCK_REALTIME_COARSE which only updates
on a timer tick. This clock is generally fine for millisecond accuracy,
but on servers with 100hz clocks, this clock is nowhere near accurate
enough for microsecond accuracy.
This commit adds a new isc_time_now_hires function that uses
CLOCK_REALTIME, which gives the current time, though it is somewhat
expensive to call. When microsecond accuracy is required, it may be
required to use extra resources for higher accuracy.
2021-03-20 11:25:55 -07:00
..
2021-03-20 11:25:55 -07:00
2021-03-19 16:25:28 +01:00
2021-02-25 16:21:10 +01:00
2021-03-20 11:25:55 -07:00
2021-03-20 11:25:55 -07:00
2021-03-20 11:25:55 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2021-02-25 16:21:10 +01:00
2020-09-14 16:20:40 -07:00
2020-10-22 11:37:16 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2021-03-01 14:24:57 +01:00
2021-02-25 16:21:10 +01:00
2020-09-14 16:20:40 -07:00
2021-03-01 14:24:57 +01:00
2020-09-14 16:20:40 -07:00
2021-02-18 19:33:54 +01:00
2021-02-26 10:05:42 -08:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2021-01-25 09:19:22 +01:00
2021-01-25 09:19:22 +01:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-12-01 16:47:07 +01:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-12-08 18:36:23 +01:00
2020-12-08 18:36:23 +01:00
2021-03-05 13:29:26 +02:00
2021-02-25 16:21:10 +01:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-11-10 14:16:27 +01:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2021-02-25 16:21:10 +01:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2021-02-18 19:33:54 +01:00
2021-03-17 20:05:47 +00:00
2020-09-14 16:20:40 -07:00
2021-02-25 16:21:10 +01:00
2021-02-25 16:21:10 +01:00
2021-03-15 14:18:03 +11:00
2020-09-14 16:20:40 -07:00