Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1t7F6t-000qVf-I1 for pgsql-hackers@arkaria.postgresql.org; Sat, 02 Nov 2024 14:28:15 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1t7F5s-006MyJ-4v for pgsql-hackers@arkaria.postgresql.org; Sat, 02 Nov 2024 14:27:12 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1t7F5r-006Mwo-R7 for pgsql-hackers@lists.postgresql.org; Sat, 02 Nov 2024 14:27:12 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1t7F5p-0048KR-Ll for pgsql-hackers@postgresql.org; Sat, 02 Nov 2024 14:27:10 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 4A2ER5vs2069997; Sat, 2 Nov 2024 10:27:06 -0400 From: Tom Lane To: "Andrey M. Borodin" cc: Hannu Krosing , Peter Eisentraut , pgsql-hackers Subject: Re: What is a typical precision of gettimeofday()? In-reply-to: <122E6623-E3B3-4945-9DF2-ADF86F7C63A7@yandex-team.ru> References: <47AEACEE-E5CC-40E4-8611-01F3A465AF16@yandex-team.ru> <9e7b21e7-4c63-4299-87f4-780a0699a7d8@eisentraut.org> <130996.1718814994@sss.pgh.pa.us> <647660.1719003075@sss.pgh.pa.us> <3110108.1719939353@sss.pgh.pa.us> <122E6623-E3B3-4945-9DF2-ADF86F7C63A7@yandex-team.ru> Comments: In-reply-to "Andrey M. Borodin" message dated "Sat, 02 Nov 2024 12:37:26 +0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2069995.1730557625.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Sat, 02 Nov 2024 10:27:05 -0400 Message-ID: <2069996.1730557625@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk "Andrey M. Borodin" writes: > This thread has associated CF entry which is marked as RwF [0]. But the = change proved to be useful [1] in understanding what we can expect from ti= me source. > It was requested many times before [2,3]. Reading through this thread it= seems to me that my questions about application of the pg_test_timing som= ehow switched focus from this patch. However, I'd appreciate if it was app= lied. Nanoseconds seem important to me. > Let me know if I can help in any way. Thanks! Basically, I think the code is ready, but I was awaiting Hannu's proposal on rewriting the documentation for pg_test_timing. Do you want to have a go at that? regards, tom lane