commit | ad5a5f677974d1dd16aa29c614e79fbe0e7d573f | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Apr 27 09:46:02 2023 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri Apr 28 16:08:08 2023 +0200 |
tree | cadbc00f9adcd9b5fb5f254fff2d9597eb4527f7 | |
parent | aaebcae58b0ab38e4f47dcc74e1e7ab3e7cb7a20 [diff] |
MEDIUM: tree-wide: replace timeval with nanoseconds in tv_accept and tv_request Let's get rid of timeval in storage of internal timestamps so that they are no longer mistaken for wall clock time. These were exclusively used subtracted from each other or to/from "now" after being converted to ns, so this patch removes the tv_to_ns() conversion to use them natively. Two occurrences of tv_isge() were turned to a regular wrapping subtract.