def calculate_latency(time): log_debug_message('START') time.sort() latency = np.median(time) log_debug_message('FINISH') return latency
def calculate_latency(time): time.sort() latency = np.median(time) return latency