tensor/aggregators.py
def Counter32(a, b, delta):
    """32bit counter aggregator with wrapping
    """
    if b < a:
        c = 4294967295 - a
        return (c + b) / float(delta)

    return (b - a) / float(delta)
def Counter32(a, b, delta):
    """32bit counter aggregator with wrapping
    """
    if b < a:
        c = 4294967295 - a
        return (c + b) / float(delta)

    return (b - a) / float(delta)
32bit counter aggregator with wrapping