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 1ugHVT-000hcD-UF for pgsql-hackers@arkaria.postgresql.org; Mon, 28 Jul 2025 06:38:44 +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 1ugHVS-00573d-0Q for pgsql-hackers@arkaria.postgresql.org; Mon, 28 Jul 2025 06:38:42 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1ugHVR-00573V-Dh for pgsql-hackers@lists.postgresql.org; Mon, 28 Jul 2025 06:38:41 +0000 Received: from fhigh-a8-smtp.messagingengine.com ([103.168.172.159]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1ugHVM-001FYG-21 for pgsql-hackers@postgresql.org; Mon, 28 Jul 2025 06:38:41 +0000 Received: from phl-compute-10.internal (phl-compute-10.phl.internal [10.202.2.50]) by mailfhigh.phl.internal (Postfix) with ESMTP id EFA7514001A2; Mon, 28 Jul 2025 02:38:35 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-10.internal (MEProxy); Mon, 28 Jul 2025 02:38:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm3; t=1753684715; x=1753771115; bh=INIuDaxXIx 0vgQXAcld9jBeFv/5gIn493rscFO1uhjM=; b=nByjqPZ9iIft7k39mZkI+oFcvo 9/eKKFt0u4N3qOwZ4LbvSQOdu3QLEqKTvUbgirvjIQArAwHkm68qfVH0CfEu4sxd wHGVI3gs8LhqfPtYEe4JTr2bcds7JaNoLLHqyNcFSmV+GfrBht6o2v+u4d9wwxdA Sl2r3jBul05Y3IAcJH9a42OoGVwHYdfbyIy31AcJfZzdOmN+3rDRN6Pzfmwh2hDW zKGat2gNDhXvFPCPMKnsquuetpe2shXczNqIadZrp4ETJ3GTn6XB4/sr2NLcasGp VsscPRtqtE0AUUzfeFRCykZjXA2hMPes8LOmlgerIO8cEEe0JotyauLmBdkg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1753684715; x=1753771115; bh=INIuDaxXIx0vgQXAcld9jBeFv/5gIn493rs cFO1uhjM=; b=KqmUBwOcDN61qC5hECca8NmgI+DVgyctUFBvHLAA3yvwKUWvoNZ UdRJrhjCzSZmWGQ2AMv3feWxkohhvVbTJCbNrzBlS2ylyUW9IJgODa2kwKDf/aS5 BUHNQPt/K5KKHj0DUq73e9IqDCi8sPxX4fq4VGFm7kkKEb33JzMccQEN2pXw6uqa cUpp0OExxwuWOKcly9MU34l87vduVNVPUf8c3LV39cQJ3GC+8quu3FUgRF0nvNsT X4H8KGzAPpNFI5MD5bP+f52/LQgrXNF3GlJeUTzK6tf4RpmOvQRZSqUW0hYEzn0K pM2orc8Fch/jxsmWp7T8gYEYOvSUA+FAKlw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdeludegjecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfghrlh cuvffnffculdejtddmnecujfgurhepfffhvfevuffkfhggtggujgesghdtreertddtvden ucfhrhhomhepofhitghhrggvlhcurfgrqhhuihgvrhcuoehmihgthhgrvghlsehprghquh hivghrrdighiiiqeenucggtffrrghtthgvrhhnpeetleeifedufffhhfdtteelgeeggeff hfekueevteeigfduudevudetgfegiedvjeenucevlhhushhtvghrufhiiigvpedtnecurf grrhgrmhepmhgrihhlfhhrohhmpehmihgthhgrvghlsehprghquhhivghrrdighiiipdhn sggprhgtphhtthhopeelpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehluhhkrg hssehfihhtthhlrdgtohhmpdhrtghpthhtoheprghnughrvghssegrnhgrrhgriigvlhdr uggvpdhrtghpthhtohepphhgshhqlhdqhhgrtghkvghrshesphhoshhtghhrvghsqhhlrd horhhgpdhrtghpthhtohepghgvihgurghvrdhpghesghhmrghilhdrtghomhdprhgtphht thhopehprghvvghlrdhsthgvhhhulhgvsehgmhgrihhlrdgtohhmpdhrtghpthhtohepvh highhnvghshhdvudesghhmrghilhdrtghomhdprhgtphhtthhopehisghrrghrrdgrhhhm rggusehgmhgrihhlrdgtohhmpdhrtghpthhtohepmhdrshgrkhhrvghjuggrsehgmhgrih hlrdgtohhmpdhrtghpthhtohepthhomhgrshesvhhonhgurhgrrdhmvg X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 28 Jul 2025 02:38:32 -0400 (EDT) Date: Mon, 28 Jul 2025 15:38:20 +0900 From: Michael Paquier To: Lukas Fittl Cc: Andres Freund , pgsql-hackers , David Geier , Pavel Stehule , vignesh C , Ibrar Ahmed , Maciek Sakrejda , Tomas Vondra Subject: Re: Reduce timing overhead of EXPLAIN ANALYZE using rdtsc? Message-ID: References: <20230123174158.rhmrbmjp6ycak64r@awork3.anarazel.de> <20230207181218.47irz3of34qsww5l@awork3.anarazel.de> <989acbcf-e950-7911-c2e2-fe7aa7d15108@gmail.com> <198ef658-a5b7-9862-2017-faf85d59e3a8@gmail.com> <20240601185200.riqzbabh5azna2fr@alap3.anarazel.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="9Tb25qXxf7rd6Kcd" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --9Tb25qXxf7rd6Kcd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jul 27, 2025 at 12:50:54PM -0700, Lukas Fittl wrote: > 0001 - Improve the __cpuidex check added for a different purpose > in 792752af4eb5 to: >=20 > - Fix a typo (configure was incorrectly checking for "__get_cpuidex", vs > meson.build was doing it correctly) It seems to me that this is an independent issue that had better be backpatched down to where this configure check has been introduced, no? > - Adds support for non-MSVC compilers as well (e.g. GCC 11+), where > __cpuidex is defined in cpuid.h, not intrin.h This one should be a HEAD-only change. -- Michael --9Tb25qXxf7rd6Kcd Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmiHGtwACgkQnvQgOdby QH3ayg/+IeiP+DQvruTVmsUrJOQjkSQukCs0KtG2nXfuTc/3byIxEY72Ec3KECmQ zzHP41FiiCoQlc5Gp8a2bz47+rEGMFnynUboJat7jPX+iHyqCEPWnH0JtEIHxgbv HhV/FKG7wm7qKkTMwxa/TL0X++UiCXOaH0M82E7rDu0L/zexyKE46OHEfepx65tI 2Y8HFfXDwzx7X37/SBpcc+ZBrDptqL9h6Mse5X/KfDi0CyfH7fVEtwm7EadtXfH/ xSanNIS9JbnpBKbUVP14UFEguaXiXlLflqja3/OZ5ATPdDaUTeV7HhVL0aHVXeKc UHiHjALQX7jXG9rB83AK/ksyWCygZ3H+ioVYFxeKypUXSdjamNU1PfQHGcCZqcBG lcBW3odQUwX7DmcqMu0WaAU+VAcoNh2k5rxPcR+wH0IWObSAkcOMb0c99Ydwt7c8 GGtTZ4WSj/H0kWvg5RFzGp46oHWnarjEYYpSOC7c7GDvZ0i5zxoKHxIwvnhiogNV nWTJdWIxqrW71wwjd1H14ZPU4/AuQyEH63DADK8LFApnt/AMhqLEZIPqwdNgvTts 7qLsEcqBK/3Oqr987IE/c8sCCHet9KFPTrZPc/gJnta+nWyoUsmTJujmXRXb3gWx Yh3smpHYxaGmM9PVMi5eZmXW65v9lU8cWYAo81qjsVIB6hgf4Wo= =8Z/r -----END PGP SIGNATURE----- --9Tb25qXxf7rd6Kcd--