From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [PATCH v2 1/3] Add gc-estimated-time variable Date: Sun, 22 Nov 2020 14:48:14 -0500 Message-ID: References: <87h7pij7xo.fsf@catern.com> <20201122050829.9097-1-sbaugh@catern.com> <83v9dxw9dr.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36959"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Spencer Baugh , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Nov 22 20:49:18 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kgvML-0009XL-SJ for ged-emacs-devel@m.gmane-mx.org; Sun, 22 Nov 2020 20:49:17 +0100 Original-Received: from localhost ([::1]:56802 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kgvMK-0004X9-VF for ged-emacs-devel@m.gmane-mx.org; Sun, 22 Nov 2020 14:49:16 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38548) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kgvLR-0003eu-KV for emacs-devel@gnu.org; Sun, 22 Nov 2020 14:48:21 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:56138) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kgvLP-0005tY-IQ; Sun, 22 Nov 2020 14:48:20 -0500 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 0557110022E; Sun, 22 Nov 2020 14:48:17 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 92CFD10001F; Sun, 22 Nov 2020 14:48:15 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1606074495; bh=nBL4i52oKSPSscIHUQUzGYkIXfUOqUgvWSST2PEsZzA=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=Kb+UX3ULO+bjfXvBN0zaB8XGASm1YAoIRZ7HkKIAbcW0xGbu/2zh92EaedHlnthlo wFGLarHqCdQ71h2UWuaUwqPAapnmdLox0XQCPHO82c0gXVyO7w94uboUzgS2+Ht5tR bOyOXxGgx4kd+cBhFsmpxdmfSiwEZb23bC/xvIzNQhEBE3Y45psObgkSDkSS8p66d4 kI1v9VTJ7TbA6ZK1hbp8B4nSkKhdVUF2BnvojiyfKgPVgT3WnWkCvU0uu4w3Djvshj E6lTKxKu/pBHzvQhNpVBKYa7g9L59QVjaysebGS75Rn4xsD84hyyghNBJvkyus4t4B gPXGGf4Tq5ZUg== Original-Received: from alfajor (69-165-136-52.dsl.teksavvy.com [69.165.136.52]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 558971206AE; Sun, 22 Nov 2020 14:48:15 -0500 (EST) In-Reply-To: <83v9dxw9dr.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 22 Nov 2020 20:10:08 +0200") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:259643 Archived-At: >> + DEFVAR_LISP ("gc-estimated-time", Vgc_estimated_time, >> + doc: /* An estimate of the time required for the next garbage collection. > I guess "Estimated time before next garbage collection" is somewhat > clearer, since "required" in this context might be confusing? Actually, I think it's more correct to say that it's the average time of previous GCs (which our code then uses as an estimate of the time that will be required by the next GC). Stefan