]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: mux-quic: measure QCS lifetime and its blocking state
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 31 Jul 2024 16:43:55 +0000 (18:43 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 7 Aug 2024 13:40:52 +0000 (15:40 +0200)
commit9f829ea3f34fd15bee50ca91fac8526077f77142
tree10fb575bffdfccb67a4cd1809d23a444896b2487
parenta6e2523ca1f3dcc90b050d75af62bb867a2acc07
MINOR: mux-quic: measure QCS lifetime and its blocking state

Reuse newly defined tot_time structure to measure various values related
to a QCS lifetime.

First, a timer is used to comptabilize the total QCS lifetime. Then, two
other timers are used to account the total time during which Tx from
stream layer to MUX is blocked, either on lack of buffer or due to
flow-control.

These three timers are reported in qmux_dump_qcs_info(). Thus, they are
available in traces and for QUIC MUX debug string sample.
include/haproxy/mux_quic-t.h
src/mux_quic.c
src/qmux_trace.c