def calculate_latency(time):
    log_debug_message('START')

    time.sort()
    latency = np.median(time)

    log_debug_message('FINISH')
    return latency
Ejemplo n.º 2
0
def calculate_latency(time):
    time.sort()
    latency = np.median(time)
    return latency