code: def get_latency_average_percentile(self):
          
          (_, _, time_interval) = self.recurrent_works[21]
          last_time = time.time() - time_interval
          latencies = [s.latency for s in self.services if s.last_chk > last_time]
          lat_avg, lat_min, lat_max = average_percentile(latencies)
          if lat_avg is not None:
              self.stats['latency']['avg'] = lat_avg
              self.stats['latency']['min'] = lat_min
              self.stats['latency']['max'] = lat_max
              logger.debug("Latency (avg/min/max): %.2f/%.2f/%.2f", lat_avg, lat_min, lat_max)
docs: Get a overview of the latencies with just a 95 percentile + min/max values
  
          :return: None