summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/test/cursor_order/cursor_order_ops.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/wiredtiger/test/cursor_order/cursor_order_ops.c')
-rw-r--r--src/third_party/wiredtiger/test/cursor_order/cursor_order_ops.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/third_party/wiredtiger/test/cursor_order/cursor_order_ops.c b/src/third_party/wiredtiger/test/cursor_order/cursor_order_ops.c
index a2185dd123f..58da49b2991 100644
--- a/src/third_party/wiredtiger/test/cursor_order/cursor_order_ops.c
+++ b/src/third_party/wiredtiger/test/cursor_order/cursor_order_ops.c
@@ -130,7 +130,8 @@ ops_start(SHARED_CONFIG *cfg)
seconds = (stop.tv_sec - start.tv_sec) +
(stop.tv_usec - start.tv_usec) * 1e-6;
fprintf(stderr, "timer: %.2lf seconds (%d ops/second)\n",
- seconds, (int)(((cfg->reverse_scanners + cfg->append_inserters) *
+ seconds, (int)
+ (((double)(cfg->reverse_scanners + cfg->append_inserters) *
total_nops) / seconds));
/* Verify the files. */