(self)
reset histogram to initial state
reset histogram to initial state
reset histogram to initial state
def clear(self):
        "reset histogram to initial state"
        with self.lock:
            self.sample.clear()
            self.counter = 0.0
            self.max = -2147483647.0
            self.min = 2147483647.0
            self.sum = 0.0
            self.var = [-1.0, 0.0]
def clear ( self ) : with self . lock : self . sample . clear ( ) self . counter = 0.0 self . max = - 2147483647.0 self . min = 2147483647.0 self . sum = 0.0 self . var = [ - 1.0 , 0.0 ]