commit | 76d343d3d371fb89053598db79e1f7a3e8c8a750 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Apr 27 09:21:20 2023 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri Apr 28 16:08:08 2023 +0200 |
tree | 03dcad09abc211c2b6da6d9d4e36a37bc12b19fb | |
parent | 591fa59da752af85be4ff45722f4bbd3178709b9 [diff] |
MINOR: time: replace calls to tv_ms_elapsed() with a linear subtract Instead of operating on {sec, usec} now we convert both operands to ns then subtract them and convert to ms. This is a first step towards dropping timeval from these timestamps. Interestingly, tv_ms_elapsed() and tv_ms_remain() are no longer used at all and could be removed.