From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Stancek Date: Fri, 18 Oct 2019 03:58:56 -0400 (EDT) Subject: [LTP] [PATCH] timer_getoverrun/2-3: increase tolerance for overshoot In-Reply-To: <20191017125442.GB31415@rei.lan> References: <77c71c80-0ca2-6f67-d628-d337a13539d7@jv-coder.de> <81c89bbde27ede0ef4291df60186bdcd293a3db5.1571219422.git.jstancek@redhat.com> <20191017125442.GB31415@rei.lan> Message-ID: <908344166.6934710.1571385536128.JavaMail.zimbra@redhat.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ltp@lists.linux.it ----- 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, Jan