diff options
author | Keith Bostic <keith@wiredtiger.com> | 2013-11-22 10:19:26 -0500 |
---|---|---|
committer | Keith Bostic <keith@wiredtiger.com> | 2013-11-22 10:22:29 -0500 |
commit | d105ebd495360cbba90ebc686b0e4582d962fe15 (patch) | |
tree | 401a4eebc2e7e1c41f3785ce9754a4f1f3c3bdab /bench/wtperf/wtperf.h | |
parent | cdfb93c3fee35c73332db3d02512492cc0d2aca7 (diff) | |
download | mongo-d105ebd495360cbba90ebc686b0e4582d962fe15.tar.gz |
Add support for running a specific number of workload operations instead
of running for a specific period of time, based on new configuration
string run_ops. API change is that both run_time and run_ops default to
0, and one must be specified.
Convert sample output to ops/second, not ops/sample-interval.
Increase the size of the png window.
A couple of minor bug fixes to avoid possible thread races.
Diffstat (limited to 'bench/wtperf/wtperf.h')
-rw-r--r-- | bench/wtperf/wtperf.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bench/wtperf/wtperf.h b/bench/wtperf/wtperf.h index c852bc2de5f..ed1955d750c 100644 --- a/bench/wtperf/wtperf.h +++ b/bench/wtperf/wtperf.h @@ -94,9 +94,10 @@ void config_free(CONFIG *); int config_opt_file(CONFIG *, WT_SESSION *, const char *); int config_opt_line(CONFIG *, WT_SESSION *, const char *); int config_opt_str(CONFIG *, WT_SESSION *, const char *, const char *); +void config_print(CONFIG *); +int config_sanity(CONFIG *); int enomem(const CONFIG *); void lprintf(const CONFIG *, int err, uint32_t, const char *, ...) WT_GCC_ATTRIBUTE((format (printf, 4, 5))); -void print_config(CONFIG *); int setup_log_file(CONFIG *); void usage(void); |