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

    return (b - a) / float(delta)
def Counter64(a, b, delta):
    if b < a:
        c = 18446744073709551615 - a
        return (c + b) / float(delta)

    return (b - a) / float(delta)
def Counter64 ( a , b , delta ) : if b < a : c = 18446744073709551615 - a return ( c + b ) / float ( delta ) return ( b - a ) / float ( delta )
64bit counter aggregator with wrapping
64bit counter aggregator with wrapping