agora inbox for pgsql-committers@postgresql.org  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: pg_test_timing: Also test RDTSC[P] timing, report time source, T
Date: Tue, 07 Apr 2026 21:18:47 +0000
Message-ID: <E1wADos-003SEi-1o@gemulon.postgresql.org> (raw)

pg_test_timing: Also test RDTSC[P] timing, report time source, TSC frequency

This adds support to pg_test_timing for the different timing sources added by
294520c4448.

Author: Lukas Fittl <lukas@fittl.com>
Author: David Geier <geidav.pg@gmail.com>
Reviewed-by: Andres Freund <andres@anarazel.de>
Reviewed-by: David Geier <geidav.pg@gmail.com>
Reviewed-by: Zsolt Parragi <zsolt.parragi@percona.com>
Reviewed-by: Álvaro Herrera <alvherre@kurilemu.de> (in an earlier version)
Discussion: https://www.postgresql.org/message-id/flat/20200612232810.f46nbqkdhbutzqdg%40alap3.anarazel.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/16fca482548382c8d6255319b1c6e5de4afff7f1

Modified Files
--------------
doc/src/sgml/config.sgml                |   6 ++
doc/src/sgml/ref/pgtesttiming.sgml      | 153 ++++++++++++++++++++++++++------
src/bin/pg_test_timing/pg_test_timing.c | 105 ++++++++++++++++++++--
src/include/portability/instr_time.h    |   7 ++
4 files changed, 233 insertions(+), 38 deletions(-)



Message-ID: <E1wADos-003SEi-1o@gemulon.postgresql.org>
Permalink:  ../E1wADos-003SEi-1o@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1wADos-003SEi-1o@gemulon.postgresql.org

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: andres@anarazel.de, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: pg_test_timing: Also test RDTSC[P] timing, report time source, T
  In-Reply-To: <E1wADos-003SEi-1o@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox