From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-out.m-online.net (mail-out.m-online.net [IPv6:2001:a60:0:28:0:1:25:1]) by sourceware.org (Postfix) with ESMTPS id 9BC4B3858004 for ; Mon, 22 Mar 2021 11:29:49 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 9BC4B3858004 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: sourceware.org; spf=none smtp.mailfrom=lukma@denx.de Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4F3sjS2K14z1rypg; Mon, 22 Mar 2021 12:29:48 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4F3sjS1hmjz1qv9y; Mon, 22 Mar 2021 12:29:48 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id k0nr_WWvp8Qx; Mon, 22 Mar 2021 12:29:45 +0100 (CET) X-Auth-Info: h2TIRLj985jJYNzyX2IbkFHrUqHfwix/63l0sE6qoao= Received: from jawa (85-222-111-42.dynamic.chello.pl [85.222.111.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Mon, 22 Mar 2021 12:29:45 +0100 (CET) Date: Mon, 22 Mar 2021 12:29:44 +0100 From: Lukasz Majewski To: Andreas Schwab Cc: Florian Weimer , GNU C Library , Joseph Myers , Adhemerval Zanella Subject: Re: [PATCH] tst: Provide test for getrusage Message-ID: <20210322122944.5bfa014e@jawa> In-Reply-To: <87sg4toiin.fsf@igel.home> References: <20210315104223.32542-1-lukma@denx.de> <87wnu83cun.fsf@igel.home> <20210315145609.443f55ec@jawa> <20210317170429.2dd9fc6f@jawa> <87sg4toiin.fsf@igel.home> Organization: denx.de X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/f.PQoS86oBFgP0FxFA+1qOz"; protocol="application/pgp-signature" X-Spam-Status: No, score=-0.2 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Mar 2021 11:29:50 -0000 --Sig_/f.PQoS86oBFgP0FxFA+1qOz Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Andreas, > On M=C3=A4r 17 2021, Lukasz Majewski wrote: >=20 > > Maybe you (or anybody else from the community) have a better idea > > on how to force the process to be "running" (active) for some time? > > =20 >=20 > You don't get real-time scheduling on Unix. You always have to > account for a process stalling for an arbitrary amount of time. >=20 > Andreas. >=20 I'm just looking for ideas on how to reliably test getrusage. Do you have any ideas? Best regards, Lukasz Majewski -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma@denx.de --Sig_/f.PQoS86oBFgP0FxFA+1qOz Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEgAyFJ+N6uu6+XupJAR8vZIA0zr0FAmBYf6gACgkQAR8vZIA0 zr3ZvAf9F9eRY6d9fU53wf+D7Qk/n1FlnyGpcPi1wkCUPvL7sfaGxu48iQ+Ftihc SZVuQhHrQm7MniAd/ofD1M8Z6EmUvrE0Mh36wqBgjAESWhVVNcLmg7/6oUGkURX0 HCDVOS6/O/1Wp4rzMbuz4Iw/PfRaTdvNMHZj4k45FxDoEGe1nBsRztzBTTkL8ty9 yxI52vdN38blebhSwMe605/1K986JJGDZBVFVFRdnh+PQa3IjRXuqzmnIPPgS62L nQemguzycNehhRlNwA4GMU4xtH/ABrYA5GZcPd37F7K780MQF5hAXPV/BzZPEAGj 7YmkQY1rOBSP4iMpTe3uZPtH2CEkUA== =OPgv -----END PGP SIGNATURE----- --Sig_/f.PQoS86oBFgP0FxFA+1qOz--