summaryrefslogtreecommitdiff
path: root/bench/wtperf/track.c
diff options
context:
space:
mode:
authorDavid Hows <howsdav@gmail.com>2015-07-09 13:05:05 +1000
committerDavid Hows <howsdav@gmail.com>2015-07-09 13:28:06 +1000
commit0c04aebad79d189ce278d1e61a655bd6f4e78958 (patch)
treec1b73d6aeb65b9b19faf039f9927343ccc6fa8ce /bench/wtperf/track.c
parent87999a05f9a41af0c4b5212355d7a6864ccc7b33 (diff)
downloadmongo-0c04aebad79d189ce278d1e61a655bd6f4e78958.tar.gz
Fix reporting, remove debugging
Diffstat (limited to 'bench/wtperf/track.c')
-rw-r--r--bench/wtperf/track.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/bench/wtperf/track.c b/bench/wtperf/track.c
index 8ea4201246a..75f5a012a94 100644
--- a/bench/wtperf/track.c
+++ b/bench/wtperf/track.c
@@ -98,6 +98,11 @@ sum_read_ops(CONFIG *cfg)
return (sum_ops(cfg, offsetof(CONFIG_THREAD, read)));
}
uint64_t
+sum_truncate_ops(CONFIG *cfg)
+{
+ return (sum_ops(cfg, offsetof(CONFIG_THREAD, truncate)));
+}
+uint64_t
sum_update_ops(CONFIG *cfg)
{
return (sum_ops(cfg, offsetof(CONFIG_THREAD, update)));