Re: Reduce timing overhead of EXPLAIN ANALYZE using rdtsc? - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Reduce timing overhead of EXPLAIN ANALYZE using rdtsc?
Date
Msg-id aIca3DzuZt0Ac8SO@paquier.xyz
Whole thread Raw
In response to Re: Reduce timing overhead of EXPLAIN ANALYZE using rdtsc?  (Lukas Fittl <lukas@fittl.com>)
Responses Re: Reduce timing overhead of EXPLAIN ANALYZE using rdtsc?
List pgsql-hackers
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:
>
> - 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

Attachment

pgsql-hackers by date:

Previous
From: Stepan Neretin
Date:
Subject: Re: [PATCH] avoid double scanning in function byteain
Next
From: "David G. Johnston"
Date:
Subject: Re: [PATCH] avoid double scanning in function byteain