comparison .hgtags @ 7939:9e7de0547f09

Removed CLOCK_MONOTONIC_COARSE support. While clock_gettime(CLOCK_MONOTONIC_COARSE) is faster than clock_gettime(CLOCK_MONOTONIC), the latter is fast enough on Linux for practical usage, and the difference is negligible compared to other costs at each event loop iteration. On the other hand, CLOCK_MONOTONIC_COARSE causes various issues with typical CONFIG_HZ=250, notably very inaccurate limit_rate handling in some edge cases (ticket #1678) and negative difference between $request_time and $upstream_response_time (ticket #1965).
author Maxim Dounin <mdounin@mdounin.ru>
date Thu, 21 Oct 2021 18:38:38 +0300
parents a525013b8296
children 82b750b20c52
comparison
equal deleted inserted replaced
7938:dc955d274130 7939:9e7de0547f09