From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#55163: 29.0.50; master 4a1f69ebca (TICKS . HZ) for current-time broke lsp-mode Date: Tue, 03 May 2022 05:32:39 +0300 Message-ID: <83sfpr4a7s.fsf@gnu.org> References: <87sfpxxyvb.fsf@3-191.divsi.unimi.it> <87zgk5jtm6.fsf@gnus.org> <87o80kj2q1.fsf@gnus.org> <878rroi5a8.fsf@gnus.org> <83y1zo9n3o.fsf@gnu.org> <87y1zof944.fsf@gnus.org> <83wnf89mcj.fsf@gnu.org> <0a39a220-6298-8ed4-87bd-414702cd9b57@cs.ucla.edu> <83ee1facp0.fsf@gnu.org> <87tuab543p.fsf@gnus.org> <83pmky99hm.fsf@gnu.org> <56e6d32c-7583-dbd9-85ee-e43d32a6feb1@cs.ucla.edu> <83mtg17qxs.fsf@gnu.org> <3bcf4527-426a-b3ae-317a-a9a0e521fc6a@cs.ucla.edu> <83pmkx5kfn.fsf@gnu.org> <83ilqp5hlv.fsf@gnu.org> <83wnf34y19.fsf@gnu.org> <03ad7708-7e43-245a-1198-ce35e335e84f@cs.ucla.edu> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39833"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, v.pupillo@gmail.com, 55163@debbugs.gnu.org To: Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue May 03 04:33:10 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1nliLe-000AC9-JO for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 03 May 2022 04:33:10 +0200 Original-Received: from localhost ([::1]:34116 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nliLd-0001G9-IM for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 02 May 2022 22:33:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46974) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nliLW-0001Fj-8p for bug-gnu-emacs@gnu.org; Mon, 02 May 2022 22:33:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44464) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nliLW-00084m-0O for bug-gnu-emacs@gnu.org; Mon, 02 May 2022 22:33:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nliLV-0007uM-S6 for bug-gnu-emacs@gnu.org; Mon, 02 May 2022 22:33:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 03 May 2022 02:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55163 X-GNU-PR-Package: emacs Original-Received: via spool by 55163-submit@debbugs.gnu.org id=B55163.165154516230373 (code B ref 55163); Tue, 03 May 2022 02:33:01 +0000 Original-Received: (at 55163) by debbugs.gnu.org; 3 May 2022 02:32:42 +0000 Original-Received: from localhost ([127.0.0.1]:38361 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nliLC-0007to-6n for submit@debbugs.gnu.org; Mon, 02 May 2022 22:32:42 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:53580) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nliL6-0007tY-Rj for 55163@debbugs.gnu.org; Mon, 02 May 2022 22:32:41 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:46244) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nliL0-00082Q-Bv; Mon, 02 May 2022 22:32:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=3v5hmdWI0/YDVDCVhX9WhP1pKy/AJhg0tnBAt01JxjI=; b=fcoi/QBJfTay bNRIW5wTH0+04De9bHOaxfLo7sgT32niy+zB+V9qv271g7YhpMM4CMh0qYQ7os5KMAaD1DTImzhK6 qPNG6c4K/bB4mkdnyOULBrcD8uqpMslFPWjQh9EAmoiEtk9Vthx/FDXS+USWNHgsnQKTLbmACvPwj r+t4ZecUNarRKNgn9FcvICM55XIbddzSWMPXKlbS+2xkOysLBKxT7qTpwXGn1V9pUr1ay99qpfuzY 26B/dmN0/g2IaDkixu6PfaV3wuTKq/Qrk/FEiQlQf2GYQwwIKqLsW+ON1hph8ThFQnBalUfcBOy9h 4IOGxZtWn1ItUQAfecpScg==; Original-Received: from [87.69.77.57] (port=4874 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nliKz-0006t8-HS; Mon, 02 May 2022 22:32:30 -0400 In-Reply-To: <03ad7708-7e43-245a-1198-ce35e335e84f@cs.ucla.edu> (message from Paul Eggert on Mon, 2 May 2022 16:17:38 -0700) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:231293 Archived-At: > Date: Mon, 2 May 2022 16:17:38 -0700 > Cc: 55163@debbugs.gnu.org, v.pupillo@gmail.com, larsi@gnus.org > From: Paul Eggert > > >>> What we have established is that Emacs apps need to be able to measure > >>> time intervals, not that they need a monotonic clock. Functions for > >>> measuring time intervals can be built on functions that return > >>> monotonic clock time, but they can also be built on other bases that > >>> have very little with actual time stamps. > >> What other bases would these be? Monotonic clocks are relatively > >> portable; other methods that come to mind are not. > > As long as such a method exists on a platform, that platform can make > > do without high-resolution wallclock time. > > Sorry, I'm still lost. What methods would these be? For example, measuring time intervals by looking at CPU counters. > Are they methods that one can already use in portable Elisp code? No, because we were talking about APIs that are not yet available in Emacs.