pg_test_fsync: expand ops/sec display
Expand ops/sec by two digits to maintain alignment on servers with fast I/O subsystems, e.g. can now display < 10M ops/sec with consistent alignment.
This commit is contained in:
parent
8359ed806f
commit
43f6388931
@ -24,8 +24,8 @@
|
|||||||
#define XLOG_BLCKSZ_K (XLOG_BLCKSZ / 1024)
|
#define XLOG_BLCKSZ_K (XLOG_BLCKSZ / 1024)
|
||||||
|
|
||||||
#define LABEL_FORMAT " %-32s"
|
#define LABEL_FORMAT " %-32s"
|
||||||
#define NA_FORMAT "%18s"
|
#define NA_FORMAT "%20s"
|
||||||
#define OPS_FORMAT "%9.3f ops/sec %6.0f usecs/op"
|
#define OPS_FORMAT "%11.3f ops/sec %6.0f usecs/op"
|
||||||
#define USECS_SEC 1000000
|
#define USECS_SEC 1000000
|
||||||
|
|
||||||
/* These are macros to avoid timing the function call overhead. */
|
/* These are macros to avoid timing the function call overhead. */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user