<div class="gmail_quote">On Sat, Jan 22, 2011 at 08:33, Poul-Henning Kamp <span dir="ltr"><<a href="mailto:phk@phk.freebsd.dk">phk@phk.freebsd.dk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
I like the idea.<br>
<br>
Would it be possible to make the formula for deriving the counter<br>
part of the VSC_D() macro ?<br>
<br>
Something like:<br>
<br>
        VSC_D(s_avoidedbytes,          uint64_t, 0, 'a',<br>
           "Avoided backend bytes (derive d)",<br>
           ((ptr)->s_hdrbytes + (ptr)->s_bodybytes ...))<br>
<font color="#888888"></font><br></blockquote><div><br>Yes - I can make the feature more completely automated by macro definitions. I will look into this when I get back from my vacation (leaving now and will be gone the next 14 days).<br>
<br>-Martin<br></div></div><br clear="all"><br>-- <br>Martin Blix Grydeland<br>Varnish Software AS<br><br>