]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MEDIUM] poll: add a measurement of idle vs work time
authorWilly Tarreau <w@1wt.eu>
Sat, 10 Sep 2011 14:56:42 +0000 (16:56 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 10 Sep 2011 16:01:41 +0000 (18:01 +0200)
commit45a1251515e4a67450c85aedc2f1a20ed581bfa6
treed47d5a8e9c0b81051eb9ccda6941ec34bef43579
parentf9042060c9db073e3e4143b87fec236c4f9f4e74
[MEDIUM] poll: add a measurement of idle vs work time

We now measure the work and idle times in order to report the idle
time in the stats. It's expected that we'll be able to use it at
other places later.
include/common/time.h
src/dumpstats.c
src/ev_epoll.c
src/ev_kqueue.c
src/ev_poll.c
src/ev_select.c
src/ev_sepoll.c
src/time.c