lkml.org 
[lkml]   [2021]   [Mar]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [RFC PATCH v4 3/9] KVM: selftests: Use flag CLOCK_MONOTONIC_RAW for timing
    On Tue, Mar 02, 2021 at 08:57:45PM +0800, Yanan Wang wrote:
    > In addition to function of CLOCK_MONOTONIC, flag CLOCK_MONOTONIC_RAW can
    > also shield possiable impact of NTP, which can provide more robustness.
    >
    > Suggested-by: Vitaly Kuznetsov <vkuznets@redhat.com>
    > Signed-off-by: Yanan Wang <wangyanan55@huawei.com>
    > Reviewed-by: Ben Gardon <bgardon@google.com>
    > ---
    > tools/testing/selftests/kvm/demand_paging_test.c | 8 ++++----
    > tools/testing/selftests/kvm/dirty_log_perf_test.c | 14 +++++++-------
    > tools/testing/selftests/kvm/lib/test_util.c | 2 +-
    > tools/testing/selftests/kvm/steal_time.c | 4 ++--
    > 4 files changed, 14 insertions(+), 14 deletions(-)
    >

    Reviewed-by: Andrew Jones <drjones@redhat.com>

    \
     
     \ /
      Last update: 2021-03-12 12:18    [W:4.229 / U:0.028 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site