diff options
author | Eric Wong <normalperson@yhbt.net> | 2011-03-11 13:35:47 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2011-03-11 13:35:47 -0800 |
commit | 154842a48c0baba66daf744f3be06fd8701b9638 (patch) | |
tree | a7abcf9857705b18d7710c06d3542bed04fff412 | |
parent | 666cb9c38fd132ec8bee0b7860b6cf30db0f9b41 (diff) | |
download | raindrops-154842a48c0baba66daf744f3be06fd8701b9638.tar.gz |
It's useful, yes.
-rw-r--r-- | ext/raindrops/linux_tcp_info.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/raindrops/linux_tcp_info.c b/ext/raindrops/linux_tcp_info.c index 4aa1c0e..1a2048c 100644 --- a/ext/raindrops/linux_tcp_info.c +++ b/ext/raindrops/linux_tcp_info.c @@ -87,6 +87,11 @@ void Init_raindrops_linux_tcp_info(void) * are defined corresponding to the "tcpi_" fields in the * tcp_info struct. * + * In particular, the +last_data_recv+ field is useful for measuring + * the amount of time a client spent in the listen queue before + * +accept()+, but only if +TCP_DEFER_ACCEPT+ is used with the + * listen socket (it is on by default in Unicorn). + * * - state * - ca_state * - retransmits |