Re: [PATCH v6 03/10] KVM: selftests: Use flag CLOCK_MONOTONIC_RAW for timing

From: Paolo Bonzini
Date: Sat Apr 17 2021 - 09:24:21 EST


On 30/03/21 10:08, 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@xxxxxxxxxx>
Signed-off-by: Yanan Wang<wangyanan55@xxxxxxxxxx>
Reviewed-by: Ben Gardon<bgardon@xxxxxxxxxx>
Reviewed-by: Andrew Jones<drjones@xxxxxxxxxx>

I'm not sure about this one, is the effect visible?

Paolo