Re: Delay pools work: delayed pool assignment ACL; statistics

From: Amos Jeffries <squid3@dont-contact.us>
Date: Mon, 31 Mar 2008 18:17:33 +1300

Alex Rousskov wrote:
> On Mon, 2008-03-31 at 14:29 +1300, Amos Jeffries wrote:
>>> Hi,
>>>
>>> I've tidied up kikov's patch implementing delayed pool assignments for
>>> delay pools and I've included statistics for aggregate and network bucket
>>> bytes transferred.
>>>
>>> The statistics stuff works fine. It breaks on reconfigure ; but apparently
>>> delay pools breaks on reconfigure. I'll try to sort that out at a later
>>> date
>>> if there's any interest.
>>>
>>> The work is here:
>>>
>>> http://www.creative.net.au/diffs/s2_delaywork.diff
>>>
>>> I need to figure out a clean way of printing unsigned 64 bit ints in a
>>> reasonably
>>> platform portable method. Does anyone have any ideas?
>> Squid-3 uses: %"PRId64"
>
> Or just "<<" where possible, right?

Hopefully. I haven't really studied what types are done that way.
Adrian was looking for the C output though, <<, won't work in Squid-2.

Looks like there is a PRIu64 also in use in a few places Adrian.

Amos

-- 
Please use Squid 2.6STABLE19 or 3.0STABLE2
Received on Sun Mar 30 2008 - 23:17:27 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Apr 01 2008 - 13:00:10 MDT