MINOR: poller: move time and date computation out of the pollers
authorWilly Tarreau <w@1wt.eu>
Wed, 17 Oct 2018 12:31:19 +0000 (14:31 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 17 Oct 2018 17:59:43 +0000 (19:59 +0200)
commit7e9c4ae4de3e7dc36058763fd70aa0bb28541d0c
tree9d96f8a876c4562fc3a2969bfc0a75f580cff18e
parentf37ba94768b0890374e26b64fb8a0fae0a504bf5
MINOR: poller: move time and date computation out of the pollers

By placing this code into time.h (tv_entering_poll() and tv_leaving_poll())
we can remove the logic from the pollers and prepare for extending this to
offer more accurate time measurements.
include/common/time.h
src/ev_epoll.c
src/ev_kqueue.c
src/ev_poll.c
src/ev_select.c