Re: [RFC PATCH v2 2/7] KVM: selftests: Use flag CLOCK_MONOTONIC_RAW for timing

2021-02-25 Thread wangyanan (Y)
On 2021/2/26 2:54, Andrew Jones wrote: On Thu, Feb 25, 2021 at 01:59:35PM +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. IIRC, this should include Suggested-by: Vitaly K

Re: [RFC PATCH v2 2/7] KVM: selftests: Use flag CLOCK_MONOTONIC_RAW for timing

2021-02-25 Thread Andrew Jones
On Thu, Feb 25, 2021 at 01:59:35PM +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. IIRC, this should include Suggested-by: Vitaly Kuznetsov > > Signed-off-by: Yanan Wan

[RFC PATCH v2 2/7] KVM: selftests: Use flag CLOCK_MONOTONIC_RAW for timing

2021-02-24 Thread Yanan Wang
In addition to function of CLOCK_MONOTONIC, flag CLOCK_MONOTONIC_RAW can also shield possiable impact of NTP, which can provide more robustness. Signed-off-by: Yanan Wang --- tools/testing/selftests/kvm/demand_paging_test.c | 8 tools/testing/selftests/kvm/dirty_log_perf_test.c | 14 +