summaryrefslogtreecommitdiff
path: root/bench/wtperf/wtperf.h
diff options
context:
space:
mode:
authorSusan LoVerso <sue@mongodb.com>2016-03-01 16:54:31 -0500
committerSusan LoVerso <sue@mongodb.com>2016-03-01 16:54:31 -0500
commit5a47fd78102f26ff85ba353154617772acd8036b (patch)
treeeb621d0cb5cedeab9ddc5cd3aa4676a45f76e492 /bench/wtperf/wtperf.h
parent8a0ffcb3e4e59ee3822df6e559f24ea719e3bca1 (diff)
downloadmongo-5a47fd78102f26ff85ba353154617772acd8036b.tar.gz
WT-2366 Add shrink changes.
Diffstat (limited to 'bench/wtperf/wtperf.h')
-rw-r--r--bench/wtperf/wtperf.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/bench/wtperf/wtperf.h b/bench/wtperf/wtperf.h
index 6107eaf721d..c591499b907 100644
--- a/bench/wtperf/wtperf.h
+++ b/bench/wtperf/wtperf.h
@@ -191,7 +191,10 @@ struct __config { /* Configuration structure */
volatile uint32_t totalsec; /* total seconds running */
- u_int has_truncate; /* if there is a truncate workload */
+#define CFG_GROW 0x0001 /* There is a grow workload */
+#define CFG_SHRINK 0x0002 /* There is a shrink workload */
+#define CFG_TRUNCATE 0x0004 /* There is a truncate workload */
+ uint32_t flags; /* flags */
/* Queue head for use with the Truncate Logic */
TAILQ_HEAD(__truncate_qh, __truncate_queue_entry) stone_head;