Messages in this thread | | | Date | Fri, 12 Mar 2021 12:17:26 +0100 | From | Andrew Jones <> | Subject | Re: [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>
| |