On Sat, Jan 22, 2011 at 08:33, Poul-Henning Kamp <[email protected]> wrote:

>
> I like the idea.
>
> Would it be possible to make the formula for deriving the counter
> part of the VSC_D() macro ?
>
> Something like:
>
>        VSC_D(s_avoidedbytes,          uint64_t, 0, 'a',
>           "Avoided backend bytes (derive d)",
>           ((ptr)->s_hdrbytes + (ptr)->s_bodybytes ...))
>
>
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).

-Martin


-- 
Martin Blix Grydeland
Varnish Software AS
_______________________________________________
varnish-dev mailing list
[email protected]
http://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev

Reply via email to