A 64bit atomic_couter_t would be great from my point of view.

On Wed, Jan 18, 2012 at 2:26 AM, rchertov <[email protected]> wrote:

> So at some point Eddie introduced counter_t type, which is either 32bit
> or 64 bit depending on the machine architecture.  However,
> AverageCounter still uses atomic_uint32_t.  On a 10GE network, byte_rate
> wraps around quite rapidly, so a 64bit value would be useful.  I suppose
> one approach would be create atomic_counter_t which is either 32 or 64
> bit, or the alternate approach would be to use counter_t along with a
> lock.  Eddie which version would you prefer?
>
> Roman
> _______________________________________________
> click mailing list
> [email protected]
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>
_______________________________________________
click mailing list
[email protected]
https://amsterdam.lcs.mit.edu/mailman/listinfo/click

Reply via email to