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

From David Geier
Subject Re: Reduce timing overhead of EXPLAIN ANALYZE using rdtsc?
Date
Msg-id 94366544-c28a-4895-a2a8-19dc58671623@gmail.com
Whole thread Raw
In response to Re: Reduce timing overhead of EXPLAIN ANALYZE using rdtsc?  (Lukas Fittl <lukas@fittl.com>)
List pgsql-hackers
Hi Lukas!

Thanks for pushing this forward.

On 22.03.2026 19:13, Lukas Fittl wrote:

> TSC calibration improvements:
> - Pass TSC frequency to child processes for EXEC_BACKEND, this makes
> TSC calibration usable on Windows, per off-list suggestion from Andres
> - To support the EXEC_BACKEND change, refactor tsc_frequency_khz to
> have a sentinel value of -1 indicating the TSC was not initialized, vs
> 0 indicating it was initialized but isn't usable, and drop
> has_usable_tsc variable

Have you tested the latest patch set on Windows? Let me know if you want
me to do that.

--
David Geier



pgsql-hackers by date:

Previous
From: Chao Li
Date:
Subject: Re: tablecmds: fix bug where index rebuild loses replica identity on partitions
Next
From: Anthonin Bonnefoy
Date:
Subject: Re: Propagate XLogFindNextRecord error to callers