Improve pg_test_timing to measure in nanoseconds

Edit
Title Improve pg_test_timing to measure in nanoseconds
Topic Testing
Created 2024-06-21 19:18:29
Last modified 2024-07-02 20:50:39 (1 week, 6 days ago)
Latest email 2024-07-03 11:47:26 (1 week, 5 days ago)
Status
2024-07: Waiting on Author
Target version
Authors Hannu Krosing (hannukrosing)
Reviewers Tom Lane (tgl)Become reviewer
Committer
Links
Emails
What is a typical precision of gettimeofday()?
First at 2024-03-19 08:28:37 by Peter Eisentraut <peter at eisentraut.org>
Latest at 2024-07-03 11:47:26 by Aleksander Alekseev <aleksander at timescale.com>
Latest attachment (pg_test_ticking.c) at 2024-07-02 17:31:21 from Hannu Krosing <hannuk at google.com>
    Attachment (pg_test_ticking.c) at 2024-07-02 17:31:21 from Hannu Krosing <hannuk at google.com> (Patch: No)
    Attachment (pg_test_timing.results.txt) at 2024-07-02 17:20:14 from Tom Lane <tgl at sss.pgh.pa.us> (Patch: No)
    Attachment (v2-pg_test_timing-nanoseconds.patch) at 2024-07-02 16:55:53 from Tom Lane <tgl at sss.pgh.pa.us> (Patch: Yes)
    Attachment (pg_test_cyclecounter.c) at 2024-06-20 10:54:55 from Hannu Krosing <hannuk at google.com> (Patch: No)
    Attachment (pg_test_timing.nanoseconds.patch) at 2024-06-20 10:41:54 from Hannu Krosing <hannuk at google.com> (Patch: Yes)
    Attachment (use-gettimeofday-for-instr_time.patch) at 2024-06-19 16:36:34 from Tom Lane <tgl at sss.pgh.pa.us> (Patch: Yes)
History
When Who What
2024-07-02 20:50:39 Tom Lane (tgl) New status: Waiting on Author
2024-06-21 19:18:48 Tom Lane (tgl) Changed reviewers to Tom Lane (tgl)
2024-06-21 19:18:48 Tom Lane (tgl) Changed authors to Hannu Krosing (hannukrosing)
2024-06-21 19:18:29 Tom Lane (tgl) Attached mail thread be0339cc-1ae1-4892-9445-8e6d8995a44d@eisentraut.org
2024-06-21 19:18:29 Tom Lane (tgl) Created patch record
Edit