'Args:
bucket_size (int): Size of buckets in ms. Corresponds roughly to the
accuracy of the timer.'

def __init__(self, bucket_size=5000):

    self.bucket_size = bucket_size
    self.entries = []
    self.current_tick = 0
