• Yonghong Song's avatar
    fix test_libbcc failure with 4.15. · c40b5fd6
    Yonghong Song authored
    The test sleeps one second and expects the perf counter to
    be one second or more. But in reality (probably esp. in VM
    which I conducted my experiments), I mostly saw counters
    between 0.9s - 1s and occasionally 0.8s - 0.9s.
    
    So be a little bit conservative here when checking the
    result.
    Signed-off-by: default avatarYonghong Song <yhs@fb.com>
    c40b5fd6
test_perf_event.cc 4.7 KB