Esempio n. 1
0
def pass_criteria():
    """Define pass criteria for the statistics."""
    arch = platform.machine()
    host_kernel = get_kernel_version(level=1)
    return {
        "Avg": criteria.EqualWith(LATENCY_AVG_BASELINES[arch][host_kernel])
    }
Esempio n. 2
0
def pass_criteria():
    """Define pass criteria for the statistics."""
    return {
        "Avg": criteria.EqualWith(LATENCY_AVG_BASELINES[platform.machine()])
    }