diff options
| author | Bruce Momjian | 2013-08-02 04:45:19 +0000 |
|---|---|---|
| committer | Bruce Momjian | 2013-08-02 04:45:19 +0000 |
| commit | 43f6388931fa71d7c2885fa54804c7cdff7d9f62 (patch) | |
| tree | 0699cd2866fad8f2860f83ce1a50c3ddbeb5693e /contrib | |
| parent | 8359ed806f3300b79f110f1ac216c58c0732d05c (diff) | |
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.
Diffstat (limited to 'contrib')
| -rw-r--r-- | contrib/pg_test_fsync/pg_test_fsync.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/pg_test_fsync/pg_test_fsync.c b/contrib/pg_test_fsync/pg_test_fsync.c index 78c94859159..669c4190d38 100644 --- a/contrib/pg_test_fsync/pg_test_fsync.c +++ b/contrib/pg_test_fsync/pg_test_fsync.c @@ -24,8 +24,8 @@ #define XLOG_BLCKSZ_K (XLOG_BLCKSZ / 1024) #define LABEL_FORMAT " %-32s" -#define NA_FORMAT "%18s" -#define OPS_FORMAT "%9.3f ops/sec %6.0f usecs/op" +#define NA_FORMAT "%20s" +#define OPS_FORMAT "%11.3f ops/sec %6.0f usecs/op" #define USECS_SEC 1000000 /* These are macros to avoid timing the function call overhead. */ |
