'Timeout any windows that have expired in the absence of any events'

def purge_obsolete_samples(self, config, now):

    expire_age = (config.samples * config.time_window_ms)
    for sample in self._samples:
        if ((now - sample.last_window_ms) >= expire_age):
            sample.reset(now)
