Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit43f6388

Browse files
committed
pg_test_fsync: expand ops/sec display
Expand ops/sec by two digits to maintain alignment on servers with fastI/O subsystems, e.g. can now display < 10M ops/sec with consistentalignment.
1 parent8359ed8 commit43f6388

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎contrib/pg_test_fsync/pg_test_fsync.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
#defineXLOG_BLCKSZ_K(XLOG_BLCKSZ / 1024)
2525

2626
#defineLABEL_FORMAT" %-32s"
27-
#defineNA_FORMAT"%18s"
28-
#defineOPS_FORMAT"%9.3f ops/sec %6.0f usecs/op"
27+
#defineNA_FORMAT"%20s"
28+
#defineOPS_FORMAT"%11.3f ops/sec %6.0f usecs/op"
2929
#defineUSECS_SEC1000000
3030

3131
/* These are macros to avoid timing the function call overhead. */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp