def __init__(self):
    self.time = time.perf_counter()
    self.frame_times = collections.deque(maxlen=60)
def __init__(self):
    self.time = time.perf_counter()
    self.frame_times = collections.deque(maxlen=60)