linux-listener-stats: use timerfd if available
commitb0be66c37bb7080b0f06ab76b0e7d3404e2f9059
authorEric Wong <normalperson@yhbt.net>
Mon, 14 Mar 2011 21:58:40 +0000 (14 14:58 -0700)
committerEric Wong <normalperson@yhbt.net>
Tue, 15 Mar 2011 01:16:52 +0000 (15 01:16 +0000)
tree01b10dbfc1075fa5059511b451ff13a3107923c2
parent65dc45b7a13c92b27bc3589e37a3b52c29b7fbee
linux-listener-stats: use timerfd if available

It is more accurate than sleep and doesn't require calculating
times
examples/linux-listener-stats.rb