summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/raw/openbench.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/source4/torture/raw/openbench.c b/source4/torture/raw/openbench.c
index 9867a407ec..a65ef0eff7 100644
--- a/source4/torture/raw/openbench.c
+++ b/source4/torture/raw/openbench.c
@@ -207,11 +207,12 @@ BOOL torture_bench_open(struct torture_context *torture)
goto failed;
}
- if (loops++ % 1000 != 0) continue;
+ if (loops++ % 10 != 0) continue;
if (torture_setting_bool(torture, "progress", true)) {
- printf("%.2f ops/second (%d retries)\r",
- total/timeval_elapsed(&tv), open_retries);
+ printf("%.2f ops/second (%d retries) (%u remaining)\r",
+ total/timeval_elapsed(&tv), open_retries,
+ (unsigned)(timelimit - timeval_elapsed(&tv)));
fflush(stdout);
}
}