mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-08 12:33:42 +02:00
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.