High resolution psql \timing on Windows

From: ITAGAKI Takahiro <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp>
To: pgsql-patches(at)postgresql(dot)org
Subject: High resolution psql \timing on Windows
Date: 2007-04-12 00:32:09
Message-ID: 20070412091813.65D1.ITAGAKI.TAKAHIRO@oss.ntt.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

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 Content-Type Size
psql_timing_on_windows.patch application/octet-stream 1.0 KB

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Koichi Suzuki 2007-04-12 01:40:04 Re: [HACKERS] Full page writes improvement, code update
Previous Message Alvaro Herrera 2007-04-11 23:49:37 Re: autovacuum multiworkers, patch 5