]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MINOR] introduce now_ms, the current date in milliseconds
authorWilly Tarreau <w@1wt.eu>
Sun, 29 Jun 2008 11:47:25 +0000 (13:47 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 29 Jun 2008 11:47:25 +0000 (13:47 +0200)
commite6313a37d6c5db34a5a0338e1220b031381d2518
treeb44990616af3cd3fcbf1180e6e91df29563f9b1f
parente62bdd40268d8f268e694cace998537f4cc0f508
[MINOR] introduce now_ms, the current date in milliseconds

This new time value will be used to compute timeouts and wait queue
positions. The operation is made once for all when time is retrieved.
A future improvement might consist in having it in ticks of 1/1024
second and to convert all timeouts into ticks.
include/common/time.h
src/time.c