From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 5380 invoked from network); 30 Apr 2021 09:51:27 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 30 Apr 2021 09:51:27 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1619776287; b=KDV00hcNGuyMDiONuJOhLms1a1aZG14HmJfaALbI2VAmtv9YJvPr5EtukpvZOvdr3ouUt/b0SU Dqg/0gKThJCgPiS2zd4Auc6l5B+HUtXn1bOalp71ZlpjCNQCdjHdzIQrckZSmruxJ1Do9zBDQM nJLAGFuNAER+Ta8TJz8scJ3ptQAMgkEIf1u3guKKo1hVcE1myEot1ckRZHZ2rM4lm7mjmU922l ntbij6Ux7cgZuA3EsBntZ4vaFNnpWRkL78n3ouaZHyOZbCif2UNrvttUvzzkPr58gsFhzDl4Jj tvPyEjZeBe9q07pno/whYAW0qIT3LwS+3tGOzY9XBhbTvQ==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (joooj.vinc17.net) smtp.remote-ip=155.133.131.76; dmarc=none header.from=vinc17.net; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20200801; t=1619776287; bh=RrEmIiAgHs1fYRrWlMB9X5ugZH9Qw900B7X6TGrCkd8=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:MIME-Version: Message-ID:Subject:To:From:Date:DKIM-Signature; b=EbIe0soDpP7cPSsChgRQYhXPzhPsk/it/6zGDMIftz6UtxMPz7afGxY5If9M68zpQNzF7GquD5 Chn2OBjiZQGhwhfzTSoJ0jWUK3NofhV8ejnxjLiCVsedIbtunIqApgwnomqG1w3iOe9mccJiIe RsFiZyuohPgBtbLzvoyvNOtRXI6/2SA9dYKAZ0ONgFKKGAuAWup0vbdrUJgXTWVRgfysSvvV+5 Y+VY0AyEY/UZ51rsONJ/jT2Rv8vPl9rCDQfX4RG0PMOp8zPUrkhf3XqoyOoduqsgYIdbnXxnEI FPTemnx8C/4zdo/z19ctIFiHkFilZ6uqsP4vfkIuylHtAw==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20200801; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Transfer-Encoding: Content-Type:MIME-Version:Message-ID:Subject:To:From:Date:Reply-To:Cc: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References; bh=xShpypsLkmkEsLqQY7dBuW9yPOueeiS1SRjo9+vP2IQ=; b=Z7smxEb+Fvd0esNvB2c6ebzYpU AZM9BnGSeyTOvqy9HRCtQ/7bqltCVvgqKcobUA1njO5aBX+IaZTw6UINyi0gqzGt8knlNDbtyycm0 8VYwjEy+NiX1gEjfTRBzppm/fAIwl4Rss7v6VlyTPz/52YEINE7NpQJ5NJyfh9CqMfF1dwztHx9w3 PCNTZ5k7fzqs6XBiQiiqPv4Tbx3UMeCRwO9vIz5WRw99lofBoM3iq5nisBPLtMSpzFzOfTVF8jMra UJ+h08n1df6igLhAop8atO703A9USilRwIwdbHCthCkpDDuNleJNU2nvPrj6dETOo71ral8HmJWyj Xnhxsv5Q==; Received: from authenticated user by zero.zsh.org with local id 1lcPnz-000Geo-5u; Fri, 30 Apr 2021 09:51:27 +0000 Authentication-Results: zsh.org; iprev=pass (joooj.vinc17.net) smtp.remote-ip=155.133.131.76; dmarc=none header.from=vinc17.net; arc=none Received: from joooj.vinc17.net ([155.133.131.76]:55920) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1lcPnZ-000GJ7-7D; Fri, 30 Apr 2021 09:51:01 +0000 Received: from smtp-zira.vinc17.net (lfbn-tou-1-1431-42.w90-89.abo.wanadoo.fr [90.89.233.42]) by joooj.vinc17.net (Postfix) with ESMTPSA id 0D1A6DE; Fri, 30 Apr 2021 11:51:00 +0200 (CEST) Received: by zira.vinc17.org (Postfix, from userid 1000) id 6C7ECC2156C; Fri, 30 Apr 2021 11:50:58 +0200 (CEST) Date: Fri, 30 Apr 2021 11:50:57 +0200 From: Vincent Lefevre To: zsh-workers@zsh.org Subject: miscomputation of total time? Message-ID: <20210430095057.GA1181586@zira.vinc17.org> Mail-Followup-To: zsh-workers@zsh.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Mailer-Info: https://www.vinc17.net/mutt/ User-Agent: Mutt/2.0.6+169 (acb2bdd4) vl-137001 (2021-04-28) X-Seq: 48750 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: I use REPORTTIME=60, and on a Debian 10 machine (I haven't tried on others) with zsh 5.7.1, I've noticed that the fraction of second in the total time (the 2 digits between the period and " total") is not random as expected: on the 370 runs in the past few months, I get a value always between 17 and 99. Moreover, values from 17 to 47 occur much more often than values from 48 to 99 (325 values vs 45). Statistically, these values should be random between 00 and 99. Is there an error in the computation of the total time? Here are the 370 values after sorting them: 17 17 18 18 18 18 18 18 19 19 19 19 19 19 19 19 19 19 20 20 20 20 20 20 20 20 20 21 21 21 21 21 21 21 21 21 21 21 21 21 22 22 22 22 22 22 22 22 22 22 22 22 22 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 24 24 24 24 24 24 24 24 24 24 24 24 24 24 24 24 25 25 25 25 25 25 25 25 25 25 25 25 25 25 26 26 26 26 26 26 26 26 26 26 26 26 26 26 26 26 26 26 26 26 27 27 27 27 27 27 27 27 27 27 27 27 27 27 27 27 27 27 27 27 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 29 29 29 29 29 29 29 29 29 30 30 30 30 30 30 30 30 30 30 31 31 31 31 31 31 31 31 31 31 31 31 31 31 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 33 33 33 33 33 33 33 33 33 33 33 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 35 35 35 35 35 35 35 35 35 35 35 35 35 35 36 36 36 36 36 36 36 36 36 36 36 37 37 37 37 37 37 37 37 37 37 37 37 37 37 38 38 38 38 38 38 38 39 39 39 39 39 40 40 40 40 40 40 40 41 41 41 41 42 42 43 43 43 43 43 43 43 44 44 45 45 45 46 46 46 46 47 47 47 47 47 47 47 47 48 48 48 49 49 50 50 51 52 52 52 52 53 53 54 54 55 57 58 58 58 59 60 60 62 62 64 65 66 67 67 68 69 72 73 77 83 83 85 86 86 87 91 97 99 -- Vincent Lefèvre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)