def __init__(self, *, n_samples=1000, units_suffix='', units_format='.2f', name=None):
        super().__init__()

        self.name: str = name
        self.queue_samples = deque(maxlen=n_samples)
        self.total = 0
        self.last = 0
        self.units_str = units_suffix
        self.units_format = units_format