[LTP] [PATCH] timer_getoverrun/2-3: increase tolerance for overshoot
Joerg Vehlow
lkml@jv-coder.de
Fri Oct 18 10:02:13 CEST 2019
Hi,
Am 18.10.2019 um 09:58 schrieb Jan Stancek:
> ----- Original Message -----
>> Hi!
>> I wonder if we can measure the sleep with monotonic clock, then we can
>> be more precise, since we would know how much we overshoot. But it's
>> probably not worth of complicating the code.
>>
>> Either way I'm fine with this version as well, acked.
> I pushed current patch. If we find it's still causing issues
> I'll look into the idea with monotonic clock.
>
Thanks for fixing this. I'd like to mention, that CLOCK_MONOTONIC is an
optionalfeature in posix. I do not know if there are systems missing it,
that might run these test.
Jörg
More information about the ltp
mailing list