mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
pgbench: Improve time logic.
Instead of instr_time (struct timespec) and the INSTR_XXX macros, introduce pg_time_usec_t and use integer arithmetic. Don't include the connection time in TPS unless using -C mode, but report it separately. Author: Fabien COELHO <coelho@cri.ensmp.fr> Reviewed-by: Kyotaro Horiguchi <horikyota.ntt@gmail.com> Reviewed-by: Hayato Kuroda <kuroda.hayato@fujitsu.com> Discussion: https://postgr.es/m/20200227180100.zyvjwzcpiokfsqm2%40alap3.anarazel.de
This commit is contained in:
@ -3225,6 +3225,7 @@ pg_sha512_ctx
|
||||
pg_snapshot
|
||||
pg_stack_base_t
|
||||
pg_time_t
|
||||
pg_time_usec_t
|
||||
pg_tz
|
||||
pg_tz_cache
|
||||
pg_tzenum
|
||||
|
Reference in New Issue
Block a user