summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/bench/workgen/workgen.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/wiredtiger/bench/workgen/workgen.h')
-rw-r--r--src/third_party/wiredtiger/bench/workgen/workgen.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/third_party/wiredtiger/bench/workgen/workgen.h b/src/third_party/wiredtiger/bench/workgen/workgen.h
index cc93409b388..ec825e0a193 100644
--- a/src/third_party/wiredtiger/bench/workgen/workgen.h
+++ b/src/third_party/wiredtiger/bench/workgen/workgen.h
@@ -86,6 +86,7 @@ struct Track {
uint64_t ops_in_progress; // Total operations not completed */
uint64_t ops; // Total operations completed */
+ uint64_t rollbacks; // Total operations rolled back */
uint64_t latency_ops; // Total ops sampled for latency
uint64_t latency; // Total latency */
uint64_t bucket_ops; // Computed for percentile_latency
@@ -282,8 +283,8 @@ struct Value {
struct Operation {
enum OpType {
- OP_CHECKPOINT, OP_INSERT, OP_NONE, OP_NOOP, OP_REMOVE, OP_SEARCH,
- OP_SLEEP, OP_UPDATE };
+ OP_CHECKPOINT, OP_INSERT, OP_LOG_FLUSH, OP_NONE, OP_NOOP,
+ OP_REMOVE, OP_SEARCH, OP_SLEEP, OP_UPDATE };
OpType _optype;
OperationInternal *_internal;
@@ -401,7 +402,7 @@ struct WorkloadOptions {
std::string report_file;
int report_interval;
int run_time;
- int sample_interval;
+ int sample_interval_ms;
int sample_rate;
std::string sample_file;
int warmup;