def update(self, duration):
        if duration >= 0:
            self.histogram.update(duration)
            self.meter.mark()
Updates the L{Histogram} and marks the L{Meter}.
dataset/ETHPy150Open dreid/yunomi/yunomi/core/timer.py/Timer.update