Thread: High resolution psql \timing on Windows

High resolution psql \timing on Windows

From
ITAGAKI Takahiro
Date:
This patch replace _ftime() by QueryPerformanceCounter() to measure durations
in psql \timing on Windows. It had only 15ms~ of time resolusion. I brought
the codes from src/include/executor/instrument.h .

Regards,
---
ITAGAKI Takahiro
NTT Open Source Software Center

Attachment

Re: High resolution psql \timing on Windows

From
Magnus Hagander
Date:
ITAGAKI Takahiro wrote:
> This patch replace _ftime() by QueryPerformanceCounter() to measure durations
> in psql \timing on Windows. It had only 15ms~ of time resolusion. I brought
> the codes from src/include/executor/instrument.h .

Applied, thanks.

//Magnus