summaryrefslogtreecommitdiff
path: root/bench/wtperf/wtperf.h
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2014-10-20 16:08:18 -0400
committerKeith Bostic <keith@wiredtiger.com>2014-10-20 16:08:18 -0400
commitabd03e9118fff8c76cc966ec2f1763a5e25f454d (patch)
tree81d9958d542fac2f478d3ca2c045b2a721df1d47 /bench/wtperf/wtperf.h
parent1589126e771d1c12354245733cdcbc090c1f685f (diff)
downloadmongo-abd03e9118fff8c76cc966ec2f1763a5e25f454d.tar.gz
wtperf uses WiredTiger internal include files, so WT_TIMEDIFF can come
from os.h.
Diffstat (limited to 'bench/wtperf/wtperf.h')
-rw-r--r--bench/wtperf/wtperf.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/bench/wtperf/wtperf.h b/bench/wtperf/wtperf.h
index f0d1081c68b..dfd11b24955 100644
--- a/bench/wtperf/wtperf.h
+++ b/bench/wtperf/wtperf.h
@@ -148,11 +148,6 @@ struct __config { /* Configuration struction */
#define THROTTLE_OPS 100
-/* From include/os.h */
-#define WT_TIMEDIFF(end, begin) \
- (1000000000 * (uint64_t)((end).tv_sec - (begin).tv_sec) + \
- (uint64_t)(end).tv_nsec - (uint64_t)(begin).tv_nsec)
-
#define THOUSAND (1000ULL)
#define MILLION (1000000ULL)
#define BILLION (1000000000ULL)